Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 408834 Details for
Bug 544272
net-wireless/wpa_supplicant: systemd units have incomplete dependencies causing early termination on shutdown
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch with typos fixed
0001-systemd-Order-wpa_supplicant-before-network.target.patch (text/plain), 2.98 KB, created by
Mike Gilbert
on 2015-08-12 01:52:40 UTC
(
hide
)
Description:
Patch with typos fixed
Filename:
MIME Type:
Creator:
Mike Gilbert
Created:
2015-08-12 01:52:40 UTC
Size:
2.98 KB
patch
obsolete
>From b6376cb3852e9b8c0d46458bb99d5baf6da087b2 Mon Sep 17 00:00:00 2001 >From: Mike Gilbert <floppym@gentoo.org> >Date: Tue, 11 Aug 2015 21:43:02 -0400 >Subject: [PATCH] systemd: Order wpa_supplicant before network.target > >Ordering the units before network.target causes them to be stopped >after network.target on shutdown. This ensures that any network >filesystems will be unmounted before wpa_supplicant is killed. > >Adding Wants=network.target ensures that network.target will be included >in the active dependency graph. This is typical of units which are >involved in networking setup functions. >--- > wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in | 2 ++ > wpa_supplicant/systemd/wpa_supplicant-wired.service.arg.in | 2 ++ > wpa_supplicant/systemd/wpa_supplicant.service.arg.in | 2 ++ > wpa_supplicant/systemd/wpa_supplicant.service.in | 2 ++ > 4 files changed, 8 insertions(+) > >diff --git a/wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in b/wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in >index bfdee25..03ac507 100644 >--- a/wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in >+++ b/wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in >@@ -2,6 +2,8 @@ > Description=WPA supplicant daemon (interface- and nl80211 driver-specific version) > Requires=sys-subsystem-net-devices-%i.device > After=sys-subsystem-net-devices-%i.device >+Before=network.target >+Wants=network.target > > # NetworkManager users will probably want the dbus version instead. > >diff --git a/wpa_supplicant/systemd/wpa_supplicant-wired.service.arg.in b/wpa_supplicant/systemd/wpa_supplicant-wired.service.arg.in >index 20ba0ad..c8a744d 100644 >--- a/wpa_supplicant/systemd/wpa_supplicant-wired.service.arg.in >+++ b/wpa_supplicant/systemd/wpa_supplicant-wired.service.arg.in >@@ -2,6 +2,8 @@ > Description=WPA supplicant daemon (interface- and wired driver-specific version) > Requires=sys-subsystem-net-devices-%i.device > After=sys-subsystem-net-devices-%i.device >+Before=network.target >+Wants=network.target > > # NetworkManager users will probably want the dbus version instead. > >diff --git a/wpa_supplicant/systemd/wpa_supplicant.service.arg.in b/wpa_supplicant/systemd/wpa_supplicant.service.arg.in >index 10e62bc..7788b38 100644 >--- a/wpa_supplicant/systemd/wpa_supplicant.service.arg.in >+++ b/wpa_supplicant/systemd/wpa_supplicant.service.arg.in >@@ -2,6 +2,8 @@ > Description=WPA supplicant daemon (interface-specific version) > Requires=sys-subsystem-net-devices-%i.device > After=sys-subsystem-net-devices-%i.device >+Before=network.target >+Wants=network.target > > # NetworkManager users will probably want the dbus version instead. > >diff --git a/wpa_supplicant/systemd/wpa_supplicant.service.in b/wpa_supplicant/systemd/wpa_supplicant.service.in >index 4351ad8..ea964ce 100644 >--- a/wpa_supplicant/systemd/wpa_supplicant.service.in >+++ b/wpa_supplicant/systemd/wpa_supplicant.service.in >@@ -1,5 +1,7 @@ > [Unit] > Description=WPA supplicant >+Before=network.target >+Wants=network.target > > [Service] > Type=dbus >-- >2.5.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 544272
:
408832
| 408834