Red Hat Bugzilla – Bug 245376
Errors on shutdown with kerberos NFS filesystems mounted
Last modified: 2007-11-30 17:07:45 EST
Description of problem:
rpcgssd init script shuts down rpc.gssd before autofs and netfs which causes
additional delays and unmount errors when using kerberos with NFS. I've fixed it
by changing the chkconfig shutdown number for rpcgssd from 69 to 79.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Enable rpcgssd through the normal means
2. Mount a kerberos NFS filesystem
3. Shutdown the machine.
Errors attempting to unmount kerberos NFS filesystems
Clean unmount of kerberos NFS filesystems
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
Boy, I'm not seeing this at all... would it be possible
to log the errors your seeing and post them?
Also which kernel and nfs-utils version are you using?
The errors are in the form of:
Jun 29 14:20:22 kapow kernel: RPC: AUTH_GSS upcall timed out.
Jun 29 14:20:22 kapow kernel: Please check user daemon is running!
and creates about a 30 second delay on shutdown.
It appears that the file systems don't like being unmounted during the autofs
and netfs shutdown when the rpc.gssd daemon is already turned off.
Just another quick note...
rpc.gssd has been enabled with a:
echo "SECURE_NFS=yes" >> /etc/sysconfig/nfs
Fixed in nfs-utils-1.0.9-23.el5
From a quick look it seems that for new installs this will work fine (not tested
Updates from 5.0 will still keep the old priority though until the admin does
something like: "chkconfig --del rpcidmapd; chkconfig --add rpcidmapd".
For example my F7 install which has the fix still had the old priority in the
init scripts (until a minute ago :) since I never noticed anything in the changelog.
This request was previously evaluated by Red Hat Product Management
for inclusion in the current Red Hat Enterprise Linux release, but
Red Hat was unable to resolve it in time. This request will be
reviewed for a future Red Hat Enterprise Linux release.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.