Bug#336612: yaird: Fails to parse fstab

2005-10-31 Thread Aaron Schrab
Package: yaird
Version: 0.0.11-10
Severity: important

When attempting to create an initrd image, yaird failed with the
following error:

yaird error: malformed line in /etc/fstab:16 (fatal)

Line 16 of /etc/fstab is:
/dev/ipod   /media/ipod autonoauto,user

It seems the problem is that the line doesn't contain the fields
specifying the dump frequency or fsck pass, since if I add those it gets
past that line to other lines with the same problem.

I consider this a bug, because (according to the fstab(5) man page)
these fields are optional and should be treated as containing a 0 if not
present.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages yaird depends on:
ii  cpio 2.6-8   GNU cpio -- a program to manage ar
ii  dash 0.5.2-8 The Debian Almquist Shell
ii  libc62.3.5-7 GNU C Library: Shared libraries an
ii  libhtml-template-perl2.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


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



Bug#336612: yaird: Fails to parse fstab

2005-10-31 Thread Jonas Smedegaard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

merge 336612 336598
thanks

On Mon, 31 Oct 2005 10:32:00 -0600
Aaron Schrab <[EMAIL PROTECTED]> wrote:

> When attempting to create an initrd image, yaird failed with the
> following error:
> 
> yaird error: malformed line in /etc/fstab:16 (fatal)
> 
> Line 16 of /etc/fstab is:
> /dev/ipod /media/ipod autonoauto,user
> 
> It seems the problem is that the line doesn't contain the fields
> specifying the dump frequency or fsck pass, since if I add those it
> gets past that line to other lines with the same problem.

Looks like that to me too. So merging with the other bugreports about
the same...

I posted a patch as well, so check that merged bugreport if interested
before next yaird release is out.

 - 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)

iD8DBQFDZm0Xn7DbMsAkQLgRAlYoAJ9fRa3LQQI9m6frGzU7d2FB/T+CXQCdHBR3
T/F8y75NMfWrt5YoBkYtNIU=
=H09X
-END PGP SIGNATURE-