Bug#593242: grub-pc: zz-update-grub fails to run update-grub (quoting error)

Colin Watson cjwatson at debian.org
Mon Aug 16 16:24:58 UTC 2010


tags 593242 pending
thanks

On Mon, Aug 16, 2010 at 11:29:12AM -0400, Will Dyson wrote:
> On lines 5 and 6 of /etc/kernel/postinst.d/zz-update-grub, the single-quote
> character is not escaped. This prevents the substring removals from working
> correctly, and the case comparison fails due to the presense of extra quote
> characters.

It works when /bin/sh is dash rather than bash.  Boo.  It's rare for me
to encounter a genuine dashism.

I've committed a fix for this, but I think I'm going to let
1.98+20100804-2 into testing first; I really want to get RAID working
again.

-- 
Colin Watson                                       [cjwatson at debian.org]





More information about the Pkg-grub-devel mailing list