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

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

    <bug>
          <bug_id>38311</bug_id>
          
          <creation_ts>2020-04-01 15:49:17 +0300</creation_ts>
          <short_desc>/run/nologin и sysvinit</short_desc>
          <delta_ts>2021-08-18 15:53:49 +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>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</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 name="Ivan A. Melnikov">iv</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>arseny</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>189022</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2020-04-01 15:49:17 +0300</bug_when>
    <thetext>Пакет systemd содержит файл /lib/tmpfiles.d/systemd-nologin.conf, который создаёт файл /run/nologin. Если при загрузке используется sysvinit, этот файл никто не удаляет, и никому кроме root&apos;а в систему войти не удаётся.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>189023</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2020-04-01 15:51:41 +0300</bug_when>
    <thetext>Отмечу, что если в качестве init используется systemd, то всё хорошо -- файл удаляется при запуске systemd-usersessions (и создаётся заново при остановке).

Однако вариант работы с разными init&apos;ами при установленном пакете systemd раньше вроде рассматривался с прицелом на &quot;экспериментаторов&quot;, так что я решил повесить.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201812</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2021-08-18 15:53:49 +0300</bug_when>
    <thetext>Возможны 2 варианта:
1) научить sysvinit удалять этот файл.
2) перенести /lib/tmpfiles.d/systemd-nologin.conf куда-нибудь, что бы была возможность не ставить в систему. Но /lib/tmpfiles.d/systemd-nologin.conf нужен для systemd, т.е. его придется ставить так или иначе.

Если хочется иметь выбор init при загрузке, то устроит только первый вариант.
Лучше перевесить багу на соответствующий пакет.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>