Bug#278101: marked as done (libgnomevfs asumes home is /home/user)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 20 Jan 2005 05:33:16 -0800


Your message dated Thu, 20 Jan 2005 14:22:50 +0100
with message-id <20050120132250.GA32068@spring.luon.net>
and subject line libgnomevfs asumes home is /home/user
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 24 Oct 2004 20:47:59 +0000
>From ip428u@camin11c.sexypenguins.com Sun Oct 24 13:47:59 2004
Return-path: <ip428u@camin11c.sexypenguins.com>
Received: from unresolved.rdstm.ro (camin11c.sexypenguins.com) [82.77.146.149] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CLpHR-0002jP-00; Sun, 24 Oct 2004 13:47:59 -0700
Received: from kandia ([172.16.65.14])
	by camin11c.sexypenguins.com with asmtp 
	(Cipher TLSv1:RC4-MD5:128) (Exim 3.35 #1 (Debian))
	id 1CLpIl-0007Un-00
	for <submit@bugs.debian.org>; Sun, 24 Oct 2004 23:49:19 +0300
Message-ID: <417C152D.1010701@camin11c.sexypenguins.com>
Date: Sun, 24 Oct 2004 23:48:45 +0300
From: Eddy Petrisor <ip428u@camin11c.sexypenguins.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040926)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: submit@bugs.debian.org
Subject: libgnomevfs asumes home is /home/user
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Subject: libgnomevfs: libgnomevfs asumes home is /home/user
Package: libgnomevfs2-common
Version: 2.8.1-1
Severity: normal
File: libgnomevfs

*** Please type your report below this line ***

Hello,

While I was testing a sarge instalation I wanted to report a few bugs 
against d-i and during that attempt I found a bug of libgnomevfs.

I chrooted to my usual root from the newly installed system and I didn't 
mount my /home partition as I didn't want to mess my /home.

I was warned that HOME is set to / and changed (and exported) it to /tmp 
in order to have write access and start X and thunderbird.

The problem is that when starting thunderbird (after I started twm as a 
window manager) I saw that it was trying to save data in 
/home/eddy/.gnome2 and not in /tmp/.gnome2!

I tried to reproduce this by running gedit to see if it is a thunderbird 
related issue.

I am not sure if gnome should be running when trying thunderbird, but I 
guess assuming that home is /home/<user> is not right.


Here is the errors I get when trying to run gedit under twm:
(gedit:5688): libgnomevfs-WARNING **: Unable to create ~/.gnome 
directory: No such file or directory
Could not create per-user gnome configuration directory 
`/home/eddy/.gnome2/': No such file or directory

Also thunderbird errors:
(Gecko:5734): libgnomevfs-WARNING **: Unable to create ~/.gnome 
directory: No such file or directory
Could not create per-user gnome configuration directory 
`/home/eddy/.gnome2/': No such file or directory



-- System Information:
Debian Release: 3.1
   APT prefers testing
   APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-386
Locale: LANG=C, LC_CTYPE=C

Versions of packages libgnomevfs2-common depends on:
ii  gconf2                      2.8.1-1      GNOME configuration 
database syste
ii  gnome-mime-data             2.4.1-2      base MIME and Application 
database
ii  libbonobo2-0                2.8.0-2      Bonobo CORBA interfaces library
ii  libbz2-1.0                  1.0.2-1      A high-quality 
block-sorting file
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared 
libraries an
ii  libfam0c102                 2.7.0-5      client library to control 
the FAM
ii  libgconf2-4                 2.8.1-1      GNOME configuration 
database syste
ii  libgcrypt11                 1.2.0-10     LGPL Crypto library - 
runtime libr
ii  libglib2.0-0                2.4.7-1      The GLib library of C routines
ii  libgnomevfs2-0              2.8.1-1      The GNOME virtual 
file-system libr
ii  libgnutls11                 1.0.16-9     GNU TLS library - runtime 
library
ii  libgpg-error0               1.0-1        library for common error 
values an
ii  liborbit2                   1:2.10.2-1.1 libraries for ORBit2 - a 
CORBA ORB
ii  libpopt0                    1.7-5        lib for parsing cmdline 
parameters
ii  libsmbclient                3.0.7-1      shared library that allows 
applica
ii  libtasn1-2                  0.2.10-4     Manage ASN.1 structures 
(runtime)
ii  libxml2                     2.6.11-3     GNOME XML library
ii  shared-mime-info            0.15-1       FreeDesktop.org shared MIME 
databa
ii  zlib1g                      1:1.2.2-1    compression library - runtime

-- no debconf information

-- 

Regards,
EddyP
======================
"That would require time-travel, a feature not currentable available in 
commercial UNIX systems." - Bruce Barnett

---------------------------------------
Received: (at 278101-done) by bugs.debian.org; 20 Jan 2005 13:23:00 +0000
>From sjoerd@spring.luon.net Thu Jan 20 05:23:00 2005
Return-path: <sjoerd@spring.luon.net>
Received: from simons.xs4all.nl (fire.luon.net) [80.126.201.244] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CrcH6-0000Fc-00; Thu, 20 Jan 2005 05:23:00 -0800
Received: from spring.luon.net (spring-wired.ipv6.luon.net [IPv6:2001:888:1d84:0:20a:95ff:fed1:4834])
	by fire.luon.net (Postfix) with ESMTP id 537D759
	for <278101-done@bugs.debian.org>; Thu, 20 Jan 2005 14:22:55 +0100 (CET)
Received: by spring.luon.net (Postfix, from userid 1000)
	id 32A2537B84; Thu, 20 Jan 2005 14:22:50 +0100 (CET)
Date: Thu, 20 Jan 2005 14:22:50 +0100
To: 278101-done@bugs.debian.org
Subject: libgnomevfs asumes home is /home/user
Message-ID: <20050120132250.GA32068@spring.luon.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Operating-System: Linux spring 2.6.9-spring #1 Wed Dec 8 16:49:28 CET 2004 ppc GNU/Linux
User-Agent: Mutt/1.5.6+20040907i
From: sjoerd@spring.luon.net (Sjoerd Simons)
Delivered-To: 278101-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

gnomevfs uses g_get_home_dir() to get the users homedir. g_get_home_dir in turn
uses getpwuid to determine the homedir and only uses the HOME env. variable as
a last resort..

So the reporter was setting his homedir in the wrong way..

  Sjoerd
-- 
One has to look out for engineers -- they begin with sewing machines
and end up with the atomic bomb.
		-- Marcel Pagnol