-
Story
-
Resolution: Unresolved
-
Undefined
-
rhel-10.0.beta
-
None
-
rpcbind-1.2.7-1.el10
-
rhel-sst-filesystems
-
ssg_filesystems_storage_and_HA
-
24
-
1
-
False
-
-
None
-
None
-
Pass
-
Automated
-
None
What were you trying to do that didn't work?
After editing the /etc/sysconfig/rpcbind with RPCBIND_ARGS="-d" and then restarting the rpcbind service, turns out it doesn't take effect and there's a warning:
rpcbind.service: Referenced but unset environment variable evaluates to an empty string: RPCBIND_OPTIONS
This is an inconsistency previously fixed in RHEL9 via https://bugzilla.redhat.com/show_bug.cgi?id=1972094 and now we need to fix it in rhel10 also:
[root@rhel-10-upk ~]# rpm -q rpcbind rpcbind-1.2.6-4.rc2.el10.5.x86_64 [root@rhel-10-upk ~]# systemctl cat rpcbind | grep Exec ExecStart=/usr/bin/rpcbind $RPCBIND_OPTIONS -w -f ^^^^^^^^^^^^^^^^ [root@rhel-10-upk ~]# [root@rhel-10-upk ~]# cat /etc/sysconfig/rpcbind # # Optional arguments passed to rpcbind. See rpcbind(8) RPCBIND_ARGS="" ^^^^^^^^^^^^^ [root@rhel-10-upk ~]#
Please provide the package NVR for which bug is seen:
rpcbind-1.2.6-4.rc2.el10.4.x86_64
How reproducible:
always
Steps to reproduce
- echo 'RPCBIND_ARGS="-d"' > /etc/sysconfig/rpcbind
- systemctl restart rpcbind
- There is a warning and rpcbind doesn't run in the debug mode
Expected results
Actual results
[root@kvm-02-guest27 ~]# rpm -q rpcbind rpcbind-1.2.6-4.rc2.el10.4.x86_64 [root@kvm-02-guest27 ~]# rpm -ql rpcbind | grep sysconfig /etc/sysconfig/rpcbind [root@kvm-02-guest27 ~]# vi /etc/sysconfig/rpcbind [root@kvm-02-guest27 ~]# [root@kvm-02-guest27 ~]# cat /etc/sysconfig/rpcbind # # Optional arguments passed to rpcbind. See rpcbind(8) RPCBIND_ARGS="-d" [root@kvm-02-guest27 ~]# systemctl restart rpcbind [root@kvm-02-guest27 ~]# systemctl status rpcbind ● rpcbind.service - RPC Bind Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; disabled; preset: disabled) Drop-In: /usr/lib/systemd/system/service.d └─10-timeout-abort.conf Active: active (running) since Wed 2024-04-10 02:23:13 EDT; 8s ago TriggeredBy: ● rpcbind.socket Docs: man:rpcbind(8) Main PID: 41138 (rpcbind) Tasks: 1 (limit: 4647) Memory: 964.0K (peak: 1.1M) CPU: 167ms CGroup: /system.slice/rpcbind.service └─41138 /usr/bin/rpcbind -w -fApr 10 02:23:13 kvm-02-guest27.hv2.lab.eng.bos.redhat.com systemd[1]: Starting rpcbind.service - RPC Bind... Apr 10 02:23:13 kvm-02-guest27.hv2.lab.eng.bos.redhat.com (rpcbind)[41138]: rpcbind.service: Referenced but unset environment v> Apr 10 02:23:13 kvm-02-guest27.hv2.lab.eng.bos.redhat.com systemd[1]: Started rpcbind.service - RPC Bind. [root@kvm-02-guest27 ~]# [root@kvm-02-guest27 ~]# ps aux | grep rpcbind rpc 41138 0.0 0.1 12180 4780 ? Ss 02:23 0:00 /usr/bin/rpcbind -w -f root 41260 0.0 0.0 6432 2100 pts/0 S+ 02:27 0:00 grep --color=auto rpcbind [root@kvm-02-guest27 ~]#
- links to
-
RHBA-2024:136894 rpcbind bug fix and enhancement update