Bug 1037927

Summary: [rpc.mountd] -P option parse error.
Product: Red Hat Enterprise Linux 5 Reporter: JianHong Yin <jiyin>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED WONTFIX QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.11CC: jlayton
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1037924 Environment:
Last Closed: 2014-02-05 21:46:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description JianHong Yin 2013-12-04 05:37:32 UTC
+++ This bug was initially created as a clone of Bug #1037924 +++

Description of problem:
[rpc.mountd] -P option parse error.
  in man page:
       -P     Ignored (compatibility with unfsd??).
but in fact, if specify the -P, rpc.mountd error and exit.

Version-Release number of selected component (if applicable):
------------------------------------------------
TimeInfo  : 2013-12-03 23:55:49
CaseName  : /CoreOS/nfs-utils/commands/utils/rpc-mountd
$HOSTNAME : dell-pr7610-01.lab.bos.redhat.com
DistroInfo: RedHatEnterpriseWorkstation 7.0 : RHEL-7.0-20131123.0
kernelInfo: Linux dell-pr7610-01.lab.bos.redhat.com 3.10.0-54.el7.x86_64 #1 SMP Thu Nov 21 15:34:15 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
packageInfo
	libnfsidmap-0.25-7.el7.x86_64
	package libsss_idmap is not installed
	nfs-utils-1.2.9-0.3.el7.x86_64
------------------------------------------------

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:

[23:56:08 root@ /mnt/tests/CoreOS/nfs-utils/commands/utils/rpc-mountd]# rpc.mountd -P
Usage: rpc.mountd [-F|--foreground] [-h|--help] [-v|--version] [-d kind|--debug kind]
	[-o num|--descriptors num] [-f exports-file|--exports-file=file]
	[-p|--port port] [-V version|--nfs-version version]
	[-N version|--no-nfs-version version] [-n|--no-tcp]
	[-H ha-callout-prog] [-s|--state-directory-path path]
	[-g|--manage-gids] [-t num|--num-threads=num] [-u|--no-udp]
:: [   FAIL   ] :: Running 'rpc.mountd -P' (Expected 0, got 1)

Expected results:
ignore the option, as desc in man page.

Additional info:
  RHEL6.5 has the same problem

Comment 1 RHEL Program Management 2014-01-29 10:33:30 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 2 RHEL Program Management 2014-02-05 21:46:53 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.