ACK: [SRU][M][PATCH 0/2] disable shiftfs

Stefan Bader stefan.bader at canonical.com
Wed Oct 11 07:59:40 UTC 2023


On 05.10.23 11:49, Andrea Righi wrote:
> BugLink: https://bugs.launchpad.net/bugs/2038522
> 
> [Impact]
> 
> Now that all the filesystems that we officially support have the
> idmapped mounts capability we can get rid of shiftfs.
> 
> The benefit of this change is that we don't have to maintain an
> out-of-tree filesystem anymore and we can completely rely on upstream
> features.
> 
> [Test case]
> 
> lxd was the main user of shiftfs to compensate the lack of idmapped
> mounts capability of certain filesystems, such as zfs / ceph, but now in
> mantic also these two filesystem received the support for idmapped
> mounts (support for zfs was introduced in 2.2.0~rc3 and for ceph see
> LP: #2032959).
> 
> The lxd team provided a positive feedback, testing the latest 6.5 Mantic
> kernel across all the supported filesystems with shiftfs disabled.
> 
> [Fix]
> 
> Disable shiftfs in the kernel config and enable unsafe idmapped mounts
> by default (default=on).
> 
> [Regression potential]
> 
> The support for idmapped mounts for the ceph filesystem is not applied
> upstream yet, so we may experience regressions in systems that are using
> this filesystem. Moreover disabling shiftfs may trigger failures in our
> testing (testing shiftfs capabilities will obviously fail) or break any
> other user-space application that is relying on shiftfs (however to our
> knowledge lxd was the only "official" user or shiftfs; for this reason
> we may also see potential regressions in lxd).
> 
> 

Acked-by: Stefan Bader <stefan.bader at canonical.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xE8675DEECBEECEA3.asc
Type: application/pgp-keys
Size: 44613 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20231011/bbbf5d7c/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20231011/bbbf5d7c/attachment-0001.sig>


More information about the kernel-team mailing list