Bug#763315: systemd: Dependency loop between basic.target, nfs-common, rpcbind, ...

Simon McVittie smcv at debian.org
Thu Nov 20 21:40:31 GMT 2014


On Mon, 29 Sep 2014 at 11:06:06 +0200, Laurent Bigonville wrote:
> Apparently there is still some kind of loop here.

Piping the output of the attached script to tsort(1) says:

tsort: -: input contains a loop:
tsort: firewalld.service
tsort: network.target
tsort: network-online.target
tsort: rpcbind.service
tsort: nfs-common.service
tsort: kbd.service
tsort: console-setup.service
tsort: sysinit.target
tsort: cups.path
tsort: paths.target
tsort: basic.target

The loop in a nutshell:

* firewalld.service has the DefaultDependencies, including basic.target.
* basic.target is After sysinit.target which is After all the
  autogenerated systemd units corresponding to LSB init scripts from rcS.d,
  including nfs-common and rpcbind.
* rpcbind wants the network to be online before it does anything.
* firewalld wants to start before network.target so it can set up
  your firewall before the network comes up.

This can't work: firewalld and the NFS bits have incompatible
expectations.

    S
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cyclist.pl
Type: text/x-perl
Size: 505 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20141120/c02f3d34/attachment.pl>


More information about the Pkg-systemd-maintainers mailing list