FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 11-28-2007, 05:24 PM
maximilian attems
 
Default Bug#451151: initramfs-tools: update-initramfs mistakes errors=remount-ro mount option as read-only

On Tue, 13 Nov 2007, Jan Niehusmann wrote:

> update-initramfs does not update initrd.img if /proc/mounts contains
> errors=remount-ro. Instead, I get the following message:
>
> WARNING: /boot is ro mounted.
> update-initramfs: Not updating /boot/initrd.img-2.6.24-rc2-x61s
>
> Reason for this behaviour is the awk expression in line 524 of
> update-initramfs, which just checks for the presence of the string "ro".
> Instead, it should check for 'ro' at the beginning of the string, or
> following a , separator:
>
> boot_opts=$(awk '/boot/{if (match($4, /^ro/) || match($4, /,ro/) && $2 == "/boot") print "ro"}' /proc/mounts)

thanks comfirmed, tested and applied proposed fix to 0.91b.
as this a potentential upgrade failure, i'll see to get
that fixed too in etch.

amicalement

--
maks




--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 06:46 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org