On 07/05/2016 02:45 PM, Steve Dickson wrote: > > > 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... It turns out the problem has nothing to do that commit because the export flags that are being passed to it are wrong. When the sec= specified in the default options the flags stored in the e_secinfo are the default export flags and are not being updated by the host-specific options. I'm not sure how this ever worked... :-( 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