Public bug reported:

Binary package hint: acpid

The script /etc/logrotate.d/acpid in version 1.0.4-5ubuntu6 of package
acpid (which appears in 7.04 Feisty) issues the following command to
restart the acpid process:

pkill -SIGUSR1 acpid > /dev/null

If a user for some reason runs her own executables named acpid, that
script will send the USR1 signal to the user's processes as well as to
the true acpid. If the user's acpid handles signals, that may result in
undefined behavior.

As a workaround, you can add the '-u root' option to pkill, which will
limit the possibility of unwanted signal sending to the processes run by
system administrators.

The right way to fix this, however, is to save the process id of acpid
in /var/run/ and use only that pid to identify the process.

** Affects: acpid (Ubuntu)
     Importance: Undecided
         Status: New

-- 
logrotate script for acpid may send USR1 to innocent processes
https://bugs.launchpad.net/bugs/127940
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to