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 1184661 - systemd service contains -w switch
Summary: systemd service contains -w switch
Keywords:
Status: CLOSED DUPLICATE of bug 1181779
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rpcbind
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Steve Dickson
QA Contact: Yongcheng Yang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-21 23:49 UTC by Joe Julian
Modified: 2015-05-04 15:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-04 15:01:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Joe Julian 2015-01-21 23:49:03 UTC
The -w switch may not always be desired yet it is hardcoded in the ExecStart line of the systemd service.

That should be the default RPCBIND_ARGS in /etc/sysconfig/rpcbind instead.

Comment 2 Steve Dickson 2015-01-23 18:55:18 UTC
(In reply to Joe Julian from comment #0)
> The -w switch may not always be desired yet it is hardcoded in the ExecStart
> line of the systemd service.
> 
> That should be the default RPCBIND_ARGS in /etc/sysconfig/rpcbind instead.

The -w switch is needed so updates are seamless....

I did look into removing but all hell broke lose when
services lost their ports. If there there was a way 
rpcbind to tell services to re-registers then the -w
would not be needed...

Comment 3 Christopher Pereira 2015-03-04 02:25:10 UTC
WONTFIX means that CentOS 7 will not be supporting Gluster-NFS any more?

With the "-w" switch in /etc/systemd/system/rpcbind.service, it is impossible to start Gluster with NFS support due to error:

"Could not register with portmap 100021 4 38468"

Workarround (as pointed out by Joe Julian):

sed 's/-w //' /usr/lib/systemd/system/rpcbind.service >/etc/systemd/system/rpcbind.service

..and restart services.

Comment 4 Justin Clift 2015-03-04 02:28:55 UTC
Just to point out, JoeJulian wasn't asking for it to be removed... he was asking for the switch to be moved to the config file so it's configurable by people with a need for it to be off.  And likely who don't need the bits that were dying for you, or are prepared to config them appropriately so they don't die. :)

It doesn't seem like an unreasonable thing to ask (to me anyway). ;)

And yeah, this affects upstream GlusterFS (unsure about RHS, haven't checked). :(

Comment 5 Joe Julian 2015-03-04 02:31:16 UTC
The -w switch may be needed for seamless updates, but that doesn't preclude it from being put in RPCBIND_ARGS instead of hardcoded.

I'm frequently having to solve this problem for GlusterFS users whose services cannot bind with rpcbind even though the kernel nfs has been disabled because the ports are in use.

IMHO, it should either be added to RPCBIND_ARGS in /etc/sysconfig/rpcbind or it should have it's own variable but still reside in /etc/sysconfig/rpcbind along with sufficient comments to allow an informed user to override the setting so programs other than the kernel nfs server can still work. :)

Comment 6 Steve Dickson 2015-05-04 15:01:15 UTC

*** This bug has been marked as a duplicate of bug 1181779 ***


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