Bug#278101: libgnomevfs asumes home is /home/user

Eddy Petrisor Eddy Petrisor <ip428u@camin11c.sexypenguins.com>, 278101@bugs.debian.org
Sun, 24 Oct 2004 23:48:45 +0300


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