[Pkg-sysvinit-devel] Bug#552030: initscripts: checkroot.sh can unnecessarly run out of ram

Karl O. Pinc kop at meme.com
Thu Oct 22 19:38:11 UTC 2009


Package: initscripts
Version: 2.86.ds1-61
Severity: wishlist

Hi,

My reading of checkroot.sh is that it will not turn
swap on if it detects _any_ lvm or swapfile swap partitions.
If there are also "regular" swap partitions they will not
be activated and the fsck of the root filesystem will
have less VM available, and the fsck could fail due
to lack of RAM.

The script should be smarter and turn on regular swap
partitons even when there are other sorts of partitions
that may be unavailable at the moment.  Perhaps
swapon -e would work?


-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages initscripts depends on:
ii  debianutils                  2.30        Miscellaneous utilities specific t
ii  e2fsprogs                    1.41.3-1    ext2/ext3/ext4 file system utiliti
ii  libc6                        2.7-18      GNU C Library: Shared libraries
ii  lsb-base                     3.2-20      Linux Standard Base 3.2 init scrip
ii  mount                        2.13.1.1-1  Tools for mounting and manipulatin
ii  sysvinit-utils               2.86.ds1-61 System-V-like utilities

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

initscripts suggests no packages.

-- no debconf information





More information about the Pkg-sysvinit-devel mailing list