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

Ricardo Salveti rsalveti at rsalveti.net
Sat Jan 24 01:17:21 UTC 2015


** Package changed: logrotate (Ubuntu) => upstart (Ubuntu)

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

** Package changed: logrotate (Ubuntu RTM) => upstart (Ubuntu RTM)

-- 
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:
  New

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