Post-logrotate needs rsyslog to close and reopen file descriptors. It's
not requesting for rsyslog to reload configuration, nor wants to.
"reload" is a standard command, and under upstart init it sends SIGHUP
to rsyslog, similarly under systemd with init.d script it generates
systemd unit for which "reload" similarly sends SIGHUP. In debian
unstable a native systemd unit is added for rsyslog, for which reload
similarly just sends SIGHUP. Thus under all current and future
configuration, the new postrotate results in correct actions taken -
i.e. rsyslog closes and reopens files.
For, sysv init scripts "reload" command is specified as something else
though in Debian Policy. However, no such restrictions are currently
applied for upstart & systemd. If you believe that it's a bug in rsyslog
systemd unit and upstart job, please open a separate bug about that in
Debian BTS.
** Changed in: rsyslog (Ubuntu)
Status: New => Fix Released
** Summary changed:
- [systemd] /etc/logrotate.d/rsyslog fails to reload rsyslog
+ [systemd] /etc/logrotate.d/rsyslog fails to instruct rsyslog to close &
reopen fds
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1331891
Title:
[systemd] /etc/logrotate.d/rsyslog fails to instruct rsyslog to close
& reopen fds
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/1331891/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs