FS#64399 - [iwd] Remove shipped link file that breaks persistent naming

Attached to Project: Community Packages
Opened by Giancarlo Razzolini (grazzolini) - Tuesday, 05 November 2019, 18:58 GMT
Last edited by Christian Rebischke (Shibumi) - Tuesday, 05 November 2019, 21:22 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Christian Rebischke (Shibumi)
Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

It seems that iwd 1.0 ships a systemd link file that breaks persistent naming. I suggest we remove that file from our installation. iwd itself doesn't care what the interface is named, since it deals with phy.

Additional info:
* iwd-1.0-3

Steps to reproduce:

Install iwd-1.0-3
This task depends upon

Closed by  Christian Rebischke (Shibumi)
Tuesday, 05 November 2019, 21:22 GMT
Reason for closing:  Not a bug
Additional comments about closing:  The behavior is intended and is needed for hot-plugging and other iwd features.
Comment by Michel Koss (MichelKoss1) - Tuesday, 05 November 2019, 19:41 GMT
The default behaviour of iwd is to destroy existing wifi device and create its own wlan0 thus not following persistent naming from systemd[1].

Without disabling persistent naming it works like this:

wlan0 -> wlp5s6 -> wlan0

which may create some races reported by users and this is the reason upstream removed the man-in-the-middle from above which is pointless in default config.

If you don't like that then you may override iwd config locally but patching default upstream behaviour is against Arch principles and may result more work for packages as they would have to handle bugs related to this on their own.

[1] https://iwd.wiki.kernel.org/interface_lifecycle

Loading...