[Bug 1306361] [NEW] ~/.cache/upstart/ logs are not rotated often enough

Dimitri John Ledkov launchpad at surgut.co.uk
Fri Apr 11 04:42:58 UTC 2014


Public bug reported:

[Impact]

 * ~/.cache/upstart contains user session logs which are rotated upon
login. But due to excellent hibernate & syspend/resume people can spend
weeks without re-logging in. Thus those logs can grow uncontrollably.

[Test Case]

 * Monitor logs in ~/.cache/upstart note how many of them can be uncompressed
 * With updated packages, those should be rotated every hour (17 minutes past the hour by default)

[Regression Potential]

 * user session logrotation was already inplace, we are now adding one
more start on condition to it, which is triggered via system cron.hourly

** Affects: upstart (Ubuntu)
     Importance: Medium
     Assignee: Dimitri John Ledkov (xnox)
         Status: In Progress

** Affects: upstart (Ubuntu Trusty)
     Importance: Medium
     Assignee: Dimitri John Ledkov (xnox)
         Status: In Progress

** Also affects: upstart (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Changed in: upstart (Ubuntu Trusty)
       Status: New => In Progress

** Changed in: upstart (Ubuntu Trusty)
   Importance: Undecided => Medium

** Changed in: upstart (Ubuntu Trusty)
     Assignee: (unassigned) => Dimitri John Ledkov (xnox)

-- 
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/1306361

Title:
  ~/.cache/upstart/ logs are not rotated often enough

Status in “upstart” package in Ubuntu:
  In Progress
Status in “upstart” source package in Trusty:
  In Progress

Bug description:
  [Impact]

   * ~/.cache/upstart contains user session logs which are rotated upon
  login. But due to excellent hibernate & syspend/resume people can
  spend weeks without re-logging in. Thus those logs can grow
  uncontrollably.

  [Test Case]

   * Monitor logs in ~/.cache/upstart note how many of them can be uncompressed
   * With updated packages, those should be rotated every hour (17 minutes past the hour by default)

  [Regression Potential]

   * user session logrotation was already inplace, we are now adding one
  more start on condition to it, which is triggered via system
  cron.hourly

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



More information about the foundations-bugs mailing list