| Summary: | sys-process/acct: logrotate complains about missing /var/account/pacct | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Israel G. Lugo <israel.lugo> |
| Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
I was going to post a patch to add "missingok" to the logrotate file, but I just noticed this was addressed in bug 344963, with the exact same fix. There was no revision bump, which is why the package didn't get updated, so I didn't get the fix. Sorry for the duplicate. *** This bug has been marked as a duplicate of bug 344963 *** |
I have sys-process/acct installed. However, I've never enabled process accounting on this machine. I'm getting emails from cron with the following: > error: stat of /var/account/pacct failed: No such file or directory The problem seems to be in the /etc/logrotate.d/acct file, which defines the logrotate settings for /var/account/pacct. In particular, it does not allow the file to be missing.