Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Jouke Witteveen (jouke)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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 
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.

Loading...