Comment 48 for bug 290885

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 290885] Re: SRU: Backport of Boot Degraded RAID functionality from Intrepid to Hardy

Dustin Kirkland [2008-12-04 12:51 -0000]:
> Would would you think of adding a bit to the grub postinst that
> detected if you were upgrading from a certain version, and if you have
> root (or /boot) on a RAID device, and if so, run grub-install on that
> device?

That doesn't seem to be a problem which got introduced with these
patches? I. e. if you didn't have grub on the "other" device, it
formerly would fail to boot, too?

I am a bit nervous about automatically changing the boot sector of
already installed systems, TBH. There might be cases where people
explicitly configured it that way. So adding a postinst snippet to
detect this situation is fine, of course.

Or is the problem that configuration files actually *say* "please
install grub on all devices", but we just didn't? In that case this
change would be okay for me.

Thanks,

Martin

--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)