[Bug 1385464] Re: logrotate fails to run, if status file is corrupt (logrotate running during reboot?)

Launchpad Bug Tracker 1385464 at bugs.launchpad.net
Sun Jan 25 09:35:53 UTC 2015


This bug was fixed in the package upstart - 1.13.2-0ubuntu1rtm1

---------------
upstart (1.13.2-0ubuntu1rtm1) 14.09; urgency=medium

  [ James Hunt ]
  * debian/user-conf/logrotate.conf: Handle corrupt status files.
    (LP: #1385464)
 -- Ricardo Salveti de Araujo <ricardo.salveti at canonical.com>   Fri, 23 Jan 2015 22:53:28 -0200

** Changed in: upstart (Ubuntu RTM)
       Status: New => Fix Released

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

Title:
  logrotate fails to run, if status file is corrupt (logrotate running
  during reboot?)

Status in the base for Ubuntu mobile products:
  Confirmed
Status in upstart package in Ubuntu:
  Fix Released
Status in upstart package in Ubuntu RTM:
  Fix Released

Bug description:
  phablet at ubuntu-phablet:~$ du -h /var/log/syslog 
  654M	/var/log/syslog
  phablet at ubuntu-phablet:~$ sudo logrotate -f /etc/logrotate.conf 
  error: bad top line in state file /var/lib/logrotate/status
  phablet at ubuntu-phablet:~$ cat /var/lib/logrotate/status 
  /opt/click.ubuntu.com/com.ubuntu.developer.webapps.webapp-gmail/1.0.25phablet at ubuntu-phablet:~$

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1385464/+subscriptions



More information about the foundations-bugs mailing list