linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kerberized NFSv4 client reporting operation not permitted when mounting with sec=sys
@ 2020-01-22  9:22 Felix Rubio
  2020-01-22 18:30 ` Benjamin Coddington
  0 siblings, 1 reply; 15+ messages in thread
From: Felix Rubio @ 2020-01-22  9:22 UTC (permalink / raw)
  To: linux-nfs

Hi everybody,

I have a kerberized NFSv4 server that is exporting a mountpoint:

     /home 10.0.0.0/8(rw,no_subtree_check,sec=krb5:krb5i:krb5p)

if I mount that export with this command on the client, it works as 
expected:

     /sbin/mount.nfs4 NFS.domain:/home /network/home -o 
_netdev,noatime,hard,sec=krb5

However, if I modify the export to be

     /home 10.0.0.0/8(rw,no_subtree_check,sec=sys:krb5:krb5i:krb5p)

and I mount that export with sec=sys, as

     /sbin/mount.nfs4 NFS.domain:/home /network/home -o 
_netdev,noatime,hard,sec=sys

I get the following error:

     mount.nfs4: timeout set for Fri Jan 17 14:11:32 2020
     mount.nfs4: trying text-based options 
'hard,sec=sys,vers=4.1,addr=10.2.2.9,clientaddr=10.2.0.12'
     mount.nfs4: mount(2): Operation not permitted
     mount.nfs4: Operation not permitted

What might be the reason for this behavior?

-- 
Felix Rubio
"Don't believe what you're told. Double check."

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

end of thread, other threads:[~2020-07-07 15:51 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-22  9:22 kerberized NFSv4 client reporting operation not permitted when mounting with sec=sys Felix Rubio
2020-01-22 18:30 ` Benjamin Coddington
2020-01-23  9:03   ` Felix Rubio
2020-01-24 14:45     ` Benjamin Coddington
2020-01-24 16:49       ` Felix Rubio
2020-02-04 19:14         ` Benjamin Coddington
2020-02-05 11:09           ` Felix Rubio
     [not found]       ` <b0bcd3e608d6fbc05c0751380f6a0e7b@kngnt.org>
     [not found]         ` <7B337925-F225-4DD7-A8CF-ECBBE1AC7082@redhat.com>
2020-07-02 13:41           ` Felix Rubio
2020-07-02 16:52             ` Dai Ngo
2020-07-02 17:52               ` Felix Rubio
2020-07-06 17:18                 ` J. Bruce Fields
2020-07-06 19:57                   ` Patrick Goetz
2020-07-06 20:27                     ` J. Bruce Fields
2020-07-07 15:10                       ` Patrick Goetz
2020-07-07 15:51                         ` J. Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).