Your message dated Sat, 17 Jan 2009 15:10:36 +0000
with message-id <[email protected]>
and subject line Bug#474498: fixed in rsyslog 3.20.2-1
has caused the Debian Bug report #474498,
regarding rsyslog: Collect syslog messages until /var/ is unmounted
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.)


-- 
474498: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=474498
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package:  rsyslog
Version:  2.0.4-1
Tags:     patch
User:     [email protected]
Usertags: runtime-problem

With the new feature of sendsigs to ignore some pids, it is now
possible to let the syslog collector keep running for a bit longer
during shutdown, and thus collect syslog messages related to umounting
remote file systems etc.  To allow this, the pid need to be stored in
one of the files used by /etc/init.d/sendsigs to fetch pids to ignore.

I suggest symlinking to the pid file, to make sure no pid is passed to
sendsigs when no daemon is running.  Here is a patch to do this.

With this patch, the rsyslog script can be executed after sendsigs
during shutdown.  The change of dependencies make sure it will happen
when dependency based boot sequencing is used.  It might be an idea to
change the sequence number used with manual sequencing too.

--- debian/rsyslog.init.orig    2008-04-06 09:46:22.000000000 +0200
+++ debian/rsyslog.init 2008-04-06 09:47:28.000000000 +0200
@@ -1,10 +1,8 @@
 #! /bin/sh
 ### BEGIN INIT INFO
 # Provides:          syslog
-# Required-Start:    $remote_fs $time
-# Required-Stop:     $remote_fs $time
-# Should-Start:      $network
-# Should-Stop:       $network
+# Required-Start:    $local_fs $time
+# Required-Stop:     $local_fs $time
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: enhanced syslogd
@@ -111,6 +109,8 @@
        case "$?" in
                2) log_end_msg 1 ;;
        esac
+       rm -f /lib/init/rw/sendsigs.omit.d/rsyslog
+       ln -s $RSYSLOGD_PIDFILE /lib/init/rw/sendsigs.omit.d/rsyslog

        log_progress_msg "$RKLOGD"
        do_start "$RKLOGD_BIN" "$RKLOGD_OPTIONS" "$RKLOGD_PIDFILE"
@@ -118,6 +118,8 @@
                0|1) log_end_msg 0 ;;
                2) log_end_msg 1 ;;
        esac
+       rm -f /lib/init/rw/sendsigs.omit.d/rklogd
+       ln -s $RKLOGD_PIDFILE /lib/init/rw/sendsigs.omit.d/rklogd
        ;;
   stop)
        log_daemon_msg "Stopping $DESC" "$RKLOGD"

Happy hacking,
-- 
Petter Reinholdtsen



--- End Message ---
--- Begin Message ---
Source: rsyslog
Source-Version: 3.20.2-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.20.2-1_all.deb
  to pool/main/r/rsyslog/rsyslog-doc_3.20.2-1_all.deb
rsyslog-gnutls_3.20.2-1_i386.deb
  to pool/main/r/rsyslog/rsyslog-gnutls_3.20.2-1_i386.deb
rsyslog-gssapi_3.20.2-1_i386.deb
  to pool/main/r/rsyslog/rsyslog-gssapi_3.20.2-1_i386.deb
rsyslog-mysql_3.20.2-1_i386.deb
  to pool/main/r/rsyslog/rsyslog-mysql_3.20.2-1_i386.deb
rsyslog-pgsql_3.20.2-1_i386.deb
  to pool/main/r/rsyslog/rsyslog-pgsql_3.20.2-1_i386.deb
rsyslog_3.20.2-1.diff.gz
  to pool/main/r/rsyslog/rsyslog_3.20.2-1.diff.gz
rsyslog_3.20.2-1.dsc
  to pool/main/r/rsyslog/rsyslog_3.20.2-1.dsc
rsyslog_3.20.2-1_i386.deb
  to pool/main/r/rsyslog/rsyslog_3.20.2-1_i386.deb
rsyslog_3.20.2.orig.tar.gz
  to pool/main/r/rsyslog/rsyslog_3.20.2.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.8
Date: Fri, 16 Jan 2009 22:23:40 +0100
Source: rsyslog
Binary: rsyslog rsyslog-doc rsyslog-mysql rsyslog-pgsql rsyslog-gssapi 
rsyslog-gnutls
Architecture: source all i386
Version: 3.20.2-1
Distribution: experimental
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-gnutls - GnuTLS plugin for rsyslog
 rsyslog-gssapi - GSSAPI input and output plugins for rsyslog
 rsyslog-mysql - MySQL output plugin for rsyslog
 rsyslog-pgsql - PostgreSQL output plugin for rsyslog
Closes: 474498 493044
Changes: 
 rsyslog (3.20.2-1) experimental; urgency=low
 .
   * New upstream release.
   * Refresh all patches for the new upstream stable branch.
   * Enable GSSAPI support
     - Add libkrb5-dev to Build-Depends.
     - Split files into a separate package named rsyslog-gssapi.
     - Add --enable-gssapi-krb5 to configure flags.
     Thanks to Ben Poliakoff for the patch. Closes: #493044
   * Enable GnuTLS support
     - Add libgnutls-dev to Build-Depends.
     - Split files into a separate package named rsyslog-gnutls.
     - Add --enable-gnutls to configure flags.
   * debian/control
     - Add ${misc:Depends} to rsyslog-doc.
   * Let rsyslog collect messages as long as possible during shutdown or
     reboot. As /usr may be mounted via NFS, the latest possible point is just
     before umountnfs. Closes: #474498
     - Update the stop priorities for runlevel 0 and 6 from K90 to S30 for
       sysv-rc and migrate existing symlinks.
     - Update LSB header to stop after sendsigs and before umountnfs.
     - Use the sendsigs process omission interface to avoid being killed by
       killall5.
   * debian/rsyslog-doc.links
     - There is an upstream index.html file now, so we no longer need to create
       a symlink.
Checksums-Sha1: 
 2acba23770e51fae5aefbf76e0cb7edd09dd1149 1287 rsyslog_3.20.2-1.dsc
 612fa5bc52aa52f84d68b0ea8bdbc6e4150a6543 1298126 rsyslog_3.20.2.orig.tar.gz
 480e57b790bfb1993676ed34d539c165b718b8f9 19927 rsyslog_3.20.2-1.diff.gz
 d3d65b335a0b896dc7be68a777d04aa0ac4b9aec 348230 rsyslog-doc_3.20.2-1_all.deb
 f8a1d793a67319b7e2514210f2039107e9362c8c 186220 rsyslog_3.20.2-1_i386.deb
 7534d0cacd947ae646f5f7e5724ec96c71d16e0a 12424 rsyslog-mysql_3.20.2-1_i386.deb
 9beec5e741cbd1f74e6907715a7c5bb1c061a5a2 12222 rsyslog-pgsql_3.20.2-1_i386.deb
 6e5583382d5518c777575b766aee1c2c8efff263 19498 rsyslog-gssapi_3.20.2-1_i386.deb
 b39c101cc63cf22a10f40576645dc012c4f3bfeb 19008 rsyslog-gnutls_3.20.2-1_i386.deb
Checksums-Sha256: 
 f9a1d151bc4a42fedfed93074a05b6f6679975aa9d630d26662c849e653f8344 1287 
rsyslog_3.20.2-1.dsc
 e5406a8d7571d0b7f035ad647035bb5b52685316acc55a4fb37c4caabdf63676 1298126 
rsyslog_3.20.2.orig.tar.gz
 7602de8327f4b1439a52f9f67d641a3cec4108b4ff18f053685bf5f3a6f977db 19927 
rsyslog_3.20.2-1.diff.gz
 ba1ad5ba9086f48e63f7143ad3d20fd56c12d382d813d974de790ada6374a14a 348230 
rsyslog-doc_3.20.2-1_all.deb
 350e8237f5249af750fa966a1e7d3fb1001355c644c67d556cf1785c3cf4b839 186220 
rsyslog_3.20.2-1_i386.deb
 442791beba564648276090e8b95ade2fd5d03ac0b84c95e6cdd0eeba35c1bc61 12424 
rsyslog-mysql_3.20.2-1_i386.deb
 368ac0fc6ebeb2d75533439a8c525ae48f9614b577352f949890419c08a6f596 12222 
rsyslog-pgsql_3.20.2-1_i386.deb
 26cfd57c6ca84d16cbea79ad93b6246793337b348fee2173dd4582d346b25323 19498 
rsyslog-gssapi_3.20.2-1_i386.deb
 c5518509264ae49bf06ad886199d270b20653006056aec064f4794de97f5deff 19008 
rsyslog-gnutls_3.20.2-1_i386.deb
Files: 
 28a1e081bd12ea54eaad11e71315e880 1287 admin important rsyslog_3.20.2-1.dsc
 bf4379015fd9df47c45d229eb9ac3e1a 1298126 admin important 
rsyslog_3.20.2.orig.tar.gz
 a0fd5bacd0202aa2fe35272f83a8c6db 19927 admin important rsyslog_3.20.2-1.diff.gz
 11a16dad9d36e58172fae030abf82e8a 348230 doc extra rsyslog-doc_3.20.2-1_all.deb
 cde7c22f1f1778c582d33e255f3c2504 186220 admin important 
rsyslog_3.20.2-1_i386.deb
 000acb2c61b355ed13095db050aaf7f5 12424 admin extra 
rsyslog-mysql_3.20.2-1_i386.deb
 ef2d9d42e580e60ee0a9f78254c843f5 12222 admin extra 
rsyslog-pgsql_3.20.2-1_i386.deb
 230593937ae26ef0b3a2d255ebdaf1c6 19498 admin extra 
rsyslog-gssapi_3.20.2-1_i386.deb
 18a2bf2157c6faac5180aae665edfe38 19008 admin extra 
rsyslog-gnutls_3.20.2-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAklw/FMACgkQh7PER70FhVT6MACgviXJ3wHvwmx8EDp4j1QNfv8U
90QAoIIv1UqKZ06yJrokcKi+AjI5AE7P
=0Xyb
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to