Package: cvsd
Severity: normal
The /etc/init.d/cvsd start command does not diplsya error if process
could not be started. The problem is that cvsd does not return failure
code on exit. An exmaple:
$ start-stop-daemon --start --quiet --pidfile /var/run/cvsd.pid --exec
/usr/sbin/cvsd -- -f /etc/cvsd/cvsd.conf && echo $?
0
And /var/log/syslog reads:
Jan 28 14:49:26 bongo cvsd[6399]: version 1.0.4 starting
Jan 28 14:49:26 bongo cvsd[6399]: listening on :: 2401
Jan 28 14:49:26 bongo cvsd[6399]: bind() failed: Address already in use
Jan 28 14:49:26 bongo cvsd[6399]: version 1.0.4 bailing out
No process has been started and the pid file is lying around:
$ ls -la /var/run/cvsd.pid
-rw-r--r-- 1 root root 5 2005-01-28 14:49 /var/run/cvsd.pid
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]