Bug#336509: linux-image-2.6.14-1-686: Install fails: yaird error: malformed line in /etc/fstab:9 (fatal)

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

On Tue, 1 Nov 2005 01:11:08 -0500
A. Costa [EMAIL PROTECTED] wrote:

 Looks like 'yaird' is finicky about 'fstab' formats.  Supposing
 there's a good reason for that... if so it might be better for users
 if the 'yaird' installer script checked 'fstab' when upgrading or
 replacing 'initrd' systems, then after finding such malformed 'fstab'
 lines it could offer to correct those -- but if correcting those was
 unfeasible, it should advise users that their 'fstab' needs fixing.

Next release of yaird will be less finicky (assuming finicky is the
more polite form of anal - I am not a native speaker).


thanks for the other suggestions - they may make sense for other
similar situations: yaird is generally quite.. eh, finicky :-)


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

iD8DBQFDZ1KRn7DbMsAkQLgRAtzVAJ4usA7g8GAWFSgZyLttYSp63TuaJwCdHGsl
zFvFrOABtdutqY7gvbnvqqs=
=DiNP
-END PGP SIGNATURE-



Bug#336509: linux-image-2.6.14-1-686: Install fails: yaird error: malformed line in /etc/fstab:9 (fatal)

2005-10-31 Thread A. Costa
On Sun, 30 Oct 2005 23:57:30 +0100
Jonas Smedegaard [EMAIL PROTECTED] wrote:

 This means yaird is to blame, not the kernel package...

Thanks for explaining, I was clueless about 'yaird'.

   9  /dev/hdc/mnt/cdrw  iso9660   noauto,user,ro
  
  ...no, my cdrw drive shouldn't influence kernel upgrades.
 
 I suspect this is the case.
 
 Could you try adding  0 0 to the end of that line and do a
 dpkg-reconfigure linux-image-2.6.14-1-686, to see if that helps?

Yes, it helped, but then I got errors for other lines in my
'fstab' so I added  0 0 to the end of those lines.  Now the install
works.  (And much appreciation for the accurate diagnostics!)

Looks like 'yaird' is finicky about 'fstab' formats.  Supposing there's
a good reason for that... if so it might be better for users if the
'yaird' installer script checked 'fstab' when upgrading or replacing
'initrd' systems, then after finding such malformed 'fstab' lines it
could offer to correct those -- but if correcting those was unfeasible,
it should advise users that their 'fstab' needs fixing.


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



Bug#336509: linux-image-2.6.14-1-686: Install fails: yaird error: malformed line in /etc/fstab:9 (fatal)

2005-10-30 Thread A Costa
Package: linux-image-2.6.14-1-686
Version: 2.6.14-1
Severity: important


Usually the install Just Works, but today:

% dpkg -i /var/cache/apt/archives/linux-image-2.6.14-1-686_2.6.14-1_i386.deb
(Reading database ... 174825 files and directories currently installed.)
Preparing to replace linux-image-2.6.14-1-686 2.6.14-1 (using 
.../linux-image-2.6.14-1-686_2.6.14-1_i386.deb) ...
The directory /lib/modules/2.6.14-1-686 still exists. Continuing as 
directed.
Unpacking replacement linux-image-2.6.14-1-686 ...
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: malformed line in /etc/fstab:9 (fatal)
Failed to create initrd image.
dpkg: error processing linux-image-2.6.14-1-686 (--install):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 linux-image-2.6.14-1-686
% echo $?
1

I notice a mention of /etc/fstab:9 -- perhaps that means line #9:

% nl /etc/fstab | grep ^ *9
 9  /dev/hdc/mnt/cdrw  iso9660   noauto,user,ro

...no, my cdrw drive shouldn't influence kernel upgrades.
Maybe the '9' means lines without comments:

# search for lines without comments that aren't blank,
# then number 'em, and print #9
% grep -v ^#\|^ *$ /etc/fstab | nl | grep ^ *9
 9  /dev/hdb1   /mnt/fvfat   noauto,rw,owner,user   
0   2

...but a 'vfat' drive shouldn't matter either.


Hope this helps...


-- 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-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages linux-image-2.6.14-1-686 depends on:
ii  module-init-tools 3.2-pre9-3 tools for managing Linux kernel mo
ii  yaird [linux-initramfs-tool]  0.0.11-9   Yet Another mkInitRD

linux-image-2.6.14-1-686 recommends no packages.

-- no debconf information


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



Bug#336509: linux-image-2.6.14-1-686: Install fails: yaird error: malformed line in /etc/fstab:9 (fatal)

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

reassign yaird 336509
thanks

On Sun, 30 Oct 2005 16:01:49 -0500
A Costa [EMAIL PROTECTED] wrote:

 yaird error: malformed line in /etc/fstab:9 (fatal) Failed to create
 initrd image. dpkg: error processing linux-image-2.6.14-1-686
 (--install): subprocess post-installation script returned error exit
 status 2 Errors were encountered while processing:
 linux-image-2.6.14-1-686 % echo $? 1

This means yaird is to blame, not the kernel package. Recent Linux
kernels do not support the use of initrd-tools so pulls in either yaird
or initramfs-tools, which is why you suddently run into new exciting
experiences when installing a kernel.


 I notice a mention of /etc/fstab:9 -- perhaps that means line #9:
 
 % nl /etc/fstab | grep ^ *9
  9  /dev/hdc/mnt/cdrw  iso9660   noauto,user,ro
 
 ...no, my cdrw drive shouldn't influence kernel upgrades.

I suspect this is the case.

Could you try adding  0 0 to the end of that line and do a
dpkg-reconfigure linux-image-2.6.14-1-686, to see if that helps?


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

iD8DBQFDZU/an7DbMsAkQLgRAsj/AKCN5zMXSOL9ygFlp8YeJqY+PWT7rACgolFW
0CwuHE1Fj0p1HKyiIemR450=
=quoH
-END PGP SIGNATURE-