Warning: "Stopping rpcbind.service, but it can still be activated by: rpcbind.socket" is shown when stopping rpcbind
Issue
- When stopping
rpcbind.service
, the following warning is shown
# systemctl stop rpcbind.service
Warning: Stopping rpcbind.service, but it can still be activated by:
rpcbind.socket
- Meanwhile,
rpcbind.sock
is still active
# netstat -anlp | grep -i rpc
unix 2 [ ACC ] STREAM LISTENING 19174 1/systemd /var/run/rpcbind.sock
- After some time,
rpcbind.socket
activatesrpcbind.service
again.
# netstat -anlp | grep -i rpc
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 48081/rpcbind
tcp6 0 0 :::111 :::* LISTEN 48081/rpcbind
udp 0 0 0.0.0.0:111 0.0.0.0:* 48081/rpcbind
udp 0 0 0.0.0.0:778 0.0.0.0:* 48081/rpcbind
udp6 0 0 :::111 :::* 48081/rpcbind
udp6 0 0 :::778 :::* 48081/rpcbind
unix 2 [ ACC ] STREAM LISTENING 19174 1/systemd /var/run/rpcbind.sock
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.