Re: [PATCH] tune2fs: prohibit toggling uninit_bg on live filesystems

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

 



On Wed, Nov 20, 2019 at 11:32:55AM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
> 
> An internal customer followed an erroneous AskUbuntu article[1] to try to
> change the UUID of a live ext4 filesystem.  The article claims that you
> can work around tune2fs' "cannot change UUID on live fs" error by
> disabling uninit_bg, changing the UUID, and re-enabling the feature.
> 
> This led to metadata corruption because tune2fs' journal descriptor
> rewrite races with regular filesystem writes.  Therefore, prevent
> administrators from turning on or off uninit_bg on a mounted fs.
> 
> [1] https://askubuntu.com/questions/132079/how-do-i-change-uuid-of-a-disk-to-whatever-i-want/195839#459097
> 
> Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>

Thanks, applied.

					- Ted



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux