RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1003792 - NFS initscript bug
Summary: NFS initscript bug
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: nfs-utils
Version: 6.5
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Steve Dickson
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On: 809201
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-03 08:46 UTC by JianHong Yin
Modified: 2018-11-27 20:05 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 809201
Environment:
Last Closed: 2013-10-11 18:43:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 JianHong Yin 2013-09-03 08:47:48 UTC
[root@ibm-x3550m3-02 ~]# service rpcidmapd stop
Shutting down RPC idmapd: [FAILED]
[root@ibm-x3550m3-02 ~]# service rpcidmapd status
rpc.idmapd is stopped
[root@ibm-x3550m3-02 ~]# service nfs start
Starting NFS services:  [  OK  ]
Starting NFS quotas: [  OK  ]
Starting NFS mountd: [  OK  ]
Starting NFS daemon: [  OK  ]
Starting RPC idmapd: [  OK  ]
[root@ibm-x3550m3-02 ~]# chkconfig rpcidmapd off
[root@ibm-x3550m3-02 ~]# service nfs restart
Shutting down NFS daemon: [  OK  ]
Shutting down NFS mountd: [  OK  ]
Shutting down NFS quotas: [  OK  ]
Shutting down RPC idmapd: [  OK  ]
Starting NFS services:  [  OK  ]
Starting NFS quotas: [  OK  ]
Starting NFS mountd: [  OK  ]
Starting NFS daemon: [  OK  ]
Starting RPC idmapd: [  OK  ]
[root@ibm-x3550m3-02 ~]# lsb_release -sir
RedHatEnterpriseServer 6.5
[root@ibm-x3550m3-02 ~]# vim /etc/init.d/nfs
[root@ibm-x3550m3-02 ~]# grep 'idmapd' /etc/init.d/nfs
        # Start rpc.idmapd 
        [ -x /usr/sbin/rpc.idmapd ] && /sbin/service rpcidmapd start
        [ -x /usr/sbin/rpc.idmapd ] && /sbin/service rpcidmapd stop
[root@ibm-x3550m3-02 ~]#

Comment 5 Steve Dickson 2013-10-11 18:43:23 UTC
Expected results:
If rpc.idmapd is chkconfig'd off it should not start on 'nfs restart'

Is an incorrect assumption... After RHEL6.4 rpc.idmapd is only used
on by the server to do ID mapping. The nfsidmap command is now 
used on the client to ID mapping.

So, rpc.idmapd needs to be tied to the starting and stop of the 
NFS server no the chkconfig configuration.

Comment 6 JianHong Yin 2013-10-12 02:49:50 UTC
(In reply to Steve Dickson from comment #5)
> Expected results:
> If rpc.idmapd is chkconfig'd off it should not start on 'nfs restart'
> 
> Is an incorrect assumption... After RHEL6.4 rpc.idmapd is only used
> on by the server to do ID mapping. The nfsidmap command is now 
> used on the client to ID mapping.
> 
> So, rpc.idmapd needs to be tied to the starting and stop of the 
> NFS server no the chkconfig configuration.

Got it, change the test case:

vercmp "$(lsb_release -sr)" '>=' 6.3 && {
    echo -e "{Info} rhel version not match, skip the test.\n"
    report_result $TEST PASS
    exit 0
}


Note You need to log in before you can comment on or make changes to this bug.