[Pkg-sysvinit-devel] Bug#568200: initscripts: fsck attempted on non-existent partitions

Arthur Marsh arthur.marsh at internode.on.net
Wed Feb 3 03:28:57 UTC 2010


Package: initscripts
Version: 2.87dsf-8
Severity: normal


I had an entry like this in /etc/fstab:

UUID=4823-93A9  /mnt/usb8gig        vfat defaults,users,uid=65534,gid=65534,umask=000,shortname=win95        0     2

When upgrading past dosfstools 3.0.1 I ran into a problem that fsck was
exiting with an error code greater than 1 when the drive was not present.

This is not really the fault of fsck but it is the fault of calling fsck on
a device node that is not even present.

I believe that if there is an entry in /etc/fstab for a filesystem whose
device (or in this case UUID) does not exist, no attempt should be made to
run fsck. Perhaps just a "device UUID=4823-93A9 does not exist" should 
be reported, but please don't halt the boot process.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages initscripts depends on:
ii  coreutils                     8.4-1      GNU core utilities
ii  debianutils                   3.2.2      Miscellaneous utilities specific t
ii  libc6                         2.10.2-5   Embedded GNU C Library: Shared lib
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip
ii  mount                         2.16.2-0   Tools for mounting and manipulatin
ii  sysv-rc                       2.87dsf-8  System-V-like runlevel change mech
ii  sysvinit-utils                2.87dsf-8  System-V-like utilities

Versions of packages initscripts recommends:
ii  e2fsprogs                     1.41.9-1   ext2/ext3/ext4 file system utiliti
ii  psmisc                        22.10-1    utilities that use the proc file s

initscripts suggests no packages.

-- debconf-show failed





More information about the Pkg-sysvinit-devel mailing list