Bug 1184661
Summary: | systemd service contains -w switch | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Joe Julian <joe> |
Component: | rpcbind | Assignee: | Steve Dickson <steved> |
Status: | CLOSED DUPLICATE | QA Contact: | Yongcheng Yang <yoyang> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.2 | CC: | eguan, jclift, kripper, yoyang |
Target Milestone: | rc | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-05-04 15:01:15 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
Joe Julian
2015-01-21 23:49:03 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... 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. 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). :( 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. :) *** This bug has been marked as a duplicate of bug 1181779 *** |