Circular dependency for systemd units on Debian
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I found that pure-baremetal installation (no lxc) on Debian creates circular systemd dependency.
Symptoms:
After reboot one of the following entries in journal:
sysinit.target: Found ordering cycle on local-fs.
sysinit.target: Found dependency on var-www-
sysinit.target: Found dependency on network-
sysinit.target: Found dependency on network.
sysinit.target: Found dependency on openvswitch-
sysinit.target: Found dependency on sysinit.
sysinit.target: Job local-fs.
openvswitch-
openvswitch-
openvswitch-
openvswitch-
openvswitch-
openvswitch-
network-
openvswitch-
openvswitch-
openvswitch-
openvswitch-
openvswitch-
openvswitch-
openvswitch-
Due to circular nature systemd can't identify root source of the problem, and bans random unit (including networking.service, which renders server non-responsive or openvswitch-
After extensive bisection I've identified units causing circular dependencies:
* var-www-repo.mount
* mariadbcheck.socket
* mariadbcheck@
All of them has dependency "After = network-
Proposed fix:
* Remove "After=
* Remove "After = network-
description: | updated |
Hi George.
I believe this bug has been addressed with https:/ /review. opendev. org/c/openstack /ansible- role-systemd_ mount/+ /868511
Can you kindly check if it solves the issue?