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

Stefan Völkel stefan.voelkel at millenux.com
Mon Jul 17 08:29:32 UTC 2006


Petter Reinholdtsen wrote:
> tags 367867 + pending
> thanks
> 
>> on_ac_power is in /usr/bin, where it is useless for the initscripts.
>> We need access to it early in the boot sequence.
> 
> Actually, the calls to on_ac_power in checkfs.sh and checkroot.sh were
> written explicitly to work as before when on_ac_power are unavailable,
> and only skip fsck if the binary is found and report that the laptop
> is on battery, to handle gracefully all installations where /usr/ is
> unavailable.

Not sure if I understood that correctly, but IMHO that is exaclty what
is not working.

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).

regards
	Stefan
-- 
Stefan Völkel                              mobile: +49.170.79177.17
Millenux GmbH                               phone: +49.711.88770.300
Lilienthalstraße 2                          phone: +49.89.608665.27
70825 Stuttgart-Korntal                       fax: +49.711.88770.349
     -= linux without limits -=- http://linux.zSeries.org/ =-

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20060717/ef91f3a4/signature.pgp


More information about the Pkg-sysvinit-devel mailing list