site  contact  subhomenews

Make sure acpid is killed at shutdown

December 10, 2022 — BarryK

acpid is a daemon, that is launched at startup by /etc/init.d/acpid. It is killed at shutdown, however one person reported that shutdown paused for 4 minutes until acpid terminated. Another person reported that it never terminated, so shutdown couldn't happen.

I have put in a fix; the TERM signal is tried, if that fails after 1 second the KILL signal is sent, and if that fails after 1 second, shutdown will continue. Commit:

https://github.com/bkauler/woofq/commit/3265ecb4c124ddb0aea41227d8c776de2050cab5

Right now, just one more item on the to-do list to fix, before releasing the next Easy.   

Tags: easy