[systemd-devel] systemd is trying to break mount ordering
Jan Synáček
jsynacek at redhat.com
Mon Jun 15 04:24:40 PDT 2015
I have the following setup on a freshly updated Fedora Rawhide machine
with systemd-220-9.fc23.x86_64.
# cat /etc/fstab
[comments left out]
UUID=d5ac823b-d0bd-4f7f-bf4b-5cc82d585a92 / btrfs subvol=root 0 0
UUID=ec79f233-055c-40fa-98e5-e2d77314913a /boot ext4 defaults 1 2
UUID=d5ac823b-d0bd-4f7f-bf4b-5cc82d585a92 /home btrfs subvol=home 0 0
192.168.122.1:/srv/nfs /mnt/nfs nfs defaults 0 0
/var/tmp/test.iso /mnt/nfs/content iso9660 loop,ro 0 0
Notice the last two lines. There is an NFS mount mounted to /mnt/nfs and
an ISO filesystem mounted into /mnt/nfs/content, which makes it
dependent on the NFS mount.
After booting the machine, there are the following lines in the journal:
[snip...]
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on local-fs.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on mnt-nfs-content.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on mnt-nfs.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on network.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Breaking ordering cycle by deleting job sockets.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: sockets.target: Job sockets.target/start deleted to break ordering cycle starting with firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: network.target: Found ordering cycle on network.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: network.target: Found dependency on systemd-networkd.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: network.target: Found dependency on dbus.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: network.target: Found dependency on dbus.socket/start
Jun 15 10:37:55 rawhide-virt systemd[1]: network.target: Found dependency on sysinit.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: network.target: Found dependency on fedora-autorelabel-mark.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: network.target: Found dependency on local-fs.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: network.target: Found dependency on mnt-nfs-content.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: network.target: Found dependency on mnt-nfs.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: network.target: Found dependency on network.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: network.target: Breaking ordering cycle by deleting job systemd-networkd.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: systemd-networkd.service: Job systemd-networkd.service/start deleted to break ordering cycle starting with network.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found ordering cycle on firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on basic.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on dnf-makecache.timer/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on sysinit.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on fedora-autorelabel-mark.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on local-fs.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on mnt-nfs-content.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on mnt-nfs.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on network.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Breaking ordering cycle by deleting job dnf-makecache.timer/start
Jun 15 10:37:55 rawhide-virt systemd[1]: dnf-makecache.timer: Job dnf-makecache.timer/start deleted to break ordering cycle starting with firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found ordering cycle on firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on basic.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on sysinit.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on fedora-autorelabel-mark.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on local-fs.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on mnt-nfs-content.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on mnt-nfs.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on network.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Breaking ordering cycle by deleting job fedora-autorelabel-mark.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: fedora-autorelabel-mark.service: Job fedora-autorelabel-mark.service/start deleted to break ordering cycle starting with firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found ordering cycle on firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on basic.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on sysinit.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on systemd-update-done.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on local-fs.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on mnt-nfs-content.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on mnt-nfs.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on network.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Breaking ordering cycle by deleting job systemd-update-done.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: systemd-update-done.service: Job systemd-update-done.service/start deleted to break ordering cycle starting with firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found ordering cycle on firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on basic.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on sysinit.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on systemd-machine-id-commit.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on local-fs.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on mnt-nfs-content.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on mnt-nfs.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on network.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Breaking ordering cycle by deleting job systemd-machine-id-commit.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: systemd-machine-id-commit.service: Job systemd-machine-id-commit.service/start deleted to break ordering cycle starting with firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found ordering cycle on firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on basic.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on fedora-import-state.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on local-fs.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on mnt-nfs-content.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on mnt-nfs.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on network.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Breaking ordering cycle by deleting job fedora-import-state.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: fedora-import-state.service: Job fedora-import-state.service/start deleted to break ordering cycle starting with firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: mnt-nfs.mount: Found ordering cycle on mnt-nfs.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: mnt-nfs.mount: Found dependency on remote-fs-pre.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: mnt-nfs.mount: Found dependency on nfs-client.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: mnt-nfs.mount: Found dependency on rpc-svcgssd.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: mnt-nfs.mount: Found dependency on local-fs.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: mnt-nfs.mount: Found dependency on mnt-nfs-content.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: mnt-nfs.mount: Found dependency on mnt-nfs.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: mnt-nfs.mount: Breaking ordering cycle by deleting job remote-fs-pre.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: remote-fs-pre.target: Job remote-fs-pre.target/start deleted to break ordering cycle starting with mnt-nfs.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found ordering cycle on firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on basic.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on sysinit.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on systemd-journal-catalog-update.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on local-fs.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on mnt-nfs-content.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on mnt-nfs.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on network.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Breaking ordering cycle by deleting job systemd-journal-catalog-update.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: systemd-journal-catalog-update.service: Job systemd-journal-catalog-update.service/start deleted to break ordering cycle starting with firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found ordering cycle on firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on basic.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on sysinit.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on auditd.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on local-fs.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on mnt-nfs-content.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on mnt-nfs.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on network.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Breaking ordering cycle by deleting job auditd.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: auditd.service: Job auditd.service/start deleted to break ordering cycle starting with firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found ordering cycle on firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on basic.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on sysinit.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on fedora-autorelabel.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on local-fs.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on mnt-nfs-content.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on mnt-nfs.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on network.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Breaking ordering cycle by deleting job fedora-autorelabel.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: fedora-autorelabel.service: Job fedora-autorelabel.service/start deleted to break ordering cycle starting with firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found ordering cycle on firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on basic.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on sysinit.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on plymouth-read-write.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on local-fs.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on mnt-nfs-content.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on mnt-nfs.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on network.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Breaking ordering cycle by deleting job plymouth-read-write.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: plymouth-read-write.service: Job plymouth-read-write.service/start deleted to break ordering cycle starting with firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found ordering cycle on firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on basic.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on sysinit.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on local-fs.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on mnt-nfs-content.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on mnt-nfs.mount/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on network.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Found dependency on firewalld.service/start
Jun 15 10:37:55 rawhide-virt systemd[1]: firewalld.service: Breaking ordering cycle by deleting job local-fs.target/start
Jun 15 10:37:55 rawhide-virt systemd[1]: local-fs.target: Job local-fs.target/start deleted to break ordering cycle starting with firewalld.service/start
[snip...]
Isn't systemd trying to delete too many jobs while resolving the cycles?
Cheers,
--
Jan Synacek
Software Engineer, Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150615/6efb7854/attachment.sig>
More information about the systemd-devel
mailing list