[Bug 1492546] Re: ifdown stops "manual" interfaces on shutdown

Martin Pitt martin.pitt at ubuntu.com
Wed Jan 13 15:07:31 UTC 2016


I fixed ifupdown to not "down" an interface which is "manual". This
behaves according to the documentation again, and should fix this even
without the old check_network_file_systems() from
/etc/init.d/networking.

Alkis, would be great if you could test with 0.8.8ubuntu2!

** Changed in: ifupdown (Ubuntu)
       Status: In Progress => Fix Committed

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

Title:
  ifdown stops "manual" interfaces on shutdown

Status in ifupdown package in Ubuntu:
  Fix Committed
Status in ltsp package in Ubuntu:
  Invalid
Status in ifupdown package in Debian:
  Unknown

Bug description:
  The unit /lib/systemd/system/ifup at .service is Debian and Ubuntu specific, it's not part of upstream systemd.
  On shutdown, it unconditionally ifdowns all interfaces:
    ExecStop=/sbin/ifdown %I

  This is a regression from previous init systems (sysvinit and upstart)
  which cared so that when a network file system was in use, they didn't
  ifdown the interfaces.

  Specifically, both /etc/init.d/networking and /etc/init/networking contain these functions:
    check_network_file_systems()
    check_network_swaps()
  which output the message "not deconfiguring network interfaces: network file systems still mounted" and exit.

  So, please call the same functions in the ExecStop= part of
  ifup at .service.

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



More information about the foundations-bugs mailing list