FS#36597 - [wpa_supplicant] Systemd service interface name issue

Attached to Project: Arch Linux
Opened by Vadim Kochan (vadimk) - Monday, 19 August 2013, 19:27 GMT
Last edited by Thomas Bächler (brain0) - Tuesday, 25 February 2014, 22:20 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Thomas Bächler (brain0)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

wpa_supplicant systemd service uses wlan0 interface name for any parameter value:

[Install]
Alias=multi-user.target.wants/wpa_supplicant@wlan0.service

Instead:

[Install]
Alias=multi-user.target.wants/wpa_supplicant@%i.service

Additional info:
* wpa_supplicant 2.0-4

Steps to reproduce:

Create system service for any interface:
> systemctl enable wpa_supplicant@wlp3s0

wpa_supplicant@wlan0.service will be generated in /etc/systemd/system/multi-user.target.wants
instead of wpa_supplicant@wlp3s0.service

There is already a fix for git version of wpa_suplicant:

http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap.git;a=commitdiff;h=893a0a558cd8fd9a7dc5827f379e0f8a273a4fe5

But it is not included yet into the upstream release package.
I think this commit can be added as patch into arch package.
This task depends upon

Closed by  Thomas Bächler (brain0)
Tuesday, 25 February 2014, 22:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  Will be fixed in 2.1.
Comment by holos (holomorph) - Sunday, 17 November 2013, 20:26 GMT

Loading...