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 399500 - Daemon doesn't chdir to /
Daemon doesn't chdir to /
Status: RESOLVED FIXED
Product: esound
Classification: Deprecated
Component: general
0.2.x
Other Linux
: Normal normal
: ---
Assigned To: Esound Maintainers
Esound Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-22 19:06 UTC by Josselin Mouette
Modified: 2007-04-29 00:05 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
one-liner patch from SLED to fix this (220 bytes, patch)
2007-04-28 23:07 UTC, Dan Winship
none Details | Review

Description Josselin Mouette 2007-01-22 19:06:43 UTC
A good practice for daemons is to chdir() to the root directory at the beginning. Currently, we use a patch in gnome-session to do the chdir before spawning it, but it shouldn't be necessary.
Comment 1 Dan Winship 2007-04-28 23:07:08 UTC
Created attachment 87207 [details] [review]
one-liner patch from SLED to fix this
Comment 2 David Schleef 2007-04-29 00:05:49 UTC
Applied, thanks.