Control: reassing -1 src:grub2 2.02~beta2-7

On Du, 30 mar 14, 14:01:10, Joey Hess wrote:
> Source: grub-pc
> Version: 2.02~beta2-7
> Severity: normal
> 
> Having run into #612402, I investigated.
> 
> The system's fstab contained:
> /dev/mapper/vg_cac-root_cac /               ext4    errors=remount-ro 0 1
> So that was not the cause of the UUID being passed to grub.
> 
> The probing that is done in 10_linux finds lvm:
> 
> + /usr/sbin/grub-probe --device /dev/mapper/vg_cac-root_cac 
> --target=abstraction
> + abstraction=lvm
> + test xlvm  = xlvm
> 
> Note the extra whitespace in the above. This is the source of at least
> this manifestation of the bug.
> 
> root@clam:/boot>if [ "$(/usr/sbin/grub-probe --device 
> /dev/mapper/vg_cac-root_cac --target=abstraction)" = "lvm" ]; then echo good; 
> fi
> root@clam:/boot>if [ "$(/usr/sbin/grub-probe --device 
> /dev/mapper/vg_cac-root_cac --target=abstraction)" = "lvm " ]; then echo 
> buggy; fi
> buggy
> 
> grub-probe is outputting a whitespace delimited list, but the for loop
> in uses_abstraction sets IFS to newline.
> 
> -- 
> see shy jo



-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt

Attachment: signature.asc
Description: Digital signature

Reply via email to