open-iscsi init script causing ordering cycle with systemd

Bug #1444555 reported by Stefan Bader
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ifupdown (Ubuntu)
Fix Released
High
Martin Pitt

Bug Description

/etc/init.d/open-iscsi declares the following requirements:
# Provides: open-iscsi iscsi
# Required-Start: $network $remote_fs
# Required-Stop: $network $remote_fs sendsigs
# Default-Start: S
# Default-Stop: 0 1 6

This causes the following cycle to be detected:
Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed
Found ordering cycle on network-online.target/start
Found dependency on ifup-wait-all-auto.service/start
Found dependency on basic.target/start
Found dependency on sockets.target/start
Found dependency on dbus.socket/start
Found dependency on sysinit.target/start
Found dependency on open-iscsi.service/start
Found dependency on network-online.target/start
Breaking ordering cycle by deleting job ifup-wait-all-auto.service/start
Job ifup-wait-all-auto.service/start deleted to break ordering cycle starting with network-online.target

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1444555/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Martin Pitt (pitti) wrote :

I think it's best to relax the dependencies of ifup-wait-all-auto.service, so that it can start in early boot already.

affects: ubuntu → systemd (Ubuntu)
Changed in systemd (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → High
milestone: none → ubuntu-15.04
status: New → In Progress
affects: systemd (Ubuntu) → ifupdown (Ubuntu)
Martin Pitt (pitti)
Changed in ifupdown (Ubuntu):
status: In Progress → Fix Committed
tags: added: systemd-boot
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ifupdown - 0.7.48.1ubuntu10

---------------
ifupdown (0.7.48.1ubuntu10) vivid; urgency=medium

  * ifup-wait-all-auto.service: Relax dependencies to allow early boot
    services like open-iscsi to wait for network-online.target.
    (LP: #1444555)
 -- Martin Pitt <email address hidden> Wed, 15 Apr 2015 17:20:09 -0500

Changed in ifupdown (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.