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

Michael Biebl biebl at debian.org
Thu Apr 9 13:29:21 BST 2015


Am 20.11.2014 um 22:40 schrieb Simon McVittie:
> 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.

This analysis is correct. One could argue,that this is not a bug in
systemd but rather nfs-common, then again, the problem really is the
Debian specific patch which adds support for rcS type SysV init scripts.
Once we have converted all those to native .service files and we drop
rcS support, this issue should go away.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20150409/fc65f4a5/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list