[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#587290: initramfs-tools: malformed yaboot.conf created when alternate partitions use UUID= in fstab



reassign 587290 yaboot
thanks

On Sun, 2010-06-27 at 15:12 -0400, Rick Thomas wrote:
> On 06/27/10 08:19, Ben Hutchings wrote:
> > Please send the files /etc/fstab, /etc/yaboot.conf.old and
> > /etc/yaboot.conf from your system.
[...]
> [1] the hda6 partition is using my modified /usr/sbin/ybin that I 
> submitted with my bugreport #580455.  So it capable of dealing with 
> fstab  and yaboot.conf using UUID=.... to identify partitions.
> 
> Without the modified ybin, I have to edit those files to use the 
> conventional /dev/hdxn designations.
> 
> [2] the hda4 partition has the stock, unmodified, /usr/sbin/ybin .
> Fortunately, the installed creates its /etc/yaboot.conf using 
> conventional /dev/hdxn.  But it leaves a ticking time-bomb in the form 
> of UUID= designations in /etc/fstab .  The next time yaboot.conf is 
> created (e.g. with a kernel upgrade) it will pick up those designations 
> and ybin will crash.

The kernel package does *not* modify /etc/yaboot.conf like this.
(linux-base will modify it one-time only.)  This is a bug in the
yabootconfig script which is part of yaboot.

yaboot maintainers, you need to make yabootconfig accept UUID and LABEL
specfications in /etc/fstab and in the kernel root parameter.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: