touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #108779
[Bug 1492546] Re: Systemd runs ifdown on shutdown even when it shouldn't
This bug was fixed in the package systemd - 225-1ubuntu7
---------------
systemd (225-1ubuntu7) wily; urgency=medium
* Don't restart logind on upgrades any more. This kills X.org (#798097)
while logind doesn't save/restore its open fds (issue #1163), and also
gets confused about being idle in between (LP: #1473800)
* debian/extra/initramfs-tools/hooks/udev: Copy all
/etc/udev/rules.d/*.rules rules which are not merely overriding the one in
/lib/, not just 70-persistent-net.rules. They might contain network names
or other bits which are relevant for the initramfs. (Closes: #795494)
* ifup@.service: Drop PartOf=network.target; we don't want to stop these
units during shutdown. Stopping networking.service already shuts down the
interfaces, but contains the safeguard for NFS or other network file
systems. Isolating emergency.target still keeps working as before as well,
as this also stops networking.service. (Closes: #761909, LP: #1492546)
* networkd: Change IPForward= default to "kernel". This keeps compatibility
with lots of packages which expect to be able to enable global forwarding
in /proc/sys/net/ipv4/ip_forward. (LP: #1500992)
-- Martin Pitt <martin.pitt@xxxxxxxxxx> Mon, 05 Oct 2015 15:53:26
+0200
** Changed in: systemd (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 systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1492546
Title:
Systemd runs ifdown on shutdown even when it shouldn't
Status in ltsp package in Ubuntu:
Invalid
Status in systemd package in Ubuntu:
Fix Released
Status in systemd package in Debian:
New
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/ltsp/+bug/1492546/+subscriptions
References