Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 371875

Summary: net-wireless/wpa_supplicant should provide systemd units
Product: Gentoo Linux Reporter: Christoph Brill (egore) (RESIGNED) <egore>
Component: [OLD] UnspecifiedAssignee: Bjarke Istrup Pedersen (RETIRED) <gurligebis>
Status: RESOLVED FIXED    
Severity: normal CC: alecm, alexxy, dagger, mobile+disabled, nirbheek, qiaomuf, steev
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 365937    
Attachments: One-interface unit for wpa_supplicant (wpa_supplicant@.service)

Description Christoph Brill (egore) (RESIGNED) 2011-06-16 05:13:54 UTC
All necessary stuff is available in the systemd overlay.

http://git.overlays.gentoo.org/gitweb/?p=user/systemd.git;a=tree;f=net-wireless/wpa_supplicant

Reproducible: Always
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-06-16 05:51:37 UTC
Created attachment 277195 [details]
One-interface unit for wpa_supplicant (wpa_supplicant@.service)

As I mentioned earlier, that service file is useful only to NetworkManager, and I'm not even sure if NM is not a better place to install it.

I'm attaching a simple unit of mine which allows running wpa_supplicant on a single interface (without NM).
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-06-16 05:54:13 UTC
CC-ing NetworkManager maintainers too to see what they think on #c1.
Comment 3 Alec Moskvin 2011-06-17 00:21:26 UTC
(In reply to comment #1)
> Created attachment 277195 [details]
> One-interface unit for wpa_supplicant (wpa_supplicant@.service)

I would suggest changing

Description=WPA supplicant daemon (interface-specific version)

to something like

Description=WPA supplicant daemon on %I
Comment 4 Alexey Shvetsov archtester gentoo-dev 2011-06-19 15:39:25 UTC
Ok. Added -r3 to tree with systemd unit