[Pkg-sysvinit-devel] Bug#387308: checkroot.sh: on_ac_power uses awk but PATH doesn't include /usr/bin

Jack Bates ms419 at freezone.co.uk
Wed Sep 13 14:56:07 UTC 2006


Package: initscripts
Version: 2.86.ds1-20

on_ac_power and awk are installed and /usr/bin is mounted when
checkroot.sh is run. However checkroot.sh's PATH doesn't
include /usr/bin, so on_ac_power fails when it tries to run awk.
Consequently checkroot.sh runs fsck when I'm on battery power.

I'm not sure whether checkroot.sh should call on_ac_power with
PATH=/usr/bin:$PATH or on_ac_power should call /usr/bin/awk instead of
awk.

Thanks - Jack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 242 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20060913/1d6a8860/attachment-0001.pgp


More information about the Pkg-sysvinit-devel mailing list