]> git.proxmox.com Git - systemd.git/commitdiff
ifup@.service: Drop "oneshot" to run ifup in the background during boot
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 27 Jul 2015 05:03:46 +0000 (07:03 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Mon, 27 Jul 2015 05:03:46 +0000 (07:03 +0200)
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
debian/extra/units/ifup@.service

index f255ea6139ddb0d52473cf8e934d9def21ce7db3..fb4e61eb8e8c8203d9dbba288b8b853cb6d00b65 100644 (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
 
index 890dddb51e1c38bcda8b832cd8070791298bd130..7c4df2e9245d7a6d8d48d2bff6588fb47b81bc1c 100644 (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