Red Hat Bugzilla – Bug 449736
nfs rpc.mountd crashes regularly (Segmentation fault)
Last modified: 2008-07-03 12:15:37 EDT
Description of problem:
On a Fedora 9 system that exports an nfs share, rpc.mountd crashes on a sort of
regular basis. Most of the crashes are in libnss_ldap-259.so (we use LDAP for
the user database and automount maps)
Version-Release number of selected component (if applicable):
The problems occur both on x86_64 and on i386 systems.
Steps to Reproduce:
1. Add a directory to /etc/exports and activate the nfs service.
2. Use the exported filesystem from another computer, either through autofs or
through a manual mount command.
3. At some time it crashes, sometimes very quickly, sometimes after more than a
day, but under a heavy load, I haven't experienced a stable nfs mountd for
longer than a couple of hours
Here are the results of the last few crashes, I regularly restart the nfs
Jun 2 15:18:54 eendracht kernel: rpc.mountd: segfault at 100000005 ip
dc0922a5 sp 7fff1b09ed20 error 4 in libnss_ldap-259.so[dc058000+4b000]
Jun 2 17:10:53 eendracht kernel: rpc.mountd: segfault at 100000005 ip
f810e2a5 sp 7fff41e2b5b0 error 4 in libnss_ldap-259.so[f80d4000+4b000]
Jun 2 17:55:55 eendracht kernel: automount: segfault at 10000000b ip
576712a5 sp 405160d0 error 4 in libnss_ldap-259.so[57637000+4b000]
Jun 3 00:01:29 eendracht kernel: automount: segfault at 100000009 ip
149b52a5 sp 41cac0d0 error 4 in libnss_ldap-259.so[1497b000+4b000]
Jun 3 07:38:57 eendracht kernel: automount: segfault at 100000007 ip
8b5112a5 sp 41aa20d0 error 4 in libnss_ldap-259.so[8b4d7000+4b000]
a stable nfs server
Since we use LDAP also to serve automount maps, and the crashes occur in
libnss_ldap, I have also configured a computer without autofs, but the results
are the same (as was to be expected, since it is the server-side nfs daemon that
crashes, not the client-side mount command invoked by autofs).
So LDAP is primarily in use to look up users and groups.
My test system now runs with SELinux disabled, to eliminate the possibility that
that is the cause of the problem, but the crashes still happen.
Settings in /etc/exports:
Any recent fixes in the nss_ldap that might have address this
I've just reinstalled Fedora 9 (went back to 8 due to the instability). I'll
report my findings over the next couple of days.
Are you still seeing this problem after the reinstall?
No, no more crashes since the reinstall with latest updates.