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

2016-01-13 Thread Martin Pitt
Updating bug title and reopening.

** Summary changed:

- Systemd runs ifdown on shutdown even when it shouldn't
+ ifdown stops "manual" interfaces on shutdown

** Changed in: ifupdown (Ubuntu)
   Status: Fix Released => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Triaged
Status in ltsp package in Ubuntu:
  Invalid
Status in ifupdown package in Debian:
  Fix Released

Bug description:
  The unit /lib/systemd/system/ifup@.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@.service.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2016-01-13 Thread Alkis Georgopoulos
> Alkis, would be great if you could test with 0.8.8ubuntu2!

I confirm that ifupdown 0.8.8ubuntu2 solves the issue.
I tested both with plain `poweroff` and with `ifdown -a`, which didn't bring 
DOWN the "manual" interface.

Thanks a lot Martin!

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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 Released
Status in ltsp package in Ubuntu:
  Invalid
Status in ifupdown package in Debian:
  Unknown

Bug description:
  The unit /lib/systemd/system/ifup@.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@.service.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2016-01-13 Thread Martin Pitt
I also filed a (Debian) bug against LTSP yesterday, about improving this
"hiding" of the eth interface from NetworkManager directly. This avoids
having to rely on these subtleties of ifupdown.

** Bug watch added: Debian Bug tracker #810934
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810934

** Also affects: ltsp (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810934
   Importance: Unknown
   Status: Unknown

** Changed in: ltsp (Ubuntu)
   Status: Invalid => Triaged

** Changed in: ltsp (Ubuntu)
   Importance: Undecided => Low

** Summary changed:

- ifdown stops "manual" interfaces on shutdown
+ ifdown stops LTSP's "manual" interface on shutdown

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

Title:
  ifdown stops LTSP's "manual" interface on shutdown

Status in ifupdown package in Ubuntu:
  Fix Released
Status in ltsp package in Ubuntu:
  Triaged
Status in ifupdown package in Debian:
  Unknown
Status in ltsp package in Debian:
  Unknown

Bug description:
  The unit /lib/systemd/system/ifup@.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@.service.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2016-01-13 Thread Launchpad Bug Tracker
This bug was fixed in the package ifupdown - 0.8.8ubuntu2

---
ifupdown (0.8.8ubuntu2) xenial; urgency=medium

  * inet{,6}.defn: Don't down an interface when stopping. This breaks use
cases like LTSP which create a "manual" interfaces stanza to prevent
NetworkManager or other management software from touching the
interface of the remote root file system. In the past we had the
check_network_file_systems() check in /etc/init.d/networking that papered
over this misbehaviour, but that is not being done any more in
networking.service. (Closes: #809166, LP: #1492546)

 -- Martin Pitt   Wed, 13 Jan 2016 16:00:49
+0100

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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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 Released
Status in ltsp package in Ubuntu:
  Invalid
Status in ifupdown package in Debian:
  Unknown

Bug description:
  The unit /lib/systemd/system/ifup@.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@.service.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2016-01-13 Thread Martin Pitt
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
Touch seeded packages, 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@.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@.service.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2016-01-13 Thread Martin Pitt
** Changed in: ifupdown (Debian)
   Status: Fix Released => Unknown

** Changed in: ifupdown (Debian)
 Remote watch: Debian Bug tracker #761909 => Debian Bug tracker #809166

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Triaged
Status in ltsp package in Ubuntu:
  Invalid
Status in ifupdown package in Debian:
  Unknown

Bug description:
  The unit /lib/systemd/system/ifup@.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@.service.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2016-01-13 Thread Martin Pitt
** Changed in: ifupdown (Ubuntu)
   Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  In Progress
Status in ltsp package in Ubuntu:
  Invalid
Status in ifupdown package in Debian:
  Unknown

Bug description:
  The unit /lib/systemd/system/ifup@.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@.service.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp