rsyslog shuts down too early, preventing logging of the other jobs shutting down

Bug #1559924 reported by Sebastian Nohn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rsyslog (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

upstart kills rsyslog as one of the first jobs. So after that no other jobs are logging that they are shutting down and what they are doing during shutdown.

The default should be shutting down logging at the latest possible point in time when shutting down a machine.

Revision history for this message
Martin Pitt (pitti) wrote :

That needs to be adjusted in rsyslog.service.

affects: systemd (Ubuntu) → rsyslog (Ubuntu)
summary: - systemd kills rsyslog as one of the first jobs, preventing logging of
- the other jobs shutting down
+ rsyslog shuts down too early, preventing logging of the other jobs
+ shutting down
Revision history for this message
Martin Pitt (pitti) wrote :

As far as I can see this has always been like that -- /etc/init.d/rsyslog and the upstart job also only start at runlevels 2/5 (corresponding to multi-user.target) and thus don't cover early boot and late shutdown.

Please note, you can enable the persistent systemd journal to get logging that lasts much further into the shutdown sequence. See /usr/share/doc/systemd/README.Debian.gz

Changed in rsyslog (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Sebastian Nohn (sebastian-nohn-d) wrote :

Sorry, I thought, systemd was default in Ubuntu 14.04, but it seems, upstart is still taking care of most init related things in Ubuntu 14.04.

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.