Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1362232

Summary: Setting RPCBIND_ARGS results in rpcbind startup failure 'invalid option'
Product: Red Hat Enterprise Linux 7 Reporter: Steve Dickson <steved>
Component: rpcbindAssignee: Steve Dickson <steved>
Status: CLOSED ERRATA QA Contact: Yongcheng Yang <yoyang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: eguan, extras-qa, fs-qe, lindner, steved
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rpcbind-0.2.0-38.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1362201 Environment:
Last Closed: 2016-11-04 02:10:55 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:
Bug Depends On: 1362201    
Bug Blocks:    

Description Steve Dickson 2016-08-01 16:01:49 UTC
+++ This bug was initially created as a clone of Bug #1362201 +++

Description of problem:
Changing RPCBIND_ARGS in /etc/sysconfig/rpcbind results in startup failures for rpcbind.

Version-Release number of selected component: rpcbind-0.2.3-10.rc1.fc24.x86_64


Steps to Reproduce:
1. Modify the contents of /etc/sysconfig/rpcbind here is an example line that fails:

  RPCBIND_ARGS="-l -h 10.1.10.2"
 
2. Attempt to restart rpcbind.  Start will fail

   systemctl restart rpcbind


Actual results:

Jul 31 21:22:06 mirth.inuus.com rpcbind[3781]: /sbin/rpcbind: invalid option -- ' '
Jul 31 21:22:06 mirth.inuus.com rpcbind[3781]: usage: rpcbind [-adhilswf]


Expected results:

Successful startup of rpcbind with arguments


Additional info:

It appears that removing the braces from the ${RPCBIND_ARGS} in /usr/lib/systemd/system/rpcbind.service fixes this issue.  This appears to be what other services use.

Comment 5 Yongcheng Yang 2016-08-04 06:33:24 UTC
Move to VERIFIED as comment 4, and will continue to run the automatic case.

Comment 7 errata-xmlrpc 2016-11-04 02:10:55 UTC
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.

https://rhn.redhat.com/errata/RHBA-2016-2274.html