Re: /etc/exports parsing is borked again in nfs-utils

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

 




On 06/25/2016 04:12 PM, Trond Myklebust wrote:
> [root@leira nfs]# cat /etc/exports
> /export		-ro,sec=sys,sync	localhost(rw,no_root_squ
> ash)
> [root@leira nfs]# exportfs -rv
> exporting localhost:/export
> [root@leira nfs]# mount -t nfs localhost:/export /mnt/nfs
> [root@leira nfs]# mkdir /mnt/nfs/gnurr
> mkdir: cannot create directory ‘/mnt/nfs/gnurr’: Read-only file system
> 
> 
> Note that removing the "sec=sys" above causes the test to succeed.
> 
Well it has something to do with

commit 9b5c3c6a6571a265a90cfce30345891fac24a67c
Author: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx>
Date:   Wed Sep 18 11:50:58 2013 -0400

    exportfs: insecure/secure should be a secinfo_flag

Because I commit out the call to secinfo_flags_show(), 
the export is exported correctly... still looking... 

steved.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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