Commit e8bc1096 authored by Didier Roche's avatar Didier Roche Committed by Martin Pitt
Browse files

debian/ifup@.service: Only run if /run/network exists

Add a ConditionPath on /run/network in case autogenerated networking.service
didn't need to start and so, didn't create this directory. Starting an ifup
service without this directory was resulting in the unit failing.

Closes: #769528
parent 4998c480
systemd (215-6) UNRELEASED; urgency=medium
[ Martin Pitt ]
* Cherry-pick upstream patch to fix udev crash in link_config_get().
* Cherry-pick upstream patch to fix tests in limited schroot environments.
* Add d/p/Add-env-variable-for-machine-ID-path.patch: Allow specifying an
......@@ -22,6 +23,12 @@ systemd (215-6) UNRELEASED; urgency=medium
required so that tools like systemd-rfkill can be used with SysVinit or
upstart scripts, too. (LP: #1387282)
[ Didier Roche ]
* debian/ifup@.service: add a ConditionPath on /run/network in case
autogenerated networking.service didn't need to start (and thus, didn't
create that directory). Starting an ifup service without this directory was
resulting in the unit failing. (Closes: #769528)
-- Martin Pitt <mpitt@debian.org> Sun, 12 Oct 2014 17:29:00 +0200
systemd (215-5) unstable; urgency=medium
......
......@@ -3,6 +3,7 @@ Description=ifup for %I
After=local-fs.target networking.service
Before=network.target
BindsTo=sys-subsystem-net-devices-%i.device
ConditionPathIsDirectory=/run/network
DefaultDependencies=no
[Service]
......
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