[systemd-devel] Method to solve a "ordering cycle"

Lennart Poettering lennart at poettering.net
Sun Sep 6 06:50:31 PDT 2015


On Wed, 02.09.15 17:08, Daniel Spannbauer (ds at marco.de) wrote:

> Hello,
> 
> I often have a ordering cycle so a service is deleted at boot.
> 
> Is there a standard way of getting rid of that cycles or to find the
> cause of them?

Well, when systemd finds one of these cyclic ordering dependencies it will
print your the full chain of it in the logs. It's not too difficult to
read that actually, as it starts with one unit, and then shows you the
next one that is ordered after it, and then the next one, and so on,
until it comes back to the original one which is supposed to be after
that last one... Now it's just a matter to figure out where to break
the cycle and drop the ordering dependency.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list