invoke-rc.d ignores dependencies in degraded mode

Bug #1429734 reported by Martin Pitt on 2015-03-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
High
Martin Pitt
sysvinit (Ubuntu)
High
Martin Pitt

Bug Description

Our CI test VMs often start in degraded mode as jobs like systemd-modules-load.service commonly fail. This causes invoke-rc.d to start services with --job-mode=ignore-dependencies, which causes e. g. openvswitch-nonetwork to not start up.

We need to relax that to allow degraded mode, too.

Martin Pitt (pitti) on 2015-03-09
Changed in sysvinit (Ubuntu):
importance: Undecided → High
status: New → In Progress
assignee: nobody → Martin Pitt (pitti)
Martin Pitt (pitti) on 2015-03-09
tags: added: systemd-boot
Martin Pitt (pitti) on 2015-03-09
Changed in sysvinit (Ubuntu):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sysvinit - 2.88dsf-53.2ubuntu11

---------------
sysvinit (2.88dsf-53.2ubuntu11) vivid; urgency=medium

  * service, invoke-rc.d: Don't ignore systemd unit dependencies in "degraded"
    mode. (LP: #1429734)
 -- Martin Pitt <email address hidden> Mon, 09 Mar 2015 08:25:11 +0100

Changed in sysvinit (Ubuntu):
status: Fix Committed → Fix Released
Martin Pitt (pitti) wrote :

This also affects "/etc/init.d/postgresql stop", in degraded mode this won't stop all the bound postgresql@.service instances.

Changed in systemd (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → High
status: New → In Progress
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 219-4ubuntu5

---------------
systemd (219-4ubuntu5) vivid; urgency=medium

  * Merge from experimental branch:
    - /lib/lsb/init-functions.d/40-systemd: Don't ignore systemd unit
      dependencies in "degraded" mode. (LP: #1429734)
    - rules-ubuntu/71-power-switch-proliant.rules: Add support for HP ProLiant
      m400 Server Cartridge soft powerdown on Linux 3.16. (LP: #1428811)
  * systemctl: Don't forward telinit u to upstart. This works around upstart's
    Restart() always reexec'ing /sbin/init on Restart(), even if that changes
    to point to systemd during the upgrade. This avoids running systemd during
    a dist-upgrade. (LP: #1430479)
 -- Martin Pitt <email address hidden> Wed, 11 Mar 2015 11:01:36 +0100

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

Other bug subscribers