Hi:
The exports man page says that one can vary ro/rw based on security
flavor by including multiple sec= options in /etc/exports, but it seems
to be broken in nfs-utils-1.3.0-0.48.el7_4.
For example this /etc/exports:
/export/pub 10.13.0.0/16(sec=sys,ro,sec=krb5i:krb5p,rw)
results in this /var/lib/nfs/etab:
/export/pub
10.13.0.0/16(rw,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,anonuid=65534,anongid=65534,sec=sys,secure,root_squash,no_all_squash,sec=krb5i:krb5p,secure,root_squash,no_all_squash)
Only the rw option is present in etab, that applies to both sec=sys and
sec=krb5i:krb5p.
Is this bug specific to redhat or also present upstream?
Please include me in replies as I'm not subscribed to the list.
Thanks,
Tamas
--
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