Comment 3 for bug 1940723

Revision history for this message
Steve Langasek (vorlon) wrote : Re: shim-signed fails to install if grub disk config is incorrect

looking at the dpkg history it appears update-manager/aptdaemon was installing the package, so this isn't a problem of a non-interactive upgrade with no debconf frontend available (and if it were, that should result in an exit code of 1, not 32).

So there appears to be a bug in /usr/lib/grub/grub-multi-install, which should prompt to correct the disk list whenever there is an absent disk, and not exit with an error.

The problem appears to be that we do not check the return value of the 'mount' command, and only add disks to the "failed_devices" list if mount succeeds but grub-install fails.