Bug 861025
Summary: | service rpcbind do not allow to specify command line options | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tigran Mkrtchyan <tigran.mkrtchyan> | ||||
Component: | rpcbind | Assignee: | Steve Dickson <steved> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 17 | CC: | mschmidt, steved, tholme | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-12-20 15:55:59 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: | |||||||
Attachments: |
|
Description
Tigran Mkrtchyan
2012-09-27 10:36:28 UTC
Created attachment 617995 [details]
a patch for /lib/systemd/system/rpcbind.service to fix the issue
You should just create a override file in /etc/systemd/system/rpcbind.service, with for example the following text: .include /lib/systemd/system/rpcbind.service [Service] ExecStart=/sbin/rpcbind -w This allow you to override any of the options specified in rpcbind.service, not only add new options to the command line. Most of other services do have a possibility to be configured by files in /etc/sysconfig. Why (a) rpcbind should be an exception and (b) switch to systemd do not supports old configuration files? rpcbind-0.2.0-18.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/rpcbind-0.2.0-18.fc18 rpcbind-0.2.0-17.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/rpcbind-0.2.0-17.fc17 Package rpcbind-0.2.0-18.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing rpcbind-0.2.0-18.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-16144/rpcbind-0.2.0-18.fc18 then log in and leave karma (feedback). well, it works. But why you have changed the variable name? The old one was RPCBIND_ARGS while the new one is RPCBINDOPTS. existing files still ignored. (In reply to comment #7) > well, it works. But why you have changed the variable name? The old one was > RPCBIND_ARGS while the new one is RPCBINDOPTS. existing files still ignored. I tried to stay with the same naming convention that is used in /etc/sysconfig/nfs. But then it's (still) not backward compatible. rpcbind-0.2.0-20.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/rpcbind-0.2.0-20.fc18 (In reply to comment #3) > Most of other services do have a possibility to be configured by files in > /etc/sysconfig. Why (a) rpcbind should be an exception Some service have that, but I'm not sure they're the majority. > (b) switch to systemd do not supports old configuration files? The main argument against /etc/sysconfig/* files says that they're specific to Fedora (+ its derivatives). In an ideal world every daemon would be fully configurable using a config file in /etc (or say, /etc/$DAEMON/*). There'd be no the need to change the command line. The config file name would be determined by upstream and so there would be unification across Linux distributions. Also, editing a real config file (with hopefully self-explanatory option names and with in-line comments) is nicer than having to type in cryptic command line options. In the present real world there are however some daemons where editing the command line can be necessary. With SysV initscripts these were supported using /etc/sysconfig/* because there was no other way (the initscripts themselves were not %config files, so should not have been edited). With the transition to systemd there appeared a new way - there is the support for overriding the unit files (as in comment #2). That's why /etc/sysconfig/* files are not strictly needed anymore. There is no consensus among Fedora developers on whether to keep using /etc/sysconfig/*. Steve as the package maintainer can decide as he likes. rpcbind-0.2.0-20.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |