Public bug reported: The symptom is that dbus systemd-logind audit.d and other core services are skipped for boot. The is hit only around 1%-10% of reboots. The log message received is:
``` Sep 9 20:17:30 systemd: basic.target: Found ordering cycle on basic.target/start Sep 9 20:17:30 systemd: basic.target: Found dependency on sockets.target/start Sep 9 20:17:30 systemd: basic.target: Found dependency on dbus.socket/start Sep 9 20:17:30 systemd: basic.target: Found dependency on sysinit.target/start Sep 9 20:17:30 systemd: basic.target: Found dependency on systemd-update-utmp.service/verify-active Sep 9 20:17:30 systemd: basic.target: Found dependency on auditd.service/start Sep 9 20:17:30 systemd: basic.target: Found dependency on basic.target/start Sep 9 20:17:30 systemd: basic.target: Breaking ordering cycle by deleting job sockets.target/start Sep 9 20:17:30 systemd: sockets.target: Job sockets.target/start deleted to break ordering cycle starting with basic.target/start Sep 9 20:17:30 systemd: basic.target: Found ordering cycle on basic.target/start Sep 9 20:17:30 systemd: basic.target: Found dependency on sysinit.target/start Sep 9 20:17:30 systemd: basic.target: Found dependency on systemd-update-utmp.service/verify-active Sep 9 20:17:30 systemd: basic.target: Found dependency on auditd.service/start Sep 9 20:17:30 systemd: basic.target: Found dependency on basic.target/start Sep 9 20:17:30 systemd: basic.target: Breaking ordering cycle by deleting job systemd-update-utmp.service/verify-active Sep 9 20:17:30 systemd: systemd-update-utmp.service: Job systemd-update-utmp.service/verify-active deleted to break ordering cycle starting with basic.target/start ``` This issue was fixed by overriding systemd-update-utmp.service to not include After= auditd.service This feels like a hack and rather this was fixed upstream. Versions: auditd: 1:2.4.5-1ubuntu2.1 systemd: 229-4ubuntu17-acquia-201712062248~ubuntu16.04.1 kernel: 4.4.0-1065-aws ** Affects: auditd (Ubuntu) Importance: Undecided Status: New ** Tags: systemd -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1791709 Title: systemd dependency loop with systemd-update-utmp.service To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/auditd/+bug/1791709/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs