[systemd-devel] rpcbind.socket failing

Steve Dickson SteveD at redhat.com
Mon Oct 31 17:19:24 UTC 2016


Hello,

Upstream has come up with some new rpcbind service socket files
and I'm trying to incorporate them into f25.

The rpcbind.socket is failing to come up
   rpcbind.socket: Failed to listen on sockets: No such file or directory
   Failed to listen on RPCbind Server Activation Socket.

But the rpcbind.socket does exist 
    # file /var/run/rpcbind.sock
    /var/run/rpcbind.sock: socket

and everything comes up when the daemon is started by hand.

old rpcbind.socket file:

[Unit]
Description=RPCbind Server Activation Socket

[Socket]
ListenStream=/var/run/rpcbind.sock

[Install]
WantedBy=sockets.target


New rpcbind.socket file:

[Unit]
Description=RPCbind Server Activation Socket
DefaultDependencies=no
RequiresMountsFor=/var/run /run
Wants=rpcbind.target
Before=rpcbind.target

[Socket]
ListenStream=/var/run/rpcbind.sock

# RPC netconfig can't handle ipv6/ipv4 dual sockets
BindIPv6Only=ipv6-only
ListenStream=0.0.0.0:111
ListenDatagram=0.0.0.0:111
ListenStream=[::]:111
ListenDatagram=[::]:111

[Install]
WantedBy=sockets.target


ListenStream is the same for both files... 
How do I debugging something like this?

tia,

steved.





More information about the systemd-devel mailing list