Rootless Podman with zfs
Storage Driver -- "Error: cannot find root filesystem"
#1757
Labels
zfs
Storage Driver -- "Error: cannot find root filesystem"
#1757
Issue Description
Rootless Podman is unable to list ZFS filesystems.
Here is the rootless
storage.conf
file:This is the error I get when attempting to do anything with rootless Podman:
When I run the command manually using the same user, I am able to list the filesystem just fine:
~/.local/share/containers
is owned by<user>:<user>
and here are the ZFS permissions:Steps to reproduce the issue
$ podman system reset
$ su -
# zfs create -o mountpoint=/home/<user>/.local/share/containers -o dedup=on zroot/containers
# zfs allow <user> create,destroy,mount,snapshot zroot/containers
# chown <user>:<user> /home/<user>/.local/share/containers
exit
$ podman system info
Describe the results you received
After running
podman system info
(or any Podman command as a regular user):Describe the results you expected
The
zfs
storage driver is able to "see" the dataset and returns the system info without error.podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
No response
Additional information
Interestingly, using the
zfs
storage driver asroot
works fine on the same system:The text was updated successfully, but these errors were encountered: