[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#648208: os-prober: blockdev --setro affects running kvm instances



On Wed, Nov 09, 2011 at 08:22:08PM +0400, Michael Tokarev wrote:
> 09.11.2011 19:29, Jan Niehusmann wrote:
> > It would be better if the user had a chance to select which devices
> > should be scanned. At least the user should be warned that running
> > os-prober while devices are used by other processes is not a safe
> > operation.
> 
> It isn't really helpful - yes it will allow to work around the problem
> once you already hit it, but it is difficult to think about it beforehand.

Well, of course the warning should come early enough (in some kind of
dialog) that the user has a chance to cancel the action.

Working around the problem is trivial - just uninstall os-prober. It's
not a strong depencency of grub, just a recommends.

A safe solution would be to not run os-prober by default, but requiring
manual action of the user (together with proper information about
possible issues).

More desirable would be some change that is still safe, but would not
disturb newbie users with messages about concurrent access to block
devices. Unfortunately, at the moment, I don't know how to achieve that.

Jan




Reply to: