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
9c9,12
< boot=/dev/hda2
---
>
> # boot = /dev/hda2
> boot = "/dev/disk/by-label/bootstrap"
>
12c15,18
< 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!
Rick
-- 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