[Pkg-sysvinit-devel] Bug#450791: initscripts: checkroot.sh tries to activate loop-AES encrypted swap

Djani Buric djani_buric at fastmail.fm
Sat Nov 10 17:15:47 UTC 2007


Package: initscripts
Version: 2.86.ds1-38.1
Severity: normal


During boot, checkroot.sh outputs the following lines:

Activating swap:swapon: unable to open loop device /dev/loop7
 failed!
Will now check root file system:fsck 1.40.2 (12-Jul-2007)

Swap is encrypted using loop-AES, and fstab has this line:

/dev/hda5 none swap sw,loop=/dev/loop7,encryption=AES128 0 0

The patch below sets swap_on_lv to yes when OPTS contains the string
"loop=".

------------------------------
65a66
> 			echo "$OPTS" | grep -q "loop=" && swap_on_lv=yes
------------------------------

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

Kernel: Linux 2.6.22.6-1 (PREEMPT)
Locale: LANG=hr_HR, LC_CTYPE=hr_HR (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash

Versions of packages initscripts depends on:
ii  debianutils                2.26          Miscellaneous utilities specific t
ii  e2fsprogs                  1.40.2-1      ext2 file system utilities and lib
ii  libc6                      2.6.1-6       GNU C Library: Shared libraries
ii  lsb-base                   3.1-24        Linux Standard Base 3.1 init scrip
ii  mount                      2.13-9        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





More information about the Pkg-sysvinit-devel mailing list