| Summary: | iwd cannot create interfaces as necessary | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Sisyphus | Reporter: | Arseny Maslennikov <arseny> | ||||
| Component: | iwd | Assignee: | Pavel Petrykin <silverducks> | ||||
| Status: | CLOSED FIXED | QA Contact: | qa-sisyphus | ||||
| Severity: | major | ||||||
| Priority: | P5 | CC: | silverducks | ||||
| Version: | unstable | ||||||
| Hardware: | all | ||||||
| OS: | Linux | ||||||
| Attachments: |
|
||||||
|
Description
Arseny Maslennikov
2026-06-16 14:24:03 MSK
Created attachment 21722 [details]
Лопата, с которой едят wpa_supplicant. В составе лопаты много underscores, всё как мы любим.
Глядя на спек: %install %makeinstall_std # Prevent iwd from changing interface naming as it may break user configuration. rm %buildroot/usr/lib/systemd/network/80-iwd.link install -Dm644 %SOURCE3 %buildroot/etc/iwd/main.conf А что за user configuration может здесь сломаться, если не мешать iwd создавать cfg80211-интерфейсы как следует? До появления iwd в сизифе никакой user configuration, связанной с ним, быть не могло. Замену w1fi wpa supplicant на iwd может провести только администратор машины явно, и он, делая это, готов к последствиям (к необходимости организовать настройки сети, отвязав их от имени интерфейса). А любители wpa_supplicant могут продолжать есть его с лопаты (лопата в приложении выше); мы же никому ничего не навязываем. :) Добрый день! Полагаю вы правы. Включу управление интерфейсами по умолчанию в следующем релизе. (In reply to Pavel Petrykin from comment #3) > Добрый день! > > Полагаю вы правы. Включу управление интерфейсами по умолчанию в следующем > релизе. Заранее благодарю!
Может быть (именно "может быть", не факт), отключалку 80-iwd.link можно предоставить отдельно, как пакет, или control, или иным уместным способом. В man 5 systemd.link:
The .link files are read from the files located in the system network directory
/usr/lib/systemd/network and /usr/local/lib/systemd/network [1], the volatile runtime
network directory /run/systemd/network, and the local administration network directory
/etc/systemd/network. All configuration files are collectively sorted and processed in
alphanumeric order, regardless of the directories in which they live. However, files with
identical filenames replace each other. It is recommended that each filename is prefixed
with a number smaller than "70" (e.g. 10-eth0.link). Otherwise, the default .link files
or those generated by systemd-network-generator.service(8) may take precedence over user
configured files. Files in /etc/ have the highest priority, files in /run/ take
precedence over files with the same name in /usr/lib/. This can be used to override a
system-supplied link file with a local file if needed. As a special case, an empty file
(file size 0) or symlink with the same name pointing to /dev/null disables the
configuration file entirely (it is "masked").
Замаскать файл, попросту говоря.
IMHO, если кому это вдруг потребуется, они обратятся в багзиллу, тогда, опираясь на контекст обращения, можно будет придумать, что делать. Замаскать файлик сисадмин может и сам одной командой.
iwd-3.12-alt2 -> sisyphus: Thu Jun 25 2026 Pavel Petrykin <silverducks@altlinux> 3.12-alt2 - Reenable iwd interface management (Closes: 59562). |