Skip to content

SELinux bug #18246

@nateskulic

Description

@nateskulic

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: DefectIncorrect behavior (e.g. crash, hang)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions