[Bug 1464745] [NEW] logrotate file fails on all but sysvinit

Cameron Norman camerontnorman at gmail.com
Fri Jun 12 18:21:43 UTC 2015


Public bug reported:

The logrotate file supplied can not work with Upstart or systemd because
it calls `service rsyslog rotate` -- neither support custom actions.
Instead a custom script to send SIGHUP to rsyslog depending on the init
system should be used. It can just use

* `initctl reload rsyslog` with Upstart
* `systemctl kill --signal=SIGHUP --kill-who=main rsyslog.service` with systemd
* `/etc/init.d/rsyslog rotate` with sysvinit

** Affects: rsyslog (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rsyslog in Ubuntu.
https://bugs.launchpad.net/bugs/1464745

Title:
  logrotate file fails on all but sysvinit

Status in rsyslog package in Ubuntu:
  New

Bug description:
  The logrotate file supplied can not work with Upstart or systemd
  because it calls `service rsyslog rotate` -- neither support custom
  actions. Instead a custom script to send SIGHUP to rsyslog depending
  on the init system should be used. It can just use

  * `initctl reload rsyslog` with Upstart
  * `systemctl kill --signal=SIGHUP --kill-who=main rsyslog.service` with systemd
  * `/etc/init.d/rsyslog rotate` with sysvinit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/1464745/+subscriptions



More information about the foundations-bugs mailing list