Bug#367867: [Pkg-sysvinit-devel] Bug#367867: initscripts: on_ac_power not in PATH, filesystem will be checked even if on battery

Henrique de Moraes Holschuh hmh at debian.org
Thu May 18 16:07:22 UTC 2006

clone 367867 -1
reassign -1 powermgmt-base
retitle -1 powermgmt-base: on_ac_power needs to be in /bin or /sbin
severity -1 important
block 367867 by -1
retitle 367867 initscripts: need versioned dep on powermgmt-base for on_ac_power
severity 367867 important

On Thu, 18 May 2006, Stefan Völkel wrote:
> on_ac_power is no longer in PATH, I added some debug output to verify

on_ac_power is in /usr/bin, where it is useless for the initscripts.  We
need access to it early in the boot sequence.

Fixing the initscript to use it in /usr would still leave every user that
has a separate /usr partition without the functionality, so this would be a
suboptimal fix at best.  On the other hand, if on_ac_power is supplied under
/bin, it will be available on all systems.

I am cloning this bug and reassigning the cloned bug to powermgmt-base,
requesting that on_ac_power and friends be shipped inside either /bin or

When/if powermgmt-base moves on_ac_power to /bin or /sbin, the initscript
packages should probably be updated accordingly to add versioned
dependencies (or conflicts -- didn't check that yet) with powermgmt-base,
thus I am keeping this bug open and blocked by the one in powermgmt-base.

Thanks for calling our attention to this issue.

  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

More information about the Pkg-sysvinit-devel mailing list