Package: rsyslog
Version: 5.8.11-3
Severity: normal

Dear Maintainer,

In Debian squeeze, for privacy reasons, I overrode settings in 
/etc/logrotate.d/rsyslog.  (It doesn't seem possible to do this in 
/etc/logrotate.conf due to bug 695002.)  These settings included:

        postrotate
                invoke-rc.d rsyslog reload > /dev/null
        endscript

When upgrading to wheezy, it wasn't noticed that the "reload" action in the
package version had changed to "rotate", and "reload" now produces an error.

As a result, logging and log rotation became unreliable, until this was fixed 
by changing the action to "rotate".

It seems that any occurrence of "rsyslog reload" should be changed to "rsyslog 
rotate" exactly when upgrading from squeeze to wheezy (since "rotate" doesn't 
yet work in squeeze's version, which may be related to bug 728682 and bug 
672218), without any period where "reload" works but is deprecated.

I'd welcome better solutions, but perhaps "reload" should continue to be mapped 
to "restart" and produce a warning.  It could be mapped to "rotate", although 
pedantically it might be pointed out that "rotate" doesn't reload all 
configuration.


-- System Information:
Debian Release: 7.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rsyslog depends on:
ii  initscripts  2.88dsf-41+deb7u1
ii  libc6        2.13-38
ii  lsb-base     4.1+Debian8+deb7u1
ii  zlib1g       1:1.2.7.dfsg-13

Versions of packages rsyslog recommends:
ii  logrotate  3.8.1-4

Versions of packages rsyslog suggests:
pn  rsyslog-doc                    <none>
pn  rsyslog-gnutls                 <none>
pn  rsyslog-gssapi                 <none>
pn  rsyslog-mysql | rsyslog-pgsql  <none>
pn  rsyslog-relp                   <none>

-- Configuration Files:
/etc/logrotate.d/rsyslog changed [not included]
/etc/rsyslog.conf changed [not included]

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to