Bug 110677 - Log file not rotated
Summary: Log file not rotated
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: acpid
Version: 1
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-11-23 01:38 UTC by Michal Jaegermann
Modified: 2014-03-17 02:40 UTC (History)
1 user (show)

Fixed In Version: 1.0.3-2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-08-09 13:34:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Jaegermann 2003-11-23 01:38:04 UTC
Description of problem:

acpid writes a log file /var/log/acpid but something corresponding
in /etc/logrotate.d/ is not there.

Version-Release number of selected component (if applicable):
acpid-1.0.2-5

Comment 1 Michal Jaegermann 2003-11-23 01:54:23 UTC
A short experiment shows that acpid keeps a handle to an open log
file. Hence something like that

/var/log/acpid {
    missingok
    notifempty
    size=64k
    postrotate
        /etc/init.d/acpid condrestart >/dev/null 2>&1 || true
    endscript
}

for /etc/logrotate.d/acpid should do.

Comment 2 Miloslav Trmač 2004-08-09 13:34:57 UTC
Thanks, fixed in acpid-1.0.3-2, which should soon be in rawhide.


Note You need to log in before you can comment on or make changes to this bug.