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

Bug#580455: Fwd: lastest Sid upgrade breakes yaboot.conf and (maybe) ybin

Has anybody else noticed this problem?

In the absence of any word from anybody else, I'm working on a patch to /usr/sbin/ybin that takes these changes into account, but I'd feel better if somebody who knew what he/she was doing could take a look at my patch and pass it along to the PTBs. I'm just a tester. I report bugs. I'm not a DD (and don't want to be one!) so actually fixing bugs is not my job. On the other hand, I think it would be a shame to let something like this go forward into the release just because nobody cared enough to get it fixed.



Begin forwarded message:

From: Rick Thomas <rbthomas@dillserver.rcthomas.org>
Date: May 6, 2010 1:59:09 AM EDT
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: lastest Sid upgrade breakes yaboot.conf and (maybe) ybin

Package: yaboot
Version: 1.3.13a-1
Severity: important

The latest kernel upgrade modifies yaboot.conf in bad ways.

1) It puts spaces around the "=" and quotes the argument, which confuses ybin.
	# diff /etc/yaboot.conf.old /etc/yaboot.conf
	< boot=/dev/hda2
	> # boot = /dev/hda2
	> boot = "/dev/disk/by-label/bootstrap"
	< root=/dev/hda6
	> # root = /dev/hda6
	> root = "UUID=88a47bea-8c36-4a09-b418-747e2396feb2"

ybin thinks the space between the "=" and the RHS and the quotes- marks are part of the RHS. It then says that the file "/dev/disk/by-label/bootstrap" (including the quote-marks) doesn't exist. If I remove the quote-marks, it still fails, beacuse it thinks the leading space is part of the file name. If I remove the leading space *and* the quote marks, it gets further... But...

2) Later on, ofpath gets called on /dev/disk/by-label/bootstrap which ofpath is unable to parse.
It says "ofpath: Device: /dev/bootstrap is not supported".

This could probably be fixed by running $boot thru "readlink -f" to canonicalize it, but that part of ybin is complicated enough that I decided it should be done by an expert.

Hope this helps!


-- System Information:
Debian Release: squeeze/sid
 APT prefers unstable
 APT policy: (500, 'unstable'), (500, 'testing')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.32-5-powerpc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages yaboot depends on:
ii libc6 2.10.2-7 Embedded GNU C Library: Shared lib

Versions of packages yaboot recommends:
ii hfsutils 3.2.6-11 Tools for reading and writing Maci ii powerpc-utils 1.1.3-24 Various utilities for Linux/PowerP

yaboot suggests no packages.

-- no debconf information

Reply to: