Mailinglist Archive: opensuse-bugs (2746 mails)

< Previous Next >
[Bug 824621] New: rpcbind ignores RPCBIND_OPTIONS
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 12 Jun 2013 16:44:07 +0000
  • Message-id: <bug-824621-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=824621

https://bugzilla.novell.com/show_bug.cgi?id=824621#c0


Summary: rpcbind ignores RPCBIND_OPTIONS
Classification: openSUSE
Product: openSUSE 12.3
Version: Final
Platform: All
OS/Version: openSUSE 12.3
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Network
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: pan@xxxxxxxxxxxxx
QAContact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---


User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:21.0)
Gecko/20100101 Firefox/21.0

On OpenSuSE 12.3, the contents of the variable RPCBIND_OPTIONS (defined
in /etc/sysconfig/rpcbind) is completely ignored by the startup process
(systemd service file).

Reproducible: Always

Steps to Reproduce:
1. Set a special command-line option for rpcbind in /etc/sysconfig/rpcbind
(e.g. '-i')
2. Restart service (systemctl restart rpcbind.service)
3. Check options for running process with "ps axf | grep rpcbind"

Actual Results:
=> only the default ones ("-w -f") are present. '-i' has been ignored.


Expected Results:
I would have expected the '-i' to be appended to the default command-line
options (giving "-w -f -i").

To fix this bug, it is in fact enough to modify the service file
(/usr/lib/systemd/system/rpcbind.service) like this:

--------------------<cut>---------------------
[Service]
EnvironmentFile=/etc/sysconfig/rpcbind
ExecStart=/sbin/rpcbind -w -f $RPCBIND_OPTIONS
--------------------<cut>---------------------

(Only quoting the relevant part of the file -- the rest remains unchanged).

Successfully tested here (requires to first run "systemctl --system
daemon-reload" and then "systemctl restart rpcbind.service").

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
Follow Ups