Package: util-linux
Version: 2.16.2-0
Severity: critical
Justification: breaks the whole system
The behavior I describe started after a recent sid upgrade on at least
three distinct systems.
Follows is my retyping the information that appears on the console on
one of them:
Checking file systems...fsck from util-linux-ng 2.16.2
/dev/sda1: clean...
/sbin/fsck.xfs: XFS file system.
/dev/mapper/MASS1-home: clean...
/dev/mapper/crypt-home: clean...
/sbin/fsck.xfs: XFS file system.
open: No such file or directory
dosfsck 3.0.7, 24 Dec 2009, FAT32, LFN
fsck died with exit status 6
failed (code 6)
File system check failed. A log is being saved in
/var/log/fsck/checkfs if that location is writable....
Give root password for maintenance.
At this point, I can run mount -av; exit 0 and the system will boot
normally.
I will attach fstab and /var/log/fsck/checkfs for your diagnostic
purposes. It is rather annoying that there is no way to tell exactly
which filesystem caused the problem given the above output.
Examining the output in that log, it appears it is running fsck -C -R
-A -a. I can reproduce the problem at will by running that command in
the maintenance shell. I ran fsck -C -R -A -a -s -V in the
maintenance shell, and determined that the problem was with:
fsck.vfat -a /dev/disk/by-id/usb-Apple_iPod...-part2
You will see that this filesystem is marked user,noauto in fstab and
ought not to be checked by fsck at boot time. It never was until
recently, either.
On a lark, I changed the pass number in fstab to 0. That fixed the
issue.
However, this change which can render a system unbootable ought to, at
minimum, be detected and warned about in a preinst. Better yet, it
should never attempt to fsck a noauto filesystem. If it really must,
an error to do so ought not be fatal to the boot process.
All systems with this problem upgraded from util-linux 2.16.1-4 to
2.16.2-0.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (99, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-trunk-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 util-linux depends on:
ii dpkg 1.15.5.6 Debian package management system
ii initscripts 2.87dsf-8 scripts for initializing and shutt
ii install-info 4.13a.dfsg.1-5 Manage installed documentation in
ii libblkid1 2.16.2-0 block device id library
ii libc6 2.10.2-5 Embedded GNU C Library: Shared lib
ii libncurses5 5.7+20090803-2 shared libraries for terminal hand
ii libselinux1 2.0.89-4 SELinux runtime shared libraries
ii libuuid1 2.16.2-0 Universally Unique ID library
ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip
ii tzdata 2009u-1 time zone and daylight-saving time
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
util-linux recommends no packages.
Versions of packages util-linux suggests:
ii console-tools 1:0.2.3dbs-68 Linux console and font utilities
ii dosfstools 3.0.7-1 utilities for making and checking
pn util-linux-locales <none> (no description available)
-- no debconf information
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda2 / ext3 noatime,commit=60,errors=remount-ro 0
1
/dev/sda1 /boot ext3 noatime 0 2
/dev/MASS1/usr /usr xfs
noatime,nobarrier,logbufs=8,logbsize=256k 0 2
/dev/MASS1/home /home ext3 noatime,commit=60 0 3
/dev/mapper/crypt-home /crypt ext3 noatime,commit=60 0 3
/dev/disk/by-uuid/c94d0b04-13b0-4e16-b84b-3b1212740d38 /home/jgoerzen/sdcard
xfs noatime,nobarrier,logbsize=262144 0 3
#tmpfs /tmp tmpfs size=100m,mode=01777 0 2
#tmpfs /var/tmp tmpfs size=100m,mode=01777 0 2
#tmpfs /var/run tmpfs size=20m,mode=0755 0 2
#tmpfs /var/lock tmpfs size=20m,mode=01777 0 2
/dev/disk/by-id/usb-Apple_iPod_000A270014EE772E-0:0-part2 /ipod vfat
user,noauto 0 5
Log of fsck -C -R -A -a
Wed Jan 20 16:32:06 2010
fsck from util-linux-ng 2.16.2
/dev/sda1: clean, 33/48192 files, 46414/192748 blocks
/sbin/fsck.xfs: XFS file system.
/dev/mapper/MASS1-home: clean, 20641/589824 files, 602844/2359296 blocks
/dev/mapper/crypt-home: clean, 8895/65536 files, 84185/261887 blocks
/sbin/fsck.xfs: XFS file system.
open: No such file or directory
dosfsck 3.0.7, 24 Dec 2009, FAT32, LFN
fsck died with exit status 6
Wed Jan 20 16:32:07 2010
----------------