[systemd-devel] A newbie question regarding ordering cycles

Frederic Crozat fcrozat at suse.com
Thu Mar 28 05:47:00 PDT 2013


Le jeudi 28 mars 2013 à 12:22 +0000, Belal, Awais a écrit :
> Hi Guys,
> 
> Just a newbie question as I am not much familiar with systemd yet.
> While setting up a system I have systemd-195 running but some of the
> services are not launched properly. I get the following:
> 
> systemd[1]: Found ordering cycle on basic.target/start
> systemd[1]: Walked on cycle path to sockets.target/start
> systemd[1]: Walked on cycle path to dbus.socket/start
> systemd[1]: Walked on cycle path to sysinit.target/start
> systemd[1]: Walked on cycle path to run-postinsts.service/start
> systemd[1]: Walked on cycle path to basic.target/start
> systemd[1]: Breaking ordering cycle by deleting job dbus.socket/start
> systemd[1]: Deleting job ofono.service/start as dependency of job
> dbus.socket/start
> systemd[1]: Deleting job dbus.service/start as dependency of job
> dbus.socket/start
> systemd[1]: Deleting job connman.service/start as dependency of job
> dbus.socket/start

Based on experience, the problem usually lays in the .service listed in
the cycle, in your case "run-postinsts.service". It has probably
incorrect (or no) LSB dependencies.

systemd could be improved to not drop dbus.socket in its ordering cycle
break algorithm (there were some discussions some time ago on IRC) but
it hasn't happened yet.


-- 
Frederic Crozat <fcrozat at suse.com>
SUSE



More information about the systemd-devel mailing list