Bug 723438
Summary: | rpc.mountd can segfault with showmount - REFERENCE TO PATCH THAT FIXES THIS | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Steven Capper <steven.capper99> | |
Component: | nfs-utils | Assignee: | Steve Dickson <steved> | |
Status: | CLOSED ERRATA | QA Contact: | yanfu,wang <yanwang> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 6.1 | CC: | dwysocha, jmagrini, makc, rdassen, ron.cronenwett | |
Target Milestone: | rc | Keywords: | Regression | |
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | nfs-utils-1.2.3-8.el6 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1020655 (view as bug list) | Environment: | ||
Last Closed: | 2011-12-06 18:54:00 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1020655 |
Description
Steven Capper
2011-07-20 07:15:26 UTC
Ah, I see that the "assigned to" matches the thread post author :-). *** Bug 730000 has been marked as a duplicate of this bug. *** reproduced on RHEL6.1 with below package: # uname -a Linux nec-em26.rhts.eng.bos.redhat.com 2.6.32-131.0.15.el6.x86_64 #1 SMP Tue May 10 15:42:40 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux # rpm -qa|grep nfs-utils nfs-utils-1.2.3-7.el6.x86_64 nfs-utils-lib-1.1.5-3.el6.x86_64 client: [root@amd-tilapia-01 ~]# mount -t nfs nec-em26.rhts.eng.bos.redhat.com:/tmp /mnt [root@amd-tilapia-01 ~]# mount /dev/mapper/vg_amdtilapia01-lv_root on / type ext4 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0") /dev/sda1 on /boot type ext4 (rw) /dev/mapper/vg_amdtilapia01-lv_home on /home type ext4 (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) nec-em26.rhts.eng.bos.redhat.com:/tmp on /mnt type nfs (rw,addr=10.16.67.8) [root@amd-tilapia-01 ~]# cat /var/lib/nfs/rmtab (check server: [root@nec-em26 ~]# cat /var/lib/nfs/rmtab 10.16.67.10:/tmp:0x00000001 ====> new entry added, so the /var/lib/nfs/rmtab file of server changed) [root@amd-tilapia-01 ~]# showmount -a nec-em26.rhts.eng.bos.redhat.com All mount points on nec-em26.rhts.eng.bos.redhat.com: 10.16.67.10:/tmp 10.16.67.8:/tmp [root@amd-tilapia-01 ~]# umount /mnt [root@amd-tilapia-01 ~]# showmount -a nec-em26.rhts.eng.bos.redhat.com rpc mount dump: RPC: Unable to receive; errno = Connection reset by peer server: [root@nec-em26 ~]# dmesg|tail SELinux: initialized (dev 0:14, type nfs), uses genfs_contexts SELinux: initialized (dev 0:14, type nfs), uses genfs_contexts nfsd: last server has exited, flushing export cache NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory NFSD: starting 90-second grace period rpc.mountd[3651]: segfault at 7fff5bcbfff8 ip 00007f34a92c26d1 sp 00007fff5bcc0000 error 6 in libc-2.12.so[7f34a9240000+187000] nfsd: last server has exited, flushing export cache NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory NFSD: starting 90-second grace period rpc.mountd[3868]: segfault at 7f00706d7420 ip 00007fa80236386f sp 00007fff72937508 error 4 in libc-2.12.so[7fa80223d000+187000] [root@nec-em26 ~]# /etc/init.d/nfs status rpc.svcgssd is stopped rpc.mountd dead but subsys locked ====> note rpc.mountd is dead nfsd (pid 3648 3647 3646 3645 3644 3643 3642 3641) is running... rpc.rquotad (pid 3635) is running... Additional info: [root@nec-em26 ~]# cat /etc/exports /tmp *(rw,fsid=0,sync,all_squash,anonuid=500,anongid=500) Verified on nfs-utils-1.2.3-8.el6 with the same test steps, showmount could let the NFS client mounts to be shown after /var/lib/nfs/rmtab file changes and rpc.mountd no segfault now. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2011-1534.html |