Package: rsyslog
Version: 5.8.3-1
Severity: important

recently rsyslogd began to fail to rotate logs as cron.daily reports this error

/etc/cron.daily/logrotate:
Usage: /etc/init.d/rsyslog {start|stop|rotate|restart|force-reload|status}
invoke-rc.d: initscript rsyslog, action "reload" failed.
error: error running non-shared postrotate script for /var/log/syslog of
'/var/log/syslog
'
run-parts: /etc/cron.daily/logrotate exited with return code 1

I think that either logrotate has to change action from 'reload' to 'force-
reload' or
rsyslogd has to support the 'reload' action falling back to the proper
supported action,
the latter action being preferable since it makes rsyslog more robust.

As of today syslog files are not rotated anymore

 -- Massimo Manghi



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages rsyslog depends on:
ii  initscripts             2.88dsf-13.11    scripts for initializing and shutt
ii  libc6                   2.13-10          Embedded GNU C Library: Shared lib
ii  lsb-base                3.2-27           Linux Standard Base 3.2 init scrip
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages rsyslog recommends:
ii  logrotate                     3.7.8-6    Log rotation utility

Versions of packages rsyslog suggests:
pn  rsyslog-doc                   <none>     (no description available)
pn  rsyslog-gnutls                <none>     (no description available)
pn  rsyslog-gssapi                <none>     (no description available)
pn  rsyslog-mysql | rsyslog-pgsql <none>     (no description available)
pn  rsyslog-relp                  <none>     (no description available)

-- Configuration Files:
/etc/logrotate.d/rsyslog 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