Commit 62ac10d3 authored by Michael Biebl's avatar Michael Biebl
Browse files

Order ifup@.service after networking.service

so we don't need to setup the runtime directory ourselves and we have a
defined point during boot when hotplugged network interfaces are
started.
parent 1f504d6b
......@@ -24,6 +24,9 @@ systemd (215-1) UNRELEASED; urgency=medium
interface name when starting an ifup@.service instance for hotplugged
network interfaces. Make sure a recent enough systemd version is installed
by bumping the versioned Breaks accordingly. (Closes: #747044)
* Order ifup@.service after networking.service so we don't need to setup the
runtime directory ourselves and we have a defined point during boot when
hotplugged network interfaces are started.
-- Michael Biebl <biebl@debian.org> Tue, 26 Aug 2014 12:09:10 +0200
......
[Unit]
Description=ifup for %I
After=local-fs.target
After=local-fs.target networking.service
Before=network.target
BindsTo=sys-subsystem-net-devices-%i.device
DefaultDependencies=no
[Service]
ExecStartPre=-/bin/mkdir -p /run/network
ExecStartPre=-/bin/chown root:netdev /run/network
ExecStart=/sbin/ifup --allow=hotplug %I
ExecStop=/sbin/ifdown %I
RemainAfterExit=true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment