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

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

    <bug>
          <bug_id>39988</bug_id>
          
          <creation_ts>2021-04-26 13:34:04 +0300</creation_ts>
          <short_desc>Миграция на /run и /run/lock</short_desc>
          <delta_ts>2026-05-28 16:32:21 +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>pam</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>35881</blocked>
    
    <blocked>56041</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Speccyfighter">zxwarior</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>antohami</cc>
    
    <cc>arseny</cc>
    
    <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>198129</commentid>
    <comment_count>0</comment_count>
    <who name="Speccyfighter">zxwarior</who>
    <bug_when>2021-04-26 13:34:04 +0300</bug_when>
    <thetext>По причине конфига

$ cat /lib/tmpfiles.d/faillock.conf 
d /var/run/faillock 0755 - - -

в системе на sysv, сообщение с требованием о миграции (и множеством подобных), с systemd-utils после версии 243.9-alt1, ломает вывод на загрузке в tty1.

Требуется миграция
с /var/run на /run
и с /var/lock на /run/lock

Подробности:
https://bugzilla.altlinux.org/show_bug.cgi?id=39981</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>198168</commentid>
    <comment_count>1</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2021-04-27 06:50:12 +0300</bug_when>
    <thetext>Достаточно исправить только /lib/tmpfiles.d/faillock.conf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>198169</commentid>
    <comment_count>2</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2021-04-27 08:45:18 +0300</bug_when>
    <thetext>(Ответ для Антон Мидюков на комментарий #1)
&gt; Достаточно исправить только /lib/tmpfiles.d/faillock.conf

и там же ещё нужно исправить /lib/tmpfiles.d/sepermit.conf
Исходим из того, что /var/run, /var/lock симлинки на /run и /run/lock соответственно.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>287565</commentid>
    <comment_count>3</comment_count>
    <who name="Arseny Maslennikov">arseny</who>
    <bug_when>2026-05-15 14:32:53 +0300</bug_when>
    <thetext>А ещё надо перестать упаковывать эти каталоги в пакет. (Тогда, когда hasher и прочее такое научится прогонять tmpfiles в чруте после установки)

В базовый сборочный чрут с filesystem, в котором /var/lock есть симлинк на /run/lock, pam не ставится:
  error: unpacking of archive failed on file /var/lock/sepermit: cpio: mkdir
  error: pam-1.7.2-alt1.x86_64: install failed
  hsh-initroot: Failed to install build package list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>287566</commentid>
    <comment_count>4</comment_count>
    <who name="Arseny Maslennikov">arseny</who>
    <bug_when>2026-05-15 14:40:05 +0300</bug_when>
    <thetext>(In reply to Arseny Maslennikov from comment #3)
&gt; А ещё надо перестать упаковывать эти каталоги в пакет.
Т. е. сделать их %ghost, да.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>