<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>59562</bug_id>
          
          <creation_ts>2026-06-16 14:24:03 +0300</creation_ts>
          <short_desc>iwd cannot create interfaces as necessary</short_desc>
          <delta_ts>2026-06-26 14:53:37 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>iwd</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Arseny Maslennikov">arseny</reporter>
          <assigned_to name="Pavel Petrykin">silverducks</assigned_to>
          <cc>silverducks</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>289585</commentid>
    <comment_count>0</comment_count>
    <who name="Arseny Maslennikov">arseny</who>
    <bug_when>2026-06-16 14:24:03 +0300</bug_when>
    <thetext>Здравствуйте, дорогая редакция!

Спасибо, для начала, что собрали iwd.

iwd при своём запуске не управляет интерфейсами, в результате чего на одной phy нельзя пользоваться одновременно p2p и STA.
Более того, из пакета вообще исчез 80-iwd.link, и починить iwd, не переписав себе link-правило по памяти, тоже нельзя.
Прошу поправить.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>289587</commentid>
    <comment_count>1</comment_count>
      <attachid>21722</attachid>
    <who name="Arseny Maslennikov">arseny</who>
    <bug_when>2026-06-16 14:27:10 +0300</bug_when>
    <thetext>Created attachment 21722
Лопата, с которой едят wpa_supplicant. В составе лопаты много underscores, всё как мы любим.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>289588</commentid>
    <comment_count>2</comment_count>
    <who name="Arseny Maslennikov">arseny</who>
    <bug_when>2026-06-16 14:28:19 +0300</bug_when>
    <thetext>Глядя на спек:
  %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 могут продолжать есть его с лопаты (лопата в приложении выше); мы же никому ничего не навязываем. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>289653</commentid>
    <comment_count>3</comment_count>
    <who name="Pavel Petrykin">silverducks</who>
    <bug_when>2026-06-17 15:15:25 +0300</bug_when>
    <thetext>Добрый день!

Полагаю вы правы. Включу управление интерфейсами по умолчанию в следующем релизе.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>289681</commentid>
    <comment_count>4</comment_count>
    <who name="Arseny Maslennikov">arseny</who>
    <bug_when>2026-06-17 18:43:49 +0300</bug_when>
    <thetext>(In reply to Pavel Petrykin from comment #3)
&gt; Добрый день!
&gt; 
&gt; Полагаю вы правы. Включу управление интерфейсами по умолчанию в следующем
&gt; релизе.
Заранее благодарю!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>289682</commentid>
    <comment_count>5</comment_count>
    <who name="Arseny Maslennikov">arseny</who>
    <bug_when>2026-06-17 18:45:13 +0300</bug_when>
    <thetext>
Может быть (именно &quot;может быть&quot;, не факт), отключалку 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 &quot;70&quot; (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 &quot;masked&quot;).
Замаскать файл, попросту говоря.

IMHO, если кому это вдруг потребуется, они обратятся в багзиллу, тогда, опираясь на контекст обращения, можно будет придумать, что делать. Замаскать файлик сисадмин может и сам одной командой.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>290209</commentid>
    <comment_count>6</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-06-26 14:53:37 +0300</bug_when>
    <thetext>iwd-3.12-alt2 -&gt; sisyphus:

Thu Jun 25 2026 Pavel Petrykin &lt;silverducks@altlinux&gt; 3.12-alt2
- Reenable iwd interface management (Closes: 59562).</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>21722</attachid>
            <date>2026-06-16 14:27:10 +0300</date>
            <delta_ts>2026-06-16 14:27:10 +0300</delta_ts>
            <desc>Лопата, с которой едят wpa_supplicant. В составе лопаты много underscores, всё как мы любим.</desc>
            <filename>file_59562.txt</filename>
            <type>text/plain</type>
            <size>55</size>
            <attacher name="Arseny Maslennikov">arseny</attacher>
            
              <data encoding="base64">ICBhDQogICBcICAgX19fX19fX18NCiAgICBcXy8gICAgICAgLw0KICAgICAvX19fX19fXy8NCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>