rpcbind を停止すると Warning: "Stopping rpcbind.service, but it can still be activated by: rpcbind.socket" が表示される
Issue
rpcbind.serviceを停止すると、次の警告が表示されます。
# systemctl stop rpcbind.service
Warning: Stopping rpcbind.service, but it can still be activated by:
rpcbind.socket
- しかし、
rpcbind.sockはアクティブのままです。
# netstat -anlp | grep -i rpc
unix 2 [ ACC ] STREAM LISTENING 19174 1/systemd /var/run/rpcbind.sock
- しばらくすると、
rpcbind.socketが再度rpcbind.serviceをアクティブ化します。
# 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.