On Thu, 26 May 2011, ferna...@lozano.eti.br wrote:

Hi there,

I need acess to NFS shares secured by NFS. After installing Fedora 15 on my
notebook I replicated all configs I used on other machine with Fedora 14,
but rpcgssd doesn't start and so I cannot mount the NFS share.

I changed /etc/sysconfig/nfs so:

# Set to turn on Secure NFS mounts.
SECURE_NFS="yes"
# Optional arguments passed to rpc.gssd. See rpc.gssd(8)
RPCGSSDARGS="-v -v"

I kave a keytab with correct parameters:
[teste@lgx200 ~]$ klist -k
Keytab name: WRFILE:/etc/krb5.keytab
KVNO Principal
----
--------------------------------------------------------------------------
   2 nfs/lgx200.4linux.com.br@USERS

When I start rpcgssd it shows an ok:
[root@lgx200 ~]# /etc/init.d/rpcgssd start ; echo $?
Starting rpcgssd (via systemctl):                          [  OK  ]
0

But the daemon does not starts:
[root@lgx200 ~]# !ps
ps ax | grep rpc
  889 ?        Ss     0:00 rpcbind
 1024 ?        Ss     0:00 rpc.statd
 1026 ?        S<     0:00 [rpciod]
 1052 ?        Ss     0:00 rpc.idmapd
15109 pts/1    S+     0:00 grep --color=auto rpc

And when I try to mount, the command seems struck, but  the logs show:

May 26 01:37:13 lgx200 kernel: [ 3285.830093] RPC: AUTH_GSS upcall timed
out.
May 26 01:37:13 lgx200 kernel: [ 3285.830103] Please check user daemon is
running.


Any ideas why rpcgssd isn't starting?


It could be bug 702707 https://bugzilla.redhat.com/show_bug.cgi?id=702707

The nfs-utils start up scripts such as rpcgssd and rpcidmapd don't work if run in parallel (which systemd does) and one will fail. Systemd isn't very helpful here either because it decides the service is running so you can't use service rpcgssd start afterwards to start it, but service rpcgssd restart should work.

        Michael Young
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to