acpid event logging is not working when ran with systemd

Bug #1555917 reported by Vasili Sviridov
10
This bug affects 2 people
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
ProcVersionSignature: Ubuntu 4.2.0-30.36-generic 4.2.8-ckt3
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..etc.default.acpid: 2016-03-10T19:50:31.647660

Revision history for this message
Vasili Sviridov (vsviridov) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in acpid (Ubuntu):
status: New → Confirmed
Revision history for this message
vinibali (vinibali) wrote :

Hi there!
I experience somewhat the same, so if I pass the paramters to the unit file, it start just fine, but no outputs can be seen at journalctl.
It seems, that the OPTIONS from the config file has been used by systemd correctly, but the output is missing.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.