Package: klibc-utils
Version: 1.5.12-2
Severity: important

In /usr/share/initramfs-tools/scripts/local, get_fstype() uses
what is probably /usr/lib/klibc/bin/fstype to determine the fs type.
This returns 'ext3' for an ext4 fs, unlike /lib/udev/vol_id, which
returns 'ext4'.

  This breaks the initrd, which fails to mount the rootfs and gives
ENODEV. Can't mount root, system useless unless one uses a
"rootfstype=ext4" kernel parameter.

get_fstype ()
{

get_fstype() { local FS FSTYPE FSSIZE RET FS="${1}"
                # vol_id has a more complete list of file systems,
                  # but fstype is more robust
                    eval $(fstype "${FS}" 2> /dev/null)
                         if [ "$FSTYPE" = "unknown" ] && [ -x
/lib/udev/vol_id ]; then
                    FSTYPE=$(/lib/udev/vol_id -t "${FS}" 2> /dev/null)
                                              fi
                                                RET=$?
                                                
                                                      if [ -z
"${FSTYPE}" ]; then
               FSTYPE="unknown"
                               fi
                               
                                 echo "${FSTYPE}"
                                      return ${RET}
                                      }

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28 (SMP w/2 CPU cores; PREEMPT)
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 klibc-utils depends on:
ii  libklibc                      1.5.12-2   minimal libc subset for use with i

klibc-utils recommends no packages.

klibc-utils suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to