Package: rsyslog
Version: 2.0.3-1
Severity: critical
Justification: causes serious data loss
rsyslog shuts down at the start of the upgrade and only gets restarted
when the package is configured.
this is broken. instead of stopping rsyslog in the prerm and starting it
in the postinst, just restart it in the postinst. actually, according
to the comments in the scripts, it looks like the stop and start are
inserted by dh_installinit. i don't know whether that's because the bug
is actually in dh_installinit (debhelper package) or whether it's
because your package does not use the right args to dh_installinit.
here's the problem, /var/lib/dpkg/info/rsyslog.prerm:
#!/bin/sh
set -e
# Automatically added by dh_installinit
if [ -x "/etc/init.d/rsyslog" ]; then
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d rsyslog stop || exit $?
else
/etc/init.d/rsyslog stop || exit $?
fi
fi
# End automatically added section
in a dist-upgrade, it could be many minutes - or even hours if the
sysadmin doing the upgrade is doing other work simultaneously - between
the start of the upgrade and the time that rsyslog is configured,
especially if there are any questions waiting to be answered during the
upgrade.
while rsyslog is down, all log entries for the system being upgraded are
lost, along with all log entries for any hosts which use that system
as the syslog host.
for example:
Mar 15 23:10:28 ganesh rsyslogd: [origin software="rsyslogd"
swVersion="2.0.2" x-pid="4493" x-info="http://www.rsyslog.com"] exiting
on signal 15.
Mar 16 00:37:31 ganesh rsyslogd: [origin software="rsyslogd"
swVersion="2.0.3" x-pid="17184"
x-info="http://www.rsyslog.com"][x-configInfo udpReception="Yes"
udpPort="514" tcpReception="No" tcpPort="0"] restart
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages rsyslog depends on:
ii libc6 2.7-9 GNU C Library: Shared libraries
ii lsb-base 3.2-4 Linux Standard Base 3.2 init scrip
ii zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime
Versions of packages rsyslog recommends:
ii logrotate 3.7.1-3 Log rotation utility
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]