Problem with acpid on rasberrypi
Applies to Version: v3.12 armv7l (seems v3.11 as well)
acpid is part of runlevel default:
# ls -l /etc/runlevels/default/acpid
lrwxrwxrwx 1 root root 17 Jan 1 1970
/etc/runlevels/default/acpid -> /etc/init.d/acpid
But it does not start, only this gets logged:
==> /var/log/acpid.log <==
acpid: /dev/input/event0: No such file or directory
This causes problems with logrotation as well, every night
/etc/logrotate.d/acpid
is triggered and that invokes
/etc/init.d/acpid --quiet --ifstarted restart
This results in a mail being sent from cron with the following text
* start-stop-daemon: no matching processes found
and nothing else in the message body.