The systemd service file (included in portage files directory) "wpa_supplicant@.service" contains a hardcoded interface name instead if the alias usage. The ExecStart line already uses %I, but the install alias is using @wlan0.service instead of @%i.service Reproducible: Always
Created attachment 386688 [details, diff] wpa_supplicant_at.service.patch Fix interface name handling
There are already correct systemd service files in the upstream package. /var/tmp/portage/net-wireless/wpa_supplicant-2.3/work/ wpa_supplicant-2.3/wpa_supplicant/systemd/wpa_supplicant.service.arg.in /var/tmp/portage/net-wireless/wpa_supplicant-2.3/work/wpa_supplicant-2.3/wpa_supplicant/systemd/wpa_supplicant-wired.service.arg.in /var/tmp/portage/net-wireless/wpa_supplicant-2.3/work/wpa_supplicant-2.3/wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in /var/tmp/portage/net-wireless/wpa_supplicant-2.3/work/wpa_supplicant-2.3/wpa_supplicant/systemd/wpa_supplicant.service.in We should use that one.
Created attachment 386694 [details, diff] 0001-Use-upstream-systemd-service-files.patch The attached patch enable usage of upstream systemd service files.
Fixed in the 2.3 ebuild :)