[Bug 1555917] [NEW] acpid event logging is not working when ran with systemd

Vasili Sviridov 1555917 at bugs.launchpad.net
Fri Mar 11 03:58:48 UTC 2016


Public bug reported:

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

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


** Tags: amd64 apport-bug wily

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to acpid in Ubuntu.
https://bugs.launchpad.net/bugs/1555917

Title:
  acpid event logging is not working when ran with systemd

Status in acpid package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/1555917/+subscriptions



More information about the foundations-bugs mailing list