[systemd-bugs] [Bug 70002] New: Found ordering cycle on local-fs.target/stop (Due to network mount)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Oct 1 07:25:46 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=70002
Priority: medium
Bug ID: 70002
Assignee: systemd-bugs at lists.freedesktop.org
Summary: Found ordering cycle on local-fs.target/stop (Due to
network mount)
QA Contact: systemd-bugs at lists.freedesktop.org
Severity: normal
Classification: Unclassified
OS: All
Reporter: umut at tezduyar.com
Hardware: Other
Status: NEW
Version: unspecified
Component: general
Product: systemd
Adding a network mount point creates a cycling stop dependency that becomes
visible during shutdown with systemd 207.
I started seeing following message on my journal:
2013-09-30T23:19:23.726+00:00 [ WARNING ] systemd[1]: Found ordering cycle on
local-fs.target/stop
2013-09-30T23:19:23.726+00:00 [ INFO ] systemd[1]: Walked on cycle path to
var-spool-storage-NetworkShare.mount/stop
2013-09-30T23:19:23.727+00:00 [ INFO ] systemd[1]: Walked on cycle path to
network.target/stop
2013-09-30T23:19:23.728+00:00 [ INFO ] systemd[1]: Walked on cycle path to
net at eth0.service/stop
2013-09-30T23:19:23.728+00:00 [ INFO ] systemd[1]: Walked on cycle path to
basic.target/stop
2013-09-30T23:19:23.736+00:00 [ INFO ] systemd[1]: Walked on cycle path to
sysinit.target/stop
2013-09-30T23:19:23.737+00:00 [ INFO ] systemd[1]: Walked on cycle path to
local-fs.target/stop
2013-09-30T23:19:23.740+00:00 [ WARNING ] systemd[1]: Breaking ordering cycle
by deleting job var-spool-storage-NetworkShare.mount/stop
Steps to reproduce
1) Mount network drive: mount -t cifs -o username=x,password=x //x.x.x.x/video
/var/spool/storage/NetworkShare
2) Powercycle with systemctl reboot
Cycle can be seen here:
[root@ /mnt/flash/root]1391# systemctl show -p Before
var-spool-storage-NetworkShare.mount
Before=local-fs.target umount.target
[root@ /mnt/flash/root]1391# systemctl show -p Before local-fs.target
Before=sysinit.target journal-flush.service
[root@ /mnt/flash/root]1391# systemctl show -p Before sysinit.target
Before=basic.target dbus.socket sshd.socket rescue.target rescue.service
[root@ /mnt/flash/root]1391# systemctl show -p Before basic.target
Before=rsyslog.service dbus.service sshdgenkeys.service multi-user.target
systemd-ask-password-wall.service net at eth0.service
[root@ /mnt/flash/root]1391# systemctl show -p Before net at eth0.service
Before=network.target shutdown.target
[root@ /mnt/flash/root]1391# systemctl show -p Before network.target
Before=multi-user.target var-spool-storage-NetworkShare.mount
I believe the problem is coming from:
src/core/mount.c (mount_add_one) > r = unit_add_dependency_by_name(u,
UNIT_BEFORE, SPECIAL_LOCAL_FS_TARGET, NULL, true);
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20131001/8617411b/attachment.html>
More information about the systemd-bugs
mailing list