-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
Type: DefectIncorrect behavior (e.g. crash, hang)Incorrect behavior (e.g. crash, hang)
Description
Hi!
I had an error with ZFS import/mount after disabling SELinux.
zfs mount or zpool import would fail with "Invalid Argument" (EINVAL).
Just wanted to report a fix for anyone else having the issue... Run the following commands for each dataset; then import your pools as usual:
zfs set context=none fscontext=none defcontext=none rootcontext=none [dataset]
I think this is a bug, and these arguments should be excluded from zfs_mount_at()/do_mount()/mount() if SELinux is disabled.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: DefectIncorrect behavior (e.g. crash, hang)Incorrect behavior (e.g. crash, hang)