Upstart log files are not reopened after rolling

Bug #1578628 reported by Pat McGowan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Confirmed
High
Thomas Voß
upstart (Ubuntu)
New
Undecided
Unassigned

Bug Description

Seen on stable and proposed vivid based touch images
I noticed on two of my devices that after a scheduled rolling of the files in /var/log/upstart that there were no active *.log files at all.
The config for upstart includes nocreate but this has always been this way.
Is this intended or did something change in logrotate?
A similar bug report states that the files will be opened on a subsequent write from the upstart process, but this is clearly not happening.

See http://askubuntu.com/questions/481236/upstart-not-reopening-log-files-on-logrotation
and perhaps bug #1350782

description: updated
description: updated
Changed in canonical-devices-system-image:
status: New → Confirmed
milestone: none → backlog
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

This is making it difficult to debug in some cases

Changed in canonical-devices-system-image:
importance: Undecided → High
milestone: backlog → 12
Revision history for this message
Oliver Grawert (ogra) wrote :

well, if there are actual writes the files should be re-created ... are they also not created newly after a reboot ?

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Once there is activity on the system after a reboot I do see some logs being opened but not for all processes.

But prior to the reboot, I was using the tablet and no logs were open
for example http://pastebin.ubuntu.com/17177401/

Revision history for this message
Oliver Grawert (ogra) wrote :

note that ~/.cache/upstart is not /var/log/upstart :)

so we are looking at session logs here ...

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Yes, but both sets are in the same state, I originally noticed and reported against the system logs

Changed in canonical-devices-system-image:
milestone: 12 → backlog
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.