-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZFS rootless can't set pool name #11415
Comments
tried on /testing (3.3.0) and got the same result. the command being generated is wrong.
...can't work. The command should be...
|
@nalind This seems like it should be moved to c/storage |
Actually, upon further investigation this is not a bug, it seems. Despite the fact that the user can be granted "create" ability on linux ZFS, the user can't use it without permission to the Would be nice to put a blurb in the docs for ZFS, I suppose that explains this.
I checked building a root container with the same storage.conf and it worked fine, so this has to be the user's inability to |
Please open a PR with the docs changes, if you want it. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
zfs allow
a user to perform zfs dataset commands and try to start a rootless containerit seems I am missing a means of setting the root pool for the zfs command, or podman is not picking up the setting properly (I have tried
fs="rpool"
andfsname="rpool"
under storage.conf to no avail)Steps to reproduce the issue:
install podman from kubic repo for ubuntu 20.04
grant a user zfs dataset permissions
try to create a rootless container after specifying storage.conf in the user's local .config
Describe the results you received:
As you can see podman is trying to use the pool "fs." I don't have a pool named "fs."
Describe the results you expected:
build a rootless podman image
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Yes, troubleshooting guide doesn't have anything particular to zfs.
I checked the notes related to storage and filesystem config between my version and the current, is this possibly also #10264? not sure...
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: