Package: guacd Version: 0.6.0-1 Severity: normal Steps to reproduce: 1) /etc/init.d/guacd start
Expected results: 1) guacd prints a short status message and then daemonizes itself to the background Actual results: 1) guacd only partially daemonizes itself. My terminal is constantly spammed with output like guacd[10268]: INFO: Protocol "vnc" selected guacd[10268]: INFO: Starting client This happens since stdin/stdout/stderr still points to my terminal: # ls -l /proc/$(pidof guacd)/fd total 0 lrwx------ 1 root root 64 Aug 22 15:32 0 -> /dev/pts/0 lrwx------ 1 root root 64 Aug 22 15:32 1 -> /dev/pts/0 lrwx------ 1 root root 64 Aug 22 15:32 2 -> /dev/pts/0 lrwx------ 1 root root 64 Aug 22 15:32 3 -> socket:[15608] lrwx------ 1 root root 64 Aug 22 15:32 4 -> socket:[15609] More info: 1) From the source code I see that guacd only does one fork() call. This is not sufficient. You might want to check http://www.steve.org.uk/Reference/Unix/faq_2.html#SEC16 or the "Advanced Programming in the UNIX Environment" book by W. Richard Stevens. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-3-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages guacd depends on: ii libc6 2.13-35 ii libguac3 0.6.0-1 ii lsb-base 4.1+Debian7 guacd recommends no packages. guacd suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org