After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 134668 - mapping-daemon blocks unmounting $HOME
mapping-daemon blocks unmounting $HOME
Status: RESOLVED FIXED
Product: nautilus-cd-burner
Classification: Deprecated
Component: burn vfs-method
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nautilus CD Burner Maintainers
Nautilus CD Burner Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-02-17 19:46 UTC by W. Michael Petullo
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description W. Michael Petullo 2004-02-17 19:46:06 UTC
The mapping-daemon process remains running for some time after a
user logs out.  Because mapping-daemon runs with $HOME as its
CWD, its existence will block the unmounting of $HOME.

This presents a major problem with automatically mounted/unmounted home
directories.

Gconfd-2 had a similar problem.  Gnome-session now runs gconftool-2
--shutdown to fix this when a user logs out (see bug #97361).  A similar
technique could be used with mapping-daemon or I think
mapping-daemon could simply change its CWD to be outside $HOME.
Comment 1 Alexander Larsson 2004-02-19 11:51:43 UTC
Hmmm, changing cwd to e.g. / means that core dumps won't work, but i
guess thats not so important for people in general.
fixed in head
Comment 2 Daniel Kahn Gillmor 2004-11-01 21:27:00 UTC
the way a similar bug was resolved for bonobo-application-server was to not
change cwd if a special environment variable is set (see bug #134668), which
still allows for getting core dumps if you are doing development.  dunno if you
want to standardize on that sort of arrangement or not, but you might want to
consider it at least.
Comment 3 Bastien Nocera 2004-11-04 22:22:49 UTC
It's already the case for most system daemons, the root can change the core
pattern and users can still get the backtrace through bug-buddy.