bbc56d0 Removed dependency and ordering on unbound-anchor.service in unbound.service

Authored and Committed by thozza 8 years ago
    Removed dependency and ordering on unbound-anchor.service in unbound.service
    
    Once ntpdate.service is fixed to order itself After nss-lookup.target,
    there will be an ordering loop. To reproduce this do:
    
    [root@notas ~]# yum -y install unbound ntpdate chrony
    [root@notas ~]# systemctl enable ntpdate.service chronyd.service unbound-anchor.timer unbound.service unbound-anchor.service
    [root@notas ~]# systemd-analyze verify /usr/lib/systemd/system/*
    
    And then in the output you can find:
    Found ordering cycle on ntpdate.service/stop
    Found dependency on nss-lookup.target/start
    Found dependency on unbound.service/start
    Found dependency on unbound-anchor.service/start
    Found dependency on unbound-anchor.timer/start
    Found dependency on time-sync.target/start
    Found dependency on chrony-wait.service/stop
    Found dependency on chronyd.service/stop
    Found dependency on ntpdate.service/stop
    
    Signed-off-by: Tomas Hozza <thozza@redhat.com>
    
        
file modified
+1 -2
file modified
+4 -1