Re: NFS and selinux context question

Ed Greshko <[email protected]> Tue, 28 Sep 2021 21:04:59 +0800
Newsgroups gmane.linux.redhat.fedora.selinux
Message-ID <[email protected]>
On 28/09/2021 19:53, Ondrej Mosnacek wrote:
> For sharing SELinux labels over NFS you need to export the directory
> with the "security_label" option on the server side. For example, if I
> wanted to export a directory for testing purposes, I would do:
>
> exportfs -o rw,security_label localhost:/path/to/dir
>
> I guess in your case you probably have the export configured in
> /etc/exports - in that case you need to add the "security_label"
> option in that file.

That was it.  Thanks much.

And with that bit of knowledge I found that had I read "man 5 exports" I may have
found it on my own.

_______________________________________________
selinux mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure