Bug#737820: grub-pc: postinst fails when ‘grub-mkconfig’ has non-zero exit status

Colin Watson cjwatson at debian.org
Thu Feb 6 12:11:52 UTC 2014


On Thu, Feb 06, 2014 at 06:59:47PM +1100, Ben Finney wrote:
> When the postinst for ‘grub-pc’ calls
> ‘/etc/kernel/postinst.d/zz-update-grub’, the process is aborted when
> ‘grub-mkconfig’ exits with status 1. This is apparently not an error,
> though, and the process should not fail.

Could you please expand on your chain of reasoning here?  grub-mkconfig
exiting non-zero is absolutely an error as far as I'm concerned - it
might for instance mean that it was unable to generate a
syntactically-correct configuration file - and we should find out why
that's happening (for instance, by looking through the error output of
"sh -x /usr/sbin/grub-mkconfig >/dev/null").

-- 
Colin Watson                                       [cjwatson at debian.org]



More information about the Pkg-grub-devel mailing list