Bug#341498: does not find valid filesystem label from fstab LABEL= option

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#341498: does not find valid filesystem label from fstab LABEL= option

Martin Steigerwald
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 | Threaded
Open this post in threaded view
|

Bug#341498: does not find valid filesystem label from fstab LABEL= option

Jonas Smedegaard
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 30 Nov 2005 23:40:04 +0100
Martin Steigerwald <[hidden email]> wrote:

> The offending line in /etc/fstab is:
>
> LABEL=debian   /               xfs
> defaults                0 1

> This bug may or may not be related to: bug #337168 and bug #337415.

Sounds like #337065 - could you please check...


 - Jonas

- --
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

 - Enden er nær: http://www.shibumi.org/eoti.htm
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDji66n7DbMsAkQLgRAloJAJ0Y44WVXP2uWA/eU9hNrfPSyjVuGgCgo9oJ
3xJ2khYlkyLjOE23GRL90Ys=
=4KMQ
-----END PGP SIGNATURE-----

Reply | Threaded
Open this post in threaded view
|

Bug#341498: does not find valid filesystem label from fstab LABEL= option

Martin Steigerwald
Am Mittwoch 30 November 2005 23:59 schrieb Jonas Smedegaard:

> On Wed, 30 Nov 2005 23:40:04 +0100
>
> Martin Steigerwald <[hidden email]> wrote:
> > The offending line in /etc/fstab is:
> >
> > LABEL=debian   /               xfs
> > defaults                0 1
> >
> > This bug may or may not be related to: bug #337168 and bug #337415.
>
> Sounds like #337065 - could you please check...

Hello Jonas,

well I cannot use a UUID either with yaird and replacing "LABEL=debian" by
"/dev/disk/by-label/debian" seems to work, so the bug I reported  appears
to be similar to #337065.

I have no reiserfs oder ext3 root partition to test whether it would work
with other filesystems.

Regards,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de


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