Skip to contentSkip to conversation

Problem starting rpc.svcgssd for NFS4

DISCUSSION Simeon Miteff 3 participants 6 messages Feb 23, 2004 – Feb 25, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi All

I'm using kernel 2.6.3, the patched util-linux and nfs-utils, my kerberos5 setup is working (tested with openssh), and so far I've done everything as described by http://www.citi.umich.edu/projects/nfsv4/linux/, yet I get this problem when I try to start rpc.svcgssd:

Feb 20 08:39:11 io gssd[25729]: Using (default) Kerberos realm: "EE.UP.AC.ZA"
Feb 20 08:39:11 io gssd[25729]: Initialized credentials cache
Feb 20 08:39:11 io gssd[25729]: Using credentials cache: 
"FILE:/tmp/krb5cc_machine"
Feb 20 08:39:11 io gssd[25729]: Acquired initial kerberos ticket
Feb 20 08:39:11 io gssd[25729]: failed to 

open /proc/net/rpc/auth.rpcsec.init/channel

Looking in that directory:

simeon@io rpc $ ls -l /proc/net/rpc/
total 0

dr-xr-xr-x    2 root     root            0 Feb 23 07:57 auth.domain
dr-xr-xr-x    2 root     root            0 Feb 20 08:38 auth.unix.ip
-r--r--r--    1 root     root            0 Feb 23 07:57 nfs
-r--r--r--    1 root     root            0 Feb 23 07:57 nfsd
dr-xr-xr-x    2 root     root            0 Feb 20 08:38 nfsd.export
dr-xr-xr-x    2 root     root            0 Feb 20 08:38 nfsd.fh

Any Ideas why /proc/net/rpc/auth.rpcsec.init/channel is missing? I double checked the kernel config options...

Regards,
Simeon.

Signature · 20 lines
Mr Simeon Miteff
Department of Electrical, Electronic and Computer Engineering
University of Pretoria
Pretoria
0002
South Africa
Tel: +27 12 420 2434
-----------------------------------------------
This message and attachments are subject to a disclaimer. Please refer
to www.it.up.ac.za/documentation/governance/disclaimer/ for details.


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#1 lore raw
Quoted 24 lines · Simeon Miteff

I'm using kernel 2.6.3, the patched util-linux and nfs-utils, my kerberos5 setup is working (tested with openssh), and so far I've done everything as described by http://www.citi.umich.edu/projects/nfsv4/linux/, yet I get this problem when I try to start rpc.svcgssd:

Feb 20 08:39:11 io gssd[25729]: Using (default) Kerberos realm: "EE.UP.AC.ZA"
Feb 20 08:39:11 io gssd[25729]: Initialized credentials cache
Feb 20 08:39:11 io gssd[25729]: Using credentials cache: 
"FILE:/tmp/krb5cc_machine"
Feb 20 08:39:11 io gssd[25729]: Acquired initial kerberos ticket
Feb 20 08:39:11 io gssd[25729]: failed to 

open /proc/net/rpc/auth.rpcsec.init/channel

Looking in that directory:

simeon@io rpc $ ls -l /proc/net/rpc/
total 0

dr-xr-xr-x    2 root     root            0 Feb 23 07:57 auth.domain
dr-xr-xr-x    2 root     root            0 Feb 20 08:38 auth.unix.ip
(quoted diff) +0 -2
-r--r--r--    1 root     root            0 Feb 23 07:57 nfs
-r--r--r--    1 root     root            0 Feb 23 07:57 nfsd
dr-xr-xr-x    2 root     root            0 Feb 20 08:38 nfsd.export
dr-xr-xr-x    2 root     root            0 Feb 20 08:38 nfsd.fh
Quoted 2 lines

Any Ideas why /proc/net/rpc/auth.rpcsec.init/channel is missing? I double checked the kernel config options...

Are you using the kernel.org 2.6.3? It has no support for rpcsec_gss on the server side. We're working with Neil to get that in; it should happen soon. For now, you could test with our CITI_NFS4_ALL patch,

http://www.citi.umich.edu/projects/nfsv4/linux/

--Bruce Fields

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#2 lore raw

Hi again,

Thanks! Applying the patch solved the problem. I can mount exports with -osec=krb5 and stuff.

The main reason why I want to use NFS4 is for the security it provides. While I understand that NFS4 isn't concidered ready for production systems yet, I'm wondering, is it a good idea to use -osec=krb5 with NFS3 in the mean-time?

Regards,
Simeon.

Quoted 47 lines · J. Bruce Fields
Quoted 26 lines · Simeon Miteff

I'm using kernel 2.6.3, the patched util-linux and nfs-utils, my kerberos5 setup is working (tested with openssh), and so far I've done everything as described by
http://www.citi.umich.edu/projects/nfsv4/linux/, yet I get this problem when I try to start rpc.svcgssd:

Feb 20 08:39:11 io gssd[25729]: Using (default) Kerberos realm:
"EE.UP.AC.ZA" Feb 20 08:39:11 io gssd[25729]: Initialized credentials
cache
Feb 20 08:39:11 io gssd[25729]: Using credentials cache:
"FILE:/tmp/krb5cc_machine"
Feb 20 08:39:11 io gssd[25729]: Acquired initial kerberos ticket
Feb 20 08:39:11 io gssd[25729]: failed to

open /proc/net/rpc/auth.rpcsec.init/channel

Looking in that directory:

simeon@io rpc $ ls -l /proc/net/rpc/
total 0

dr-xr-xr-x    2 root     root            0 Feb 23 07:57 auth.domain
dr-xr-xr-x    2 root     root            0 Feb 20 08:38 auth.unix.ip
(quoted diff) +0 -2
-r--r--r--    1 root     root            0 Feb 23 07:57 nfs
-r--r--r--    1 root     root            0 Feb 23 07:57 nfsd
dr-xr-xr-x    2 root     root            0 Feb 20 08:38 nfsd.export
dr-xr-xr-x    2 root     root            0 Feb 20 08:38 nfsd.fh
Quoted 2 lines

Any Ideas why /proc/net/rpc/auth.rpcsec.init/channel is missing? I double checked the kernel config options...

Are you using the kernel.org 2.6.3? It has no support for rpcsec_gss on the server side. We're working with Neil to get that in; it should happen soon. For now, you could test with our CITI_NFS4_ALL patch,

http://www.citi.umich.edu/projects/nfsv4/linux/

--Bruce Fields

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

Signature · 20 lines
Mr Simeon Miteff
Department of Electrical, Electronic and Computer Engineering
University of Pretoria
Pretoria
0002
South Africa
Tel: +27 12 420 2434
-----------------------------------------------
This message and attachments are subject to a disclaimer. Please refer
to www.it.up.ac.za/documentation/governance/disclaimer/ for details.


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#3 lore raw
Quoted 6 lines · Simeon Miteff

Thanks! Applying the patch solved the problem. I can mount exports with -osec=krb5 and stuff.

The main reason why I want to use NFS4 is for the security it provides. While I understand that NFS4 isn't concidered ready for production systems yet, I'm wondering, is it a good idea to use -osec=krb5 with NFS3 in the mean-time?

That should work. One caveat: there are some potentially serious performance problems with rpcsec_gss over tcp, so make sure you specify proto=tcp. If you come across any problems in testing, let us know.

--b.

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#4 lore raw
Quoted 11 lines · On Tuesday February 24, [email protected] wrote:
Quoted 6 lines · Simeon Miteff

Thanks! Applying the patch solved the problem. I can mount exports with -osec=krb5 and stuff.

The main reason why I want to use NFS4 is for the security it provides. While I understand that NFS4 isn't concidered ready for production systems yet, I'm wondering, is it a good idea to use -osec=krb5 with NFS3 in the mean-time?

That should work. One caveat: there are some potentially serious performance problems with rpcsec_gss over tcp, so make sure you specify proto=tcp. If you come across any problems in testing, let us know.

I assume there is a typo in here.
Can I assume you mean "performance problems with rpcsec_gss over *udp*"??

NeilBrown

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#5 lore raw
Quoted 8 lines · Neil Brown
Quoted 3 lines · On Tuesday February 24, [email protected] wrote:

That should work. One caveat: there are some potentially serious performance problems with rpcsec_gss over tcp, so make sure you specify proto=tcp. If you come across any problems in testing, let us know.

I assume there is a typo in here.
Can I assume you mean "performance problems with rpcsec_gss over *udp*"??

Argh, yes, thanks for the correction.

--Bruce Fields

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs