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

Mike Mestnik cheako911@yahoo.com, 280353@bugs.debian.org
Mon, 08 Nov 2004 15:26:10 -0600


Package: gconf2
Version: 2.6.4-2
Severity: normal
File: gconfd-2

You should read daemon(1) for tips on what is expected of deamons.  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 stderr
should be opend to "~/.xsession-errors".

Also change directory to the root directory so as not to hamper umounts.
Clear the umask to enable explicit file creation modes.  Close all open file
descriptors.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (980, 'unstable'), (900, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages gconf2 depends on:
ii  libatk1.0-0                 1.6.1-5      The ATK accessibility toolkit
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared libraries an
ii  libgconf2-4                 2.6.4-2      GNOME configuration database syste
ii  libglib2.0-0                2.4.7-1      The GLib library of C routines
ii  libgtk2.0-0                 2.4.13-1     The GTK+ graphical user interface 
ii  liborbit2                   1:2.10.2-1.1 libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0               1.4.1-4      Layout and rendering of internatio
ii  libpopt0                    1.7-5        lib for parsing cmdline parameters
ii  libxml2                     2.6.11-5     GNOME XML library
ii  zlib1g                      1:1.2.2-3    compression library - runtime

-- no debconf information