acpid event logging is not working when ran with systemd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpid (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I'm writing some custom scripts for acpid. If I stop the systemd spawned process and run my own from root account using "acpid -d" flag, I can see the output of the handler scripts appear in the logs, which helps me to debug my handler code.
However when it's running under systemd the logs do not contain handler output and the handler does not function correctly, simply stating that the handler has terminated with error code 1.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: acpid 1:2.0.23-1ubuntu1
ProcVersionSign
Uname: Linux 4.2.0-30-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Mar 10 19:54:45 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-03-08 (2 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: acpid
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile.
Status changed to 'Confirmed' because the bug affects multiple users.