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

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

    <bug>
          <bug_id>40705</bug_id>
          
          <creation_ts>2021-08-11 16:00:00 +0300</creation_ts>
          <short_desc>Вынести  модуль dracut network-manager в отдельный пакет</short_desc>
          <delta_ts>2021-08-17 18:21:01 +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>dracut-network</component>
          <version>unstable</version>
          <rep_platform>x86_64</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>keremet</reporter>
          <assigned_to>keremet</assigned_to>
          <cc>shaba</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>201427</commentid>
    <comment_count>0</comment_count>
    <who name="">keremet</who>
    <bug_when>2021-08-11 16:00:00 +0300</bug_when>
    <thetext>При добавлении пакета ignition в rootfs, создаваемую через mkimage-profiles, сборка завершается ошибкой, если не будет добавлен еще и пакет etcnet. Причина в том, что пакет ignition зависит от dracut-network, зависящего от NetworkManager, зависящего от NetworkManager-wifi, зависящего от NetworkManager-daemon, содержащего /usr/sbin/NetworkManager. При наличии файла /usr/sbin/NetworkManager скрипт mkimage-profiles features.in/net/rootfs/image-scripts.d/50-net-nm (запускаемый при проходе цели use/net) выполняет редактирование файла /etc/net/ifaces/default/options-eth, который находится в пакете etcnet. Поэтому если не установлен пакет etcnet, скрипт 50-net-nm завершается ошибкой, так как нет файла /etc/net/ifaces/default/options-eth. Для работы ignition не нужен модуль dracut network-manager, для которого единственного требуется NetworkManager. Если вынести модуль network-manager в отдельный пакет, то пакет NetworkManager не будет ставиться при установке ignition и ошибка сборки rootfs будет устранена</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201750</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2021-08-17 18:21:01 +0300</bug_when>
    <thetext>dracut-055-alt3 -&gt; sisyphus:

 Wed Aug 11 2021 Andrey Sokolov &lt;keremet@altlinux&gt; 055-alt3
 - Move network-manager module to separate package (closes 40705)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>