FS#35083 - [netctl] netctl-auto.service ignores wpa-config profiles
Attached to Project:
Arch Linux
Opened by Bryan (bryan) - Friday, 03 May 2013, 18:25 GMT
Last edited by Jouke Witteveen (jouke) - Saturday, 04 May 2013, 08:39 GMT
Opened by Bryan (bryan) - Friday, 03 May 2013, 18:25 GMT
Last edited by Jouke Witteveen (jouke) - Saturday, 04 May 2013, 08:39 GMT
|
Details
Description: When you have a profile in /etc/netctl that's
configured to use wpa-config as Security method, it gets
ignored by netctl-auto.service.
Package version: 0.8-1 Sample log: mai 03 20:04:19 host.fr sudo[6983]: demo : TTY=pts/0 ; PWD=/home/demo ; USER=root ; COMMAND=/usr/bin/systemctl start netctl-auto@wlan0.service mai 03 20:04:19 host.fr sudo[6983]: pam_unix(sudo:session): session opened for user root by demo(uid=0) mai 03 20:04:19 host.fr systemd[1]: Starting Automatic wireless network connection using netctl profiles... mai 03 20:04:19 host.fr netctl-auto[6986]: Included profile 'pam' mai 03 20:04:19 host.fr netctl-auto[6986]: Included profile 'arg' and use case: # ls -l /etc/netctl -rw-r----- 1 root root 357 25 avril 15:40 arg -rw-r----- 1 root root 195 3 mai 15:25 edu -rw-r----- 1 root root 152 25 avril 17:51 pam with edu containing: Description='edu network' Connection=wireless Interface=wlan0 IP=dhcp Security=wpa-config ESSID=edu WPAConfigFile='/etc/wpa/edu.conf' vs arg for example: # cat /etc/netctl/arg Description='Wireless lab' Connection=wireless Interface=wlan0 IP=dhcp Security=wpa ESSID=arg Key='AAAAAAAAAA' Starting the wpa-config based profile manually (e.g. netctl start edu) works without problem. |
This task depends upon
Closed by Jouke Witteveen (jouke)
Saturday, 04 May 2013, 08:39 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#35056
Saturday, 04 May 2013, 08:39 GMT
Reason for closing: Duplicate
Additional comments about closing:
Comment by Jouke Witteveen (jouke) -
Saturday, 04 May 2013, 08:38 GMT
It is not (easily) possible to get predictable behavior if we
include Security=wpa-config profiles in automatic profile
selection. The reason is that all options outside network blocks
will necessarily get ignored. Hence (as noted in the man page and
on the wiki), Security=wpa-config profiles are ignored in
automatic profile selection.