-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 as non-root errors trying to lock unnecessary etab file. #385
Comments
Yes, this sounds like a bug which just wasn't observed to always running these tools as root. We'll try and limit accessing the etab file to nfs specific commands. |
I think that this ticket is not-a-bug and the reported behavior is arguably correct. First, ZoL assumes root privileges in its default configuration. The problem is mitigated by customizing the permissions on the Second, the error messages are important for the regular configuration, but otherwise cosmetic. Third, This ticket might be a bug if ZoL implements delegations, per issue #362, or gets packaging that provisions a system group for zfs, like on Solaris. |
I'm going to defer this work until we have delegations properly working. |
FWIW, I can't reproduce. With confirmation, I believe this can be closed. |
This was resolved by commit 4dad7d9. Closing. |
when zfs is run as non root via:
zfs and zpool both emit the following error:
it then functions as normal, however, is it necessary to lock nfs.etab.lock for this, and other read only commands? I get this error with zfs create, zpool iostat, zpool status, zpool list, and other various commands which have little to no business locking the nfs etab.
The text was updated successfully, but these errors were encountered: