[opensuse] rpcbind ignores RPCBIND_OPTIONS
Hello, On OpenSuSE 12.3, the contents of the variable RPCBIND_OPTIONS (defined in /etc/sysconfig/rpcbind) is completely ignored by the startup process. Is there a way to tell the service file (/usr/lib/systemd/system/rpcbind.service) to take the sysconfig file into consideration ? I tried just adding the line: EnvironmentFile=-/etc/sysconfig/rpcbind in the [Service] section, but that's clearly not enough. Any idea ? TIA Cheers. Bye. Ph. A. -- *Philippe Andersson* Unix System Administrator IBA Particle Therapy | Tel: +32-10-475.983 Fax: +32-10-487.707 eMail: pan@iba-group.com <http://www.iba-worldwide.com>
Hello,
On OpenSuSE 12.3, the contents of the variable RPCBIND_OPTIONS (defined in /etc/sysconfig/rpcbind) is completely ignored by the startup process.
Is there a way to tell the service file (/usr/lib/systemd/system/rpcbind.service) to take the sysconfig file into consideration ?
I tried just adding the line:
EnvironmentFile=-/etc/sysconfig/rpcbind
in the [Service] section, but that's clearly not enough.
Any idea ? OK -- answering my own question. The service file should in fact look
On 12/06/13 18:21, Philippe Andersson wrote: like this: [Service] EnvironmentFile=/etc/sysconfig/rpcbind ExecStart=/sbin/rpcbind -w -f $RPCBIND_OPTIONS (quoting only the [Service] part). I'll file a bug. Ph. A. -- *Philippe Andersson* Unix System Administrator IBA Particle Therapy | Tel: +32-10-475.983 Fax: +32-10-487.707 eMail: pan@iba-group.com <http://www.iba-worldwide.com>
В Wed, 12 Jun 2013 18:21:12 +0200 Philippe Andersson <pan@iba-group.com> пишет:
Hello,
On OpenSuSE 12.3, the contents of the variable RPCBIND_OPTIONS (defined in /etc/sysconfig/rpcbind) is completely ignored by the startup process.
Is there a way to tell the service file (/usr/lib/systemd/system/rpcbind.service) to take the sysconfig file into consideration ?
I tried just adding the line:
EnvironmentFile=-/etc/sysconfig/rpcbind
in the [Service] section, but that's clearly not enough.
You need also to actually pass $RPCBIND_OPTIONS to rpcbind invocation in ExecStart.
Any idea ?
TIA
Cheers. Bye.
Ph. A.
participants (2)
-
Andrey Borzenkov
-
Philippe Andersson