Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 344963 - sys-process/acct-6.5.4-r2 installs opportunistic logrotate script
Summary: sys-process/acct-6.5.4-r2 installs opportunistic logrotate script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
: 345251 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-10 18:22 UTC by Tom Hendrikx
Modified: 2010-11-13 01:21 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Hendrikx 2010-11-10 18:22:12 UTC
Newer acct ebuilds install a logrotate script that assumes that a log file is always available. However, this is not true when acct is installed as a dependency (of sys-process/atop in my case), and the init script is never used/started. This results in messages like:

error: stat of /var/account/pacct failed: No such file or directory
run-parts: /etc/cron.daily/logrotate.cron exited with return code 1

Please add the "missingok" directive to the logrotate config file to solve this.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-11-11 07:53:03 UTC
Fixed without a revision bump. Will go "stable" with 6.5.5.
Comment 2 Israel G. Lugo 2010-11-13 01:21:05 UTC
*** Bug 345251 has been marked as a duplicate of this bug. ***