-
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
umount: only root can use "--types" option #8478
Comments
+1 , same problem |
+1. I ran against this issue yesterday. I am assuming that this is a bug not a "feature". |
To be clear, this is purely about improving the error message. The unmount restriction is from Linux itself. And to some extent this issue is for me to hang a PR from, although I haven't gotten to it yet. |
Any workarounds on the Linux side? I would prefer not the elevate to root for ordinary replication jobs. |
You can use sudo as a workaround and control which datasets and actions are
allowed via the sudoers file (you also need to create a user of course),
works fine for me.
…On Sat, May 25, 2019 at 1:38 AM minorsatellite ***@***.***> wrote:
Any workarounds on the Linux side? I would prefer not the elevate to root
for ordinary replication jobs.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#8478>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAIQO7F4NR6ZJAYB7DYDI7LPXB4BDANCNFSM4G4HCNMQ>
.
|
This should result in better error handling (openzfs#8478)
This should result in better error handling Closes openzfs#8478 Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
@minorsatellite: with many many many security warnings, apparently there would be some way to work around this using |
Try to give better error messages for this case... Closes openzfs#8478 Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
it's probably fixed in 0.8. |
Not for me,
|
This is broken in 0.8.3-1ubuntu12.12 |
This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions. |
Sigh |
This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions. |
Sigh |
System information
Describe the problem you're observing
When I try to create a volume as a non root user, I get a pretty warning explaining that as a non root user zfs can't mount the volume.
When I try to destroy a volume as a non root user, I get a technical warning (from
/bin/umount
)The equivalent error can be seen here:
$ /bin/umount x --types foo umount: only root can use "--types" option
Ideally, just as zfs create gives a human readable warning when it knows it can't mount a volume, zfs destroy should give a human readable warning when it knows it can't unmount a volume.
Describe how to reproduce the problem
Include any warning/errors/backtraces from the system logs
The text was updated successfully, but these errors were encountered: