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

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

    <bug>
          <bug_id>33021</bug_id>
          
          <creation_ts>2017-01-20 19:52:17 +0300</creation_ts>
          <short_desc>Паковать systemd-machined отдельно</short_desc>
          <delta_ts>2017-01-26 12:54:23 +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>systemd</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>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mikhail Efremov">sem</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>arseny</cc>
    
    <cc>shaba</cc>
    
    <cc>sin</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>161405</commentid>
    <comment_count>0</comment_count>
    <who name="Mikhail Efremov">sem</who>
    <bug_when>2017-01-20 19:52:17 +0300</bug_when>
    <thetext>Предлагаю вынести в отдельный пакет, как сделано в Федоре.
Это далеко не всем нужно, кроме того я наблюдаю странные задержки из-за наличия mymachines в nsswitch.conf (после mymachines есть еще модуль, разумеется).
Отладить мне не удалось, оно чего-то ждет через dbus, но непонятно что именно и от кого. Проявляется вроде только при первом логине пользователя.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>161406</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2017-01-20 20:07:49 +0300</bug_when>
    <thetext>Уже подготовлено #176893, тестирую.
Новый подпакет называется systemd-container.
И даже в нем я не стал делать жёскую зависимость на libnss-mymachines.
Устанавливайте libnss-mymachines, если знаете, зачем он вам нужен.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>161472</commentid>
    <comment_count>2</comment_count>
    <who name="Evgeny Sinelnikov">sin</who>
    <bug_when>2017-01-24 18:41:55 +0300</bug_when>
    <thetext>В соответствии с документацией mymachines для passwd и group стоит задавать последним:
https://www.freedesktop.org/software/systemd/man/nss-mymachines.html

&quot;It is recommended to place &quot;mymachines&quot; after the &quot;files&quot; or &quot;compat&quot; entry of the /etc/nsswitch.conf lines to make sure that its mappings are preferred over other resolvers such as DNS, but so that /etc/hosts, /etc/passwd and /etc/group based mappings take precedence.&quot;

Вообще, отдельный пакет - это правильно. Но, наверное, должна быть какая-то валидация для nsswitch.conf.

А задержка, я думаю, возникает из-за &quot;мертвой петли&quot; в однопоточном dbus.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>161519</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2017-01-26 12:54:23 +0300</bug_when>
    <thetext>systemd-container отдельный пакет в systemd-232-alt1.

PS: для управления nss модулями, нужны нормальные макросы в rpm. Каждый раз придумывать команды для sed не удобно.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>