[Bug 1449380] Re: "systemctl default" stops ifup at .service

Launchpad Bug Tracker 1449380 at bugs.launchpad.net
Thu May 14 18:08:22 UTC 2015


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

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

  * Revert upstream commit 743970d which immediately SIGKILLs units during
    shutdown. This leads to problems like bash not being able to write its
    history, mosh not saving its state, and similar failed cleanup actions.
    (LP: #1448259)
  * ifup at .service: Set IgnoreOnIsolate, so that "systemctl default" does not
    shut down network interfaces. (LP: #1449380). Add PartOf=network.target,
    so that stopping network.target also stops network interfaces.
  * 75-persistent-net-generator.rules: Fix rules for ibmveth (it's a driver,
    not a subsystem). (LP: #1437375)
  * debian/tests/unit-config: Add tests for systemctl enable/disable on a
    SysV-only unit. Reproduces LP #1447807.
  * Fix systemctl enable for SysV scripts without a native unit. We must not
    try and enable the nonexisting unit then. (LP: #1447807)

 -- Martin Pitt <martin.pitt at ubuntu.com>  Thu, 07 May 2015 07:45:34
+0200

** Changed in: systemd (Ubuntu Vivid)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1449380

Title:
  "systemctl default" stops ifup at .service

Status in systemd package in Ubuntu:
  Fix Released
Status in systemd source package in Vivid:
  Fix Released
Status in systemd package in Debian:
  Fix Released

Bug description:
  Running the display-manager autopkgtest causes eth0 to get shut down:

  Apr 28 08:30:15 autopkgtest ifdown[3267]: Internet Systems Consortium DHCP Client 4.3.1
  Apr 28 08:30:15 autopkgtest ifdown[3267]: Copyright 2004-2014 Internet Systems Consortium.
  Apr 28 08:30:15 autopkgtest ifdown[3267]: All rights reserved.
  Apr 28 08:30:15 autopkgtest ifdown[3267]: For info, please visit https://www.isc.org/software/dhcp/
  Apr 28 08:30:15 autopkgtest ifdown[3267]: Listening on LPF/eth0/52:54:00:12:34:56
  Apr 28 08:30:15 autopkgtest ifdown[3267]: Sending on   LPF/eth0/52:54:00:12:34:56
  Apr 28 08:30:15 autopkgtest ifdown[3267]: Sending on   Socket/fallback
  Apr 28 08:30:15 autopkgtest dhclient[3301]: DHCPRELEASE on eth0 to 10.0.2.2 port 67 (xid=0x3ca4ea0a)
  Apr 28 08:30:15 autopkgtest ifdown[3267]: DHCPRELEASE on eth0 to 10.0.2.2 port 67 (xid=0x3ca4ea0a)

  This breaks the ssh runner.

  SRU TEST CASE:
  ==============
  - Prepare a system which uses ifupdown (e. g. a standard adt-buildvm-ubuntu-cloud VM)
  - Start it, run "sudo systemctl default"
  - With vivid final's systemd, this will stop ifup at eth0.service and hence shut down eth0. ssh and other network connections will stop.
  - With this fix, ifup at eth0.service and eth0 should stay running/up.

  Regression potential: Very low: We don't use "systemctl isolate"
  during regular operation, and more elaborate commands like "systemctl
  isolate rescue.target" are currently broken on Ubuntu anyway due to
  our D-Bus shutdown hack.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1449380/+subscriptions



More information about the foundations-bugs mailing list