From 7f563b59efb99f69bef0d5addaf2e29dc4f5d3e8 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Mon, 27 Jul 2015 07:03:46 +0200 Subject: [PATCH] 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 --- debian/changelog | 3 +++ debian/extra/units/ifup@.service | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index f255ea613..fb4e61eb8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Tue, 21 Jul 2015 22:24:51 +0200 diff --git a/debian/extra/units/ifup@.service b/debian/extra/units/ifup@.service index 890dddb51..7c4df2e92 100644 --- a/debian/extra/units/ifup@.service +++ b/debian/extra/units/ifup@.service @@ -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