Re: SELinux-Support in Linux NFSv4.1 impl?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2024-02-17 at 06:37 (-0700), Martin Wege wrote:
> Is there documentation on how to set this up? Will this work if the
> root fs ('/') is NFSv4.2?

> 

Hi Martin,
On your server's /etc/exports add "security_label" like so:

    /srv  *(sec=krb5,security_label,ro,fsid=0)  (example)

On your client, make sure it is mounting with nfsvers=4.2

Run 'mount' on client to confirm "seclabel" is showing in the output,
and you will see the labels coming through with ls -Z


-- 
Matt




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux