spiegel_podman/vendor/github.com/containers
Nick Guenther 572e6464f6 Use storage that better supports rootless overlayfs
overlayfs -- the kernel's version, not fuse-overlayfs -- recently learned
(as of linux 5.16.0, I believe) how to support rootless users. Previously,
rootless users had to use these storage.conf(5) settings:

* storage.driver=vfs          (aka STORAGE_DRIVER=vfs), or
* storage.driver=overlay      (aka STORAGE_DRIVER=overlay),
  storage.options.overlay.mount_program=/usr/bin/fuse-overlayfs
                              (aka STORAGE_OPTS=/usr/bin/fuse-overlayfs)

Now that a third backend is available, setting only:

* storage.driver=overlay      (aka STORAGE_DRIVER=overlay)

https://github.com/containers/podman/issues/13123 reported EXDEV errors
during the normal operation of their container. Tracing it out, the
problem turned out to be that their container was being mounted without
'userxattr'; I don't fully understand why, but mount(8) mentions this is
needed for rootless users:

> userxattr
>
>   Use the "user.overlay." xattr namespace instead of "trusted.overlay.".
>   This is useful for unprivileged mounting of overlayfs.

https://github.com/containers/storage/pull/1156 found and fixed the issue
in podman, and this just pulls in that via

    go get github.com/containers/storage@ebc90ab
    go mod vendor
    make vendor

Closes https://github.com/containers/podman/issues/13123

Signed-off-by: Nick Guenther <nick.guenther@polymtl.ca>
2022-03-01 12:09:42 -05:00
..
buildah Bump github.com/containers/buildah from 1.24.1 to 1.24.2 2022-02-17 12:08:46 +00:00
common Vendor in containers/common@main 2022-02-28 16:23:26 -05:00
conmon Add an API for Attach over HTTP API 2020-01-16 13:49:21 -05:00
image/v5 Vendor in containers/common@main 2022-02-28 16:23:26 -05:00
libtrust Vendor in containers/common@main 2022-02-28 16:23:26 -05:00
ocicrypt Bump github.com/containers/ocicrypt from 1.1.1 to 1.1.2 2021-06-29 12:30:56 +00:00
psgo vendor c/psgo@v1.7.2 2022-01-20 16:56:20 +01:00
storage Use storage that better supports rootless overlayfs 2022-03-01 12:09:42 -05:00