Commit b29acf9e authored by Martin Pitt's avatar Martin Pitt
Browse files

Order ifup@.service and networking.service after network-pre.target

networking.service is usually generated from /etc/init.d/networking, so just
add a .d/ snippet.

Closes: #766938
parent 492416fc
......@@ -2,6 +2,8 @@ systemd (215-11) UNRELEASED; urgency=medium
* escape-beef-up-new-systemd-escape-tool.patch: Avoid creating a danling
symlink, to work around regression in recent patch (see #776257).
* Order ifup@.service and networking.service after network-pre.target.
(Closes: #766938)
-- Martin Pitt <mpitt@debian.org> Mon, 26 Jan 2015 08:20:18 +0100
......
[Unit]
After=network-pre.target
[Unit]
Description=ifup for %I
After=local-fs.target networking.service
After=local-fs.target network-pre.target networking.service
Before=network.target
BindsTo=sys-subsystem-net-devices-%i.device
ConditionPathIsDirectory=/run/network
......
......@@ -185,6 +185,8 @@ override_dh_install:
debian/systemd/usr/lib/tmpfiles.d/
install --mode=644 debian/debian-fixup.service debian/ifup@.service \
debian/systemd/lib/systemd/system/
install -D --mode=644 debian/extra/network-pre.conf \
debian/systemd/lib/systemd/system/networking.service.d/network-pre.conf
install --mode=644 debian/extra/udev-finish.service \
debian/udev/lib/systemd/system/
ln -s ../udev-finish.service debian/udev/lib/systemd/system/sysinit.target.wants/
......
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