[Pkg-sysvinit-devel] Bug#367867: initscripts: need versioned dep on powermgmt-base for on_ac_power

Petter Reinholdtsen pere at hungry.com
Sun Jul 23 22:50:10 UTC 2006


[Stefan Völkel]
> Not sure if I understood that correctly, but IMHO that is exaclty
> what is not working.

I suspect you have not understood it.

> My laptop was running on battery and has only one partition,
> notheless an fsck was performed, because on_ac_power was no longer
> found (PATH did not include /sbin/ IIRC).

Your described behaviour is exactly how the boot is supposed to behave
when on_ac_power is unavailable.  It is how the boot was behaving
before support for on_ac_power was added.  The new behaviour where the
fsck is skipped when running on battery is an optional feature only
available when on_ac_power is present.

So this is not a bug in the initscripts.  If you want to make this
optional feature work on all installations, you need to convince the
maintainer of the package with on_ac_power to move it from /usr/ to /.
I personally believe that is a good idea, but have no strong opinion. :)

Friendly,
-- 
Petter Reinholdtsen




More information about the Pkg-sysvinit-devel mailing list