Attached is a patch that should fix this. Hopefully the changelog entry
explains it well enough:
acpid (1.0.6-9ubuntu4) intrepid; urgency=low
* Remove the logrotate file on upgrade, as the previous one that was
installed did a "kill -USR1" on the acpid process to cause it to reload
its logfiles. As the new acpid doesn't use a log file it doesn't catch
this signal, which means that once a week acpid is killed. As it doesn't
have a logfile the logrotate file is not needed, and so is no longer
installed, but as it was a conffile it is not removed on upgrades.
.
On an upgrade from an older version of the package we remove the file
if it exists and matches one of the two known versions of the conffile.
If it doesn't match it is just moved aside. The older logrotate file
didn't send SIGUSR1, and so it is not as critical to remove, but it does
restart acpid, which is unecessary. (LP: #263888)
Hi,
Attached is a patch that should fix this. Hopefully the changelog entry
explains it well enough:
acpid (1.0.6-9ubuntu4) intrepid; urgency=low
* Remove the logrotate file on upgrade, as the previous one that was
installed did a "kill -USR1" on the acpid process to cause it to reload
its logfiles. As the new acpid doesn't use a log file it doesn't catch
this signal, which means that once a week acpid is killed. As it doesn't
have a logfile the logrotate file is not needed, and so is no longer
installed, but as it was a conffile it is not removed on upgrades.
.
On an upgrade from an older version of the package we remove the file
if it exists and matches one of the two known versions of the conffile.
If it doesn't match it is just moved aside. The older logrotate file
didn't send SIGUSR1, and so it is not as critical to remove, but it does
restart acpid, which is unecessary. (LP: #263888)
-- James Westby <email address hidden> Wed, 24 Sep 2008 15:19:14 +0100
Thanks,
James