Package: e2fsprogs
Version: 1.40-1
Severity: critical
Justification: breaks the whole system


I added the following line for a dm-crypt partition to my fstab:
  LABEL=crypt_office /office ext3 defaults 0 0

When I rebooted, the system hung after printing:
  Checking root file system...fsck 1.40 (29-Jun-2007)
Each fsck during the boot process can be interrupted with Ctrl-C, but
the partitions will be mounted read-only.

While fsck.ext3 works perfectly, fsck seems to have a problem with the
dm-crypt filesystem label in fstab. Any fsck call hangs reproducibly 
as long as the fstab entry with the label of an unavailable filesystem
is present. 

workaround: comment out fstab entries with labels of filesystems 
which are not available


Here is an strace output of fsck:
---------------------------8<---------------------------
open("/dev/hda5", O_RDONLY)             = 6
fstat64(6, {st_mode=S_IFBLK|0660, st_rdev=makedev(3, 5), ...}) = 0
lseek(6, 0, SEEK_SET)                   = 0
read(6, "\335\340\317\203\17/\263d\0253\342\210\234z\310}\5<\312"..., 69632) = 
69632
time(NULL)                              = 1183963031
close(6)                                = 0
ioctl(4, DM_LIST_DEVICES, 0x804f4c0)    = 0
ioctl(4, DM_LIST_DEVICES, 0x804f4c0)    = 0
time(NULL)                              = 1183963031
open("/dev/hda6", O_RDONLY)             = 6
fstat64(6, {st_mode=S_IFBLK|0660, st_rdev=makedev(3, 6), ...}) = 0
lseek(6, 0, SEEK_SET)                   = 0
read(6, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 69632) = 
69632
---------------------------8<---------------------------



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

Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
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 e2fsprogs depends on:
ii  e2fslibs                      1.40-1     ext2 filesystem libraries
ii  libblkid1                     1.40-1     block device id library
ii  libc6                         2.5-11     GNU C Library: Shared libraries
ii  libcomerr2                    1.40-1     common error description library
ii  libss2                        1.40-1     command-line interface parsing lib
ii  libuuid1                      1.40-1     universally unique id library

e2fsprogs recommends no packages.

-- no debconf information


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

Reply via email to