nis: NIS is started before rpcbind since rpcbind was migrated to systemd

Nye Liu nyet at mrv.com
Fri Feb 5 23:58:09 GMT 2016


On Sat, Feb 06, 2016 at 12:47:47AM +0100, Michael Biebl wrote:
> If you run "systemctl edit rpcbind.socket" and add the following:
>
> [Unit]
> DefaultDependencies=no
> Wants=rpcbind.target
> Before=rpcbind.target
>
> Is the problem gone after a reboot?
> If not, can you please attach the output of
> systemctl status rpcbind.service rpcbind.target
> and journalctl -alb
>
> DefaultDependencies=no should make it possible to start the socket in
> early boot, and Wants/Before=rpcbind.target will pull in rpcbind.target
> which provides $portmap for sysv init scripts (see man
> systemd.special(7), section "SPECIAL PASSIVE SYSTEM UNITS"), so those
> should get a correct ordering after rpcbind.socket.
>
> Regards,
> Michael

This seems to have fixed the problem!

$ cat /etc/systemd/system/rpcbind.socket.d/override.conf
[Unit]
DefaultDependencies=no
Wants=rpcbind.target
Before=rpcbind.target
$

Thank you!


MRV Communications is a global supplier of packet and optical solutions that power the world’s largest networks. Our products combine innovative hardware with intelligent software to make networks smarter, faster and more efficient.




More information about the Pkg-systemd-maintainers mailing list