Bug#280353: gconfd-2: gconfd-2: Fails to detach TTY, one of many steps to become a daemon process.

Sebastien Bacher Sebastien Bacher <seb128@debian.org>, 280353@bugs.debian.org
Tue, 09 Nov 2004 12:23:41 +0100


Le lundi 08 novembre 2004 =E0 15:26 -0600, Mike Mestnik a =E9crit :

> You should read daemon(1) for tips on what is expected of deamons.=20

Hi,

I don't have that installed on my box and I'm running some dameon so I
guess that's not a requirement.


>  The most
> important of these is to background and start a new process session.
> and open std* to something other then a TTY(/dev/null) in this case std=
err
> should be opend to "~/.xsession-errors".

> Clear the umask to enable explicit file creation modes.  Close all=20
> open file descriptors.

Could you provide details on the current situation and what need to be
changed ?=20


> Also change directory to the root directory so as not to hamper umounts=
.

I don't get this point. What's the problem with umount ?


BTW gconfd is an user daemon, does that make a difference ?


Cheers,

Sebastien Bacher