All of lore.kernel.org
 help / color / mirror / Atom feed
* Varying ro/rw based on security flavor doesn't work
@ 2018-01-09 15:11 Tamas Vincze
  2018-01-09 19:23 ` J. Bruce Fields
  0 siblings, 1 reply; 5+ messages in thread
From: Tamas Vincze @ 2018-01-09 15:11 UTC (permalink / raw)
  To: linux-nfs

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-01-11 18:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-09 15:11 Varying ro/rw based on security flavor doesn't work Tamas Vincze
2018-01-09 19:23 ` J. Bruce Fields
2018-01-09 20:47   ` Tamas Vincze
2018-01-11 15:36   ` Tamas Vincze
2018-01-11 18:11     ` Justin Mitchell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.