Your message dated Tue, 02 Aug 2011 12:21:39 +0200
with message-id <[email protected]>
and subject line Re: Bug#636336: missing 'reload' action in /etc/init.d/rsyslog
has caused the Debian Bug report #636336,
regarding missing 'reload' action in /etc/init.d/rsyslog
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.)


-- 
636336: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636336
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
Am 02.08.2011 12:03, schrieb Massimo Manghi:
> 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.

..

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

You modified that file and did not update it when 5.8.1-1 was released:

rsyslog (5.8.1-1) unstable; urgency=low

  The way rsyslog processes SIGHUP has changed. It no longer does a reload
  of its configuration, but simply closes all open files, which is a much more
  lightweight operation.
  To apply a changed configuration, rsyslogd needs to be restarted now.
  As a consequence, the reload action has been dropped from the init script.

  A new action called "rotate" was added to the init script, which signals
  rsyslogd to close all open files. This new action is used in the rsyslog
  logrotate configuration file.

  For more information, see:
  http://www.rsyslog.com/doc/v4compatibility.html
  http://www.rsyslog.com/doc/v5compatibility.html

 -- Michael Biebl <[email protected]>  Mon, 30 May 2011 18:26:51 +0200

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to