Bug#359066: checkroot.sh: on_ac_power cannot possibly work...

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#359066: checkroot.sh: on_ac_power cannot possibly work...

Mikael Nilsson
Package: initscripts
Version: 2.86.ds1-13
Severity: normal


The on_ac_power check in checkroot.sh does not seem to work - the fs check is
always performed.

There are actually several problems with powermgmt integration in checkroot:

1. on_ac_power is in /usr which might not be mounted...
2. /etc/init.d/acpid is started much later, so the right modules might not
be loaded (unless you use APM, which I don't)

I couldn't say what a good solution sould be...

/Mikael

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)

Versions of packages initscripts depends on:
ii  debianutils   2.15.3                     Miscellaneous utilities specific t
ii  e2fsprogs     1.38+1.39-WIP-2005.12.31-1 ext2 file system utilities and lib
ii  libc6         2.3.6-4                    GNU C Library: Shared libraries an
ii  lsb-base      3.0-16                     Linux Standard Base 3.0 init scrip
ii  mount         2.12r-8                    Tools for mounting and manipulatin

initscripts recommends no packages.

-- no debconf information


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]