[Bug 263888] [NEW] acpid killed by default logrotate script

Launchpad Bug Tracker 263888 at bugs.launchpad.net
Thu Feb 17 09:20:45 UTC 2011


You have been subscribed to a public bug by Daniel Holbach (dholbach):

Binary package hint: acpid

I noticed, by way of bug 247195, that acpid has been routinely dying on
my Intrepid system.  This didn't happen under 8.04.  I believe this is
happening because its logrotate script sends SIGUSR1, whose default
action is to terminate the process, which isn't handled by acpid.

mizar:[~] cat /etc/logrotate.d/acpid 
/var/log/acpid {
    weekly
    rotate 4
    compress
    missingok
    postrotate
    	pkill -SIGUSR1 acpid > /dev/null
    endscript
}
root     23633  0.0  0.0   2308  1172 ?        Ss   09:25   0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid.socket
mizar:[~] sudo pkill -SIGUSR1 acpid
[sudo] password for mdz: 
mizar:[~] ps u 23633
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
zsh: exit 1     ps u 23633
mizar:[~] cd /tmp/acpid-1.0.6 
mizar:[/tmp/acpid-1.0.6] grep -ri SIGUSR1 .
zsh: exit 1     grep -ri SIGUSR1 .

This means that acpid will die each week when the logrotate script is
run.

** Affects: acpid (Ubuntu)
     Importance: Medium
         Status: Fix Released

** Affects: acpid (Ubuntu Intrepid)
     Importance: Medium
         Status: Fix Released


** Tags: regression-potential
-- 
acpid killed by default logrotate script
https://bugs.launchpad.net/bugs/263888
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.




More information about the Ubuntu-sponsors mailing list