Bug#741342: /usr/sbin/update-grub: update-grub writes root=UUID= to grub.cfg for LVM2, renders machine unbootable

Stefan Lippers-Hollmann s.L-H at gmx.de
Thu Mar 13 19:20:39 UTC 2014


Control: tags -1 patch

Hi

The bug has been introduced with this upstream commit

commit 588744d0dc655177d5883bdcb8f72ff5160109ed
Author: Vladimir 'phcoder' Serbinenko <phcoder at gmail.com>
Date:   Mon Oct 14 18:27:29 2013 +0200

        * util/grub-probe.c (probe): Separate different drives in hint-str
        by spaces and not newlines.
        * util/grub-mkconfig_lib.in: Handle multidevice filesystem.

http://anonscm.debian.org/gitweb/?p=pkg-grub/grub.git;a=commitdiff;h=588744d0dc655177d5883bdcb8f72ff5160109ed

Which makes uses_abstraction() fail to recognize lvm2.

Reverting this commit, as in the rebased attachment, fixes the problem 
for me on 10+ systems; this patch could be reduced further to the IFS 
changes in uses_abstraction().

Regards
	Stefan Lippers-Hollmann
-------------- next part --------------
A non-text attachment was scrubbed...
Name: revert-util-grub-probe.c-probe-Separate-different-dr.patch
Type: text/x-patch
Size: 3967 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20140313/25c96b8e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20140313/25c96b8e/attachment.sig>


More information about the Pkg-grub-devel mailing list