Re: [PATCH] overlay: workaround libmount failure to remount,ro

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

 



On Thu, Jun 5, 2025 at 7:00 PM Zorro Lang <zlang@xxxxxxxxxx> wrote:
>
> On Mon, May 26, 2025 at 10:18:52AM +0200, Amir Goldstein wrote:
> > libmount v1.41 calls several unneeded fsconfig() calls to reconfigure
> > lowerdir/upperdir when user requests only -o remount,ro.
> >
> > Those calls fail because overlayfs does not allow making any config
> > changes with new mount api, besides MS_RDONLY.
> >
> > force mount(8) to use mount(2) to remount ro/rw to workaround
> > this issue, by setting LIBMOUNT_FORCE_MOUNT2=always.
> >
> > Reported-by: André Almeida <andrealmeid@xxxxxxxxxx>
> > Cc: Karel Zak <kzak@xxxxxxxxxx>
> > Link: https://lore.kernel.org/linux-fsdevel/20250521-ovl_ro-v1-1-2350b1493d94@xxxxxxxxxx/
>
> Is my bug report (a year ago) gotten fixed?
> https://lore.kernel.org/linux-fsdevel/20241026180741.cfqm6oqp3frvasfm@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/
>

Please see v2 (this is v1):
https://lore.kernel.org/fstests/20250603100745.2022891-2-amir73il@xxxxxxxxx/
The suggested workaround is exactly the same as suggested one year ago

> If this kernel fix works, do we still need this workaround?
>

Which kernel fix?
There was no agreement on a kernel fix (yet).

Thanks,
Amir.





[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux