Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371875 - net-wireless/wpa_supplicant should provide systemd units
Summary: net-wireless/wpa_supplicant should provide systemd units
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bjarke Istrup Pedersen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemd-consumers
  Show dependency tree
 
Reported: 2011-06-16 05:13 UTC by Christoph Brill (egore) (RESIGNED)
Modified: 2011-06-19 15:39 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
One-interface unit for wpa_supplicant (wpa_supplicant@.service) (wpa_supplicant@.service,311 bytes, text/plain)
2011-06-16 05:51 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
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