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

Bug#806273: Patch for disabling kernel mounts when grub-mount is available



On Tue, 2016-11-15 at 15:33 +0100, Emmanuel Kasper wrote:
> The included patch disables read_only mounts when grub-mount is available.

Why not require that grub-mount is available, and disable the other
path entirely?

Ben.

> This patch should also fix #788062 and #648208, which I presume are the
> same bug.
> 
> According to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701814#57
> it seems that the fallback for kernel mounts were mostly added as a
> "conservative fallback".
> 
> Actually this conservative fallback can lead to data corruption as shown
> in #788062 and #648208 and  when a failed grub-mount will be succeeded
> by the attempt of a readonly
> 
> I am looking forward for comments about the patch since the bug is
> release critical and goes back as far as 2011.
> 
-- 
Ben Hutchings
Nothing is ever a complete failure; it can always serve as a bad
example.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: