[Pkg-sysvinit-devel] Bug#441453: initscripts: checkfs and checkroot should warn if on_ac_power fails

Cristian Rigamonti cri at linux.it
Sun Sep 9 21:52:32 UTC 2007


Package: initscripts
Version: 2.86.ds1-38.1
Severity: wishlist
Tags: patch

In order to skip fsck-ing while on battery power, the checkroot.sh and
checkfs.sh scripts only check if on_ac_power's exit status == 1.

Sometimes, on_ac_power is available but returns 255 (e.g. because the ac kernel
module is not loaded yet): maybe the user should be warned about that by the
init script (see the attached patch to checkroot.sh), or by the documentation of
the package (which I just didn't happen to find :-)


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-rc1-cri (PREEMPT)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages initscripts depends on:
ii  debianutils                2.16.2        Miscellaneous utilities specific t
ii  e2fsprogs                  1.40.2-1      ext2 file system utilities and lib
ii  libc6                      2.6-5         GNU C Library: Shared libraries
ii  lsb-base                   3.1-24        Linux Standard Base 3.1 init scrip
ii  mount                      2.13~rc3-5    Tools for mounting and manipulatin
ii  sysvinit-utils             2.86.ds1-38.1 System-V-like utilities

Versions of packages initscripts recommends:
ii  psmisc                        22.5-1     Utilities that use the proc filesy

-- no debconf information

-- 
GPG/PGP Key-Id 0x943A5F0E      -    http://www.linux.it/~cri/cri.asc
Free software, free society    -    http://www.fsfeurope.org
GNUvox: http://www.gnuvox.info - RadioLinux: http://www.radiolinux.info
-------------- 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/20070909/c9e2ff4d/attachment.pgp 


More information about the Pkg-sysvinit-devel mailing list