Bug#341498: does not find valid filesystem label from fstab LABEL= option
Package: yaird
Version: 0.0.11-12
Severity: normal
Sending manually via KMail as I missed switching report bug SMTP server
from master.debian.org to bugs.debian.org as indicated in the changelog
of latest reportbug package.
Hello,
yaird doesn't seem to work with a label for the root filesystem:
Richte linux-image-2.6.14-2-686 ein (2.6.14-4) ...
Using /usr/sbin/mkinitrd.yaird to build the
ramdisk.
Full list of probed ramdisk generating tools :
/usr/sbin/mkinitrd /usr/sbin/mkinitrd.yaird
/usr/sbin/mkinitramfs.
yaird error: label 'debian' not found
(/etc/fstab:6) (fatal)
Failed to create initrd image.
dpkg: Fehler beim Bearbeiten von
linux-image-2.6.14-2-686 (--configure):
Unterprozess post-installation script gab den
Fehlerwert 2 zurück
Fehler traten auf beim Bearbeiten von:
linux-image-2.6.14-2-686
E: Sub-process /usr/bin/dpkg returned an error
code (1)
The offending line in /etc/fstab is:
LABEL=debian / xfs defaults 0
1
This line works perfectly fine since ages and also worked with previous
mkinitrd
tool.
The label seems to be fine:
root@deepdance:/ -> xfs_admin -l /dev/hda5
label = "debian"
As soon as I replace the offending line in /etc/fstab by
/dev/hda5 / xfs defaults 0
1
yaird seems to work correctly.
This bug may or may not be related to: bug #337168 and bug #337415. I
reported
it cause for me it seems to be a different problem as yaird seems to get
the
label name correctly (no "/" that is reduced to ""), but it still doesn't
find
the label.
Regards,
Martin
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.2-tp23
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Versions of packages yaird depends on:
ii cpio 2.6-9 GNU cpio -- a program to
manage ar
ii dash 0.5.2-8 The Debian Almquist Shell
ii libc6 2.3.5-8 GNU C Library: Shared
libraries an
ii libhtml-template-perl 2.6-2 HTML::Template : A module for
usin
ii libparse-recdescent-perl 1.94.free-1 Generates recursive-descent
parser
ii perl 5.8.7-7 Larry Wall's Practical
Extraction
yaird recommends no packages.
-- no debconf information
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
Reply to: