OpenRC/openrc — pull request #12 by xaionaro (2014-01-23 18:22:25+00:00)
Title: Early loop detector

rc_svc1_after="svc2"
rc_svc1_use="svc3"
rc_svc2_after="svc3"
rc_svc2_need="svc4"
rc_svc3_use="svc4"
rc_svc4_after="svc1"

gentoo ~ # rc-update -u
* Caching service dependencies ...
* Found a dependencies loop: svc1 -> svc3 -> svc4 -> svc1. Trying to solve it by removing use/after dependencies of svc1 on svc3 from the cache.
* Found a dependencies loop: svc1 -> svc2 -> svc4 -> svc1. Trying to solve it by removing use/after dependencies of svc1 on svc2 from the cache.