Your message dated Mon, 07 Apr 2008 23:32:07 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#471051: fixed in rsyslog 3.14.1-1
has caused the Debian Bug report #471051,
regarding rsyslog shuts down too early during upgrade
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
471051: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471051
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Source: rsyslog
Source-Version: 3.14.1-1
We believe that the bug you reported is fixed in the latest version of
rsyslog, which is due to be installed in the Debian FTP archive:
rsyslog-doc_3.14.1-1_all.deb
to pool/main/r/rsyslog/rsyslog-doc_3.14.1-1_all.deb
rsyslog-mysql_3.14.1-1_i386.deb
to pool/main/r/rsyslog/rsyslog-mysql_3.14.1-1_i386.deb
rsyslog-pgsql_3.14.1-1_i386.deb
to pool/main/r/rsyslog/rsyslog-pgsql_3.14.1-1_i386.deb
rsyslog_3.14.1-1.diff.gz
to pool/main/r/rsyslog/rsyslog_3.14.1-1.diff.gz
rsyslog_3.14.1-1.dsc
to pool/main/r/rsyslog/rsyslog_3.14.1-1.dsc
rsyslog_3.14.1-1_i386.deb
to pool/main/r/rsyslog/rsyslog_3.14.1-1_i386.deb
rsyslog_3.14.1.orig.tar.gz
to pool/main/r/rsyslog/rsyslog_3.14.1.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Biebl <[EMAIL PROTECTED]> (supplier of updated rsyslog package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sun, 06 Apr 2008 16:54:08 +0200
Source: rsyslog
Binary: rsyslog rsyslog-doc rsyslog-mysql rsyslog-pgsql
Architecture: source i386 all
Version: 3.14.1-1
Distribution: unstable
Urgency: low
Maintainer: Michael Biebl <[EMAIL PROTECTED]>
Changed-By: Michael Biebl <[EMAIL PROTECTED]>
Description:
rsyslog - enhanced multi-threaded syslogd
rsyslog-doc - documentation for rsyslog
rsyslog-mysql - MySQL output plugin for rsyslog
rsyslog-pgsql - PostgreSQL output plugin for rsyslog
Closes: 471051 473546
Changes:
rsyslog (3.14.1-1) unstable; urgency=low
.
* First upstream release of the new stable v3 series.
* debian/copyright
- Update copyright notice as rsyslog has been relicensed under GPL3+.
* debian/rsyslog.init
- The kernel logging functionality is now implemented via an input plugin
and has replaced the separate rklogd binary. Remove all traces of rklogd
from the init script.
- General cleanup and simplification.
* debian/rsyslog.default
- Remove obsolete RKLOGD_OPTIONS configuration variable.
- Document deprecated command line options.
- Start rsyslogd in v3 compat mode, its native interface.
* debian/rsyslog.conf
- Load the input modules imuxsock (local system logging) and imklog
(kernel logging) by default.
* debian/rsyslog-doc.install
- Install jpeg images and dia files.
* debian/rsyslog.install
- Install input modules (im*.so) and library plugins (lm*.so).
* debian/rules
- Enable imfile input plugin.
- Use dh_installinit "-r" (no-restart-on-upgrade) option.
* debian/rsyslog.postinst
- Minimize downtime by restarting rsyslog in postinst instead of stop in
prerm and start in postinst. Closes: #471051
* debian/rsyslog.logrotate
- Group together related log files.
- Rotate daemon.log and kern.log weekly, to match sysklogd behaviour.
- Add options "missingok", "delaycompress" and "sharedscripts" as
suggested by Paul Slootman. Closes: #473546
Files:
8687a3159e225adbdffaaba4b1e9e1cd 835 admin extra rsyslog_3.14.1-1.dsc
7e4a7b506e249d69c7d8c5ce7567ee8c 1057895 admin extra rsyslog_3.14.1.orig.tar.gz
3135c894c91c92153847dff6af69bd33 13098 admin extra rsyslog_3.14.1-1.diff.gz
5888cafec9158a6c7e1c053ed833f85b 211016 admin extra rsyslog_3.14.1-1_i386.deb
b906320c5490b6cf3f2a87b6b15d41c7 265728 doc extra rsyslog-doc_3.14.1-1_all.deb
e230349fed3c8d58b04f10105c05f0c9 63596 admin extra
rsyslog-mysql_3.14.1-1_i386.deb
d00460d8ca157b250cee60cd6c171185 63402 admin extra
rsyslog-pgsql_3.14.1-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFH+qr6h7PER70FhVQRAnkMAJ94kv5PcspFaKblClEoEcYKh+rwBwCgs773
qP53xJd4LRahzy1n53taaak=
=vuyB
-----END PGP SIGNATURE-----
--- End Message ---