[Pkg-sysvinit-devel] Bug#483394: Bug#483394: initscripts: Ensure that on_ac_power succeeds

Martin Pitt mpitt at debian.org
Thu May 29 17:39:12 UTC 2008


Hi Petter,

Petter Reinholdtsen [2008-05-29 18:08 +0200]:
> Thank you for the patch.  I thought the kernel module loading was done
> by udev before checkroot.sh was executed.  Why must this module be
> loaded manually in checkroot.sh?

That's what I would have expected as well, to be honest. But Ubuntu
still got reports that it wouldn't happen on some systems even with
udev and linux 2.6.22. However, for some reason I'm not familiar with
this doesn't actually seem to work for the modalias "acpi*:ACPI0003:*"
(which the ac module provides).

Right now, /etc/rc2.d/S10acpid loads the module on a standard system.
However, that runs after rcS.d/S??checkroot.sh, so it's too late for
fsck.

I hope that this workaround patch gets obsolete soon, when the
kernel/udev get fixed to load it automatically.

So if you think that is really belongs to udev/linux and shouldn't be
worked around in the meantime, feel free to just close this bug.

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20080529/d4f8f17e/attachment.pgp 


More information about the Pkg-sysvinit-devel mailing list