Package: grub
Version: 0.97-13
File: /sbin/update-grub

update-grub uses the non-POSIX 'local' command.
What's worse it uses it in a way relying on its bash semantics.
dash manual explicitely states that "When a variable is made local, it
inherits the initial value and exported and readonly flags from the
variable with the same name in the surrounding scope, if there is one."
This means that in dash the 'hypervisor' variable is not made empty
by its local declaration in write_kernel_entry
and the written entry for a non-xen kernel is incorrect and unbootable.

-- 
MichaƂ Politowski
Talking has been known to lead to communication if practiced carelessly.

Attachment: signature.asc
Description: Digital signature

Reply via email to