public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* NFS: SECINFO: security flavor 390003 is not supported
@ 2017-01-04 19:03 Dave Jones
  2017-01-04 19:23 ` Steve Dickson
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Jones @ 2017-01-04 19:03 UTC (permalink / raw)
  To: bfields; +Cc: jlayton, Linux Kernel, linux-nfs

Since upgrading to 4.10-rc2, my nfs server has started printing these..

[  161.668635] NFS: SECINFO: security flavor 390003 is not supported
[  161.668655] NFS: SECINFO: security flavor 390004 is not supported
[  161.668670] NFS: SECINFO: security flavor 390005 is not supported

Client is debian's 4.8 kernel with default mount options, so sec=sys

What should I be doing to suppress these ? What causes them ?

	Dave

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

* Re: NFS: SECINFO: security flavor 390003 is not supported
  2017-01-04 19:03 NFS: SECINFO: security flavor 390003 is not supported Dave Jones
@ 2017-01-04 19:23 ` Steve Dickson
  2017-01-04 19:29   ` Dave Jones
  0 siblings, 1 reply; 4+ messages in thread
From: Steve Dickson @ 2017-01-04 19:23 UTC (permalink / raw)
  To: Dave Jones, bfields, jlayton, Linux Kernel, linux-nfs



On 01/04/2017 02:03 PM, Dave Jones wrote:
> Since upgrading to 4.10-rc2, my nfs server has started printing these..
> 
> [  161.668635] NFS: SECINFO: security flavor 390003 is not supported
> [  161.668655] NFS: SECINFO: security flavor 390004 is not supported
> [  161.668670] NFS: SECINFO: security flavor 390005 is not supported
> 
> Client is debian's 4.8 kernel with default mount options, so sec=sys
> 
> What should I be doing to suppress these ? What causes them ?
The auth_rpcgss or rpcsec_gss_krb5 kernel modules not being loaded??

steved.

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

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

* Re: NFS: SECINFO: security flavor 390003 is not supported
  2017-01-04 19:23 ` Steve Dickson
@ 2017-01-04 19:29   ` Dave Jones
  2017-01-04 19:48     ` J. Bruce Fields
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Jones @ 2017-01-04 19:29 UTC (permalink / raw)
  To: Steve Dickson; +Cc: bfields, jlayton, Linux Kernel, linux-nfs

On Wed, Jan 04, 2017 at 02:23:58PM -0500, Steve Dickson wrote:
 > 
 > 
 > On 01/04/2017 02:03 PM, Dave Jones wrote:
 > > Since upgrading to 4.10-rc2, my nfs server has started printing these..
 > > 
 > > [  161.668635] NFS: SECINFO: security flavor 390003 is not supported
 > > [  161.668655] NFS: SECINFO: security flavor 390004 is not supported
 > > [  161.668670] NFS: SECINFO: security flavor 390005 is not supported
 > > 
 > > Client is debian's 4.8 kernel with default mount options, so sec=sys
 > > 
 > > What should I be doing to suppress these ? What causes them ?
 > The auth_rpcgss or rpcsec_gss_krb5 kernel modules not being loaded??

I don't use kerberos, and CONFIG_SUNRPC_GSS=y

	Dave

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

* Re: NFS: SECINFO: security flavor 390003 is not supported
  2017-01-04 19:29   ` Dave Jones
@ 2017-01-04 19:48     ` J. Bruce Fields
  0 siblings, 0 replies; 4+ messages in thread
From: J. Bruce Fields @ 2017-01-04 19:48 UTC (permalink / raw)
  To: Dave Jones, Steve Dickson, jlayton, Linux Kernel, linux-nfs,
	chuck.lever

On Wed, Jan 04, 2017 at 02:29:01PM -0500, Dave Jones wrote:
> On Wed, Jan 04, 2017 at 02:23:58PM -0500, Steve Dickson wrote:
>  > 
>  > 
>  > On 01/04/2017 02:03 PM, Dave Jones wrote:
>  > > Since upgrading to 4.10-rc2, my nfs server has started printing these..
>  > > 
>  > > [  161.668635] NFS: SECINFO: security flavor 390003 is not supported
>  > > [  161.668655] NFS: SECINFO: security flavor 390004 is not supported
>  > > [  161.668670] NFS: SECINFO: security flavor 390005 is not supported
>  > > 
>  > > Client is debian's 4.8 kernel with default mount options, so sec=sys
>  > > 
>  > > What should I be doing to suppress these ? What causes them ?
>  > The auth_rpcgss or rpcsec_gss_krb5 kernel modules not being loaded??
> 
> I don't use kerberos, and CONFIG_SUNRPC_GSS=y

Hm, looks like that warning's from 676e4ebd5f2c "NFSD: SECINFO doesn't
handle unsupported pseudoflavors correctly", which went into 3.10-rc1.

So mountd is probably telling us that krb5/krb5i/krb5p are permitted on
some exports, though your kernel doesn't think it supports those for
some reason.

The exports are probably the v4 pseudoroot exports (I don't think normal
exports get the krb5 flavors unless you explicitly ask for them).  So
this is partly also the fault of nfs-utils 4a1ad4aa3028 "mountd: Enable
all auth flavors on pseudofs exports".

I don't know why your kernel doesn't think it supports those....  Is it
possible to have have CONFIG_SUNRPC_GSS set and not
CONFIG_RPCSEC_GSS_KRB5?

Maybe simplest is just demote that printk to a debugging thing.  It was
intended to help debug the case when somebody tries to, say, add
sec=krb5 exports but doesn't get the kernel configuration right, but
with mountd passing everything down in some cases it's not so helpful.

--b.

> 
> 	Dave
> 

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

end of thread, other threads:[~2017-01-04 19:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-04 19:03 NFS: SECINFO: security flavor 390003 is not supported Dave Jones
2017-01-04 19:23 ` Steve Dickson
2017-01-04 19:29   ` Dave Jones
2017-01-04 19:48     ` 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