ifup@.service: Drop "oneshot" to run ifup in the background during boot

This avoids blocking network.target on boot with unavailable hotplug interfaces
in /etc/network/interfaces. The main purpose of the Before=network.target is to
ensure a robust shutdown order, not to block the boot on ifup'ing every
interface; services which want that need to depend on network-online.target.

Closes: #790669
LP: #1425376
This commit is contained in:
Martin Pitt 2015-07-27 07:03:46 +02:00
parent cd4eee29cf
commit 7f563b59ef
2 changed files with 3 additions and 1 deletions

3
debian/changelog vendored
View File

@ -10,6 +10,9 @@ systemd (222-3) UNRELEASED; urgency=medium
* Enable GNU EFI support and add gnu-efi build dep. This enables/ships the
systemd EFI boot loader. (Closes: #787720, LP: #1472283)
* networkd autopkgtest: More robust/forceful killing of dnsmasq.
* ifup@.service: Drop "oneshot" to run ifup in the background during boot.
This avoids blocking network.target on boot with unavailable hotplug
interfaces in /etc/network/interfaces. (Closes: #790669, LP: #1425376)
-- Michael Biebl <biebl@debian.org> Tue, 21 Jul 2015 22:24:51 +0200

View File

@ -9,7 +9,6 @@ DefaultDependencies=no
IgnoreOnIsolate=yes
[Service]
Type=oneshot
ExecStart=/sbin/ifup --allow=hotplug %I
ExecStartPost=/sbin/ifquery --state %I
ExecStop=/sbin/ifdown %I