Bug#336567: postinst fails runnng modprobe on 'ext3,ext2'

2005-10-31 Thread Alastair McKinstry
Package: yaird
Version: 0.0.11-10
Severity: serious

I have an /etc/fstab with lines of the form:
/dev/hda2   /   ext3,ext2   errors=remount-ro   0   1

ie. for filesystem, try ext3 first, if this cannot be done, use ext2. 
Recent versions of mount understand this syntax, but yairds' postinst barfs on
it:

Setting up linux-image-2.6.14-1-686 (2.6.14-1) ...
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: error running modprobe ext3,ext2 (fatal)
Failed to create initrd image.
dpkg: error processing linux-image-2.6.14-1-686 (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 linux-image-2.6.14-1-686
E: Sub-process /usr/bin/dpkg returned an error code (1)


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to ga_IE.UTF-8)

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#336567: postinst fails runnng modprobe on 'ext3,ext2'

2005-11-01 Thread Jonas Smedegaard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

severity 336567 important
thanks

On Mon, 31 Oct 2005 09:03:23 +
Alastair McKinstry <[EMAIL PROTECTED]> wrote:

> Package: yaird
> Version: 0.0.11-10
> Severity: serious
^^^

I dare lower this to "important", as I believe it does not violate
policy, and even if annoying the error is not fatal.


> I have an /etc/fstab with lines of the form:
> /dev/hda2 /   ext3,ext2   errors=remount-ro
> 0 1
> 
> ie. for filesystem, try ext3 first, if this cannot be done, use ext2. 
> Recent versions of mount understand this syntax, but yairds' postinst
> barfs on it:

Indeed, yaird is too stupid in parsing this.

Erik, upstream maintainer, is listening here as well, and I hope he can
quickly extend the parser to handle this and "auto" which fails
similarly.

Until fixed, the obvious workaround is to change to only use one of the
options.

Alternatively you can try using initramfs-tools instead of yaird:
Install initramfs-tools, and either uninstall yaird or change priority
of ramdisk tools by adding the following to /etc/kernel-img.conf (in a
single line):

ramdisk
= /usr/sbin/mkinitrd /usr/sbin/mkinitramfs /usr/sbin/mkinitrd.yaird


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

iD8DBQFDZ4WXn7DbMsAkQLgRAkjzAKCe3WXArrdluJN7X5QeftTOqk7KiACfTTQy
br6O5opvlTI2AIbVkalyNg8=
=n7C6
-END PGP SIGNATURE-



Processed: Re: Bug#336567: postinst fails runnng modprobe on 'ext3,ext2'

2005-11-01 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> severity 336567 important
Bug#336567: postinst fails runnng modprobe on 'ext3,ext2'
Severity set to `important'.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


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