Package: dsyslog
Version: 0.5.0
Severity: minor

1. Restart doesn't restart properly:

if dsyslog is stopped, and you issue a restart action, a new line fails to 
print a new line:

pond:/home/micah# /etc/init.d/dsyslog stop
Stopping system logging daemon: dsyslog.
pond:/home/micah# /etc/init.d/dsyslog restart
Restarting system logging daemon: dsyslogpond:/home/micah# 

and dsyslog is not started.

The reason is because there is a 'set -e' in the initscript, and when dsyslog 
is not running
and the following is run in the stop_server function:

start-stop-daemon --stop --quiet --pidfile /var/run/dsyslog.pid --exec 
/usr/sbin/dsyslog

the result code is 1, causing the set -e to trigger.

Rather than removing the 'set -e', I would suggest that you add the --oknodo 
flag 
to the start-stop-daemon call.

2. DIETIME is wrong

At the top of the file is the variable "DODTIME=10", but that variable
is never referenced, however the variable DIETIME is. I believe the
DODTIME should be DIETIME. 

Also, 10 seconds seems a bit long, can that be dropped down a little?
Maybe include DIETIME in /etc/defaults as an example parameter?

Micah



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-vserver-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dsyslog depends on:
ii  libc6                         2.9-7      GNU C Library: Shared libraries
ii  libglib2.0-0                  2.20.1-1   The GLib library of C routines
ii  libgnutls26                   2.6.5-1    the GNU TLS library - runtime libr

Versions of packages dsyslog recommends:
ii  logrotate                     3.7.7-3    Log rotation utility

Versions of packages dsyslog suggests:
pn  dsyslog-module-gnutls         <none>     (no description available)
pn  dsyslog-module-mysql          <none>     (no description available)
pn  dsyslog-module-postgresql     <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to