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

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

    <bug>
          <bug_id>58112</bug_id>
          
          <creation_ts>2026-03-04 17:21:47 +0300</creation_ts>
          <short_desc>firejail: песочница не запускается от пользователя</short_desc>
          <delta_ts>2026-03-05 18:18:42 +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>firejail</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 name="Котюхов Михаил Андреевич">kotjuhovma</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>283188</commentid>
    <comment_count>0</comment_count>
    <who name="Котюхов Михаил Андреевич">kotjuhovma</who>
    <bug_when>2026-03-04 17:21:47 +0300</bug_when>
    <thetext>Системы, обновленные до sisyphus:
 kworkstation-11.2-x86-64
 workstation-11.1-x86-64
 education-11.0-x86-64-kde
 education-11.0-x86-64-xfce

Версия:
 firejail-0.9.78-alt2

Шаги:
Запустить песочницу:
 $ firejail --seccomp --profile=/etc/firejail/firefox-esr.profile

Результат:
Error: cannot read UID_MIN and/or GID_MIN from /etc/login.defs, using 1000 by default
Reading profile /etc/firejail/firefox-esr.profile
Reading profile /etc/firejail/firefox.profile
Reading profile /etc/firejail/firefox-common.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-exec.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-proc.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-run-common.inc
Reading profile /etc/firejail/whitelist-runuser-common.inc
Reading profile /etc/firejail/whitelist-usr-share-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
firejail version 0.9.79

Seccomp list in: !chroot, check list: @default-keep, prelist: unknown,
Parent pid 4317, child pid 4325
Warning: An abstract unix socket for session D-BUS might still be available. Use --net or remove unix from --protocol set.
Error: invalid file type, /etc/login.defs.
Error: proc 4317 cannot sync with peer: unexpected EOF
Peer 4325 unexpectedly exited with status 1

Ожидаемый результат:
 Песочница запущена

Дополнительная информация:
 В p11 не воспроизводится</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>283210</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2026-03-04 20:38:08 +0300</bug_when>
    <thetext>все параметры, которые нужны firejail для работы выставлены как надо ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>283212</commentid>
    <comment_count>2</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2026-03-04 20:55:57 +0300</bug_when>
    <thetext>$ firejail --version 
firejail version 0.9.79

в сизифе сейчас другой firejail</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>283232</commentid>
    <comment_count>3</comment_count>
    <who name="Котюхов Михаил Андреевич">kotjuhovma</who>
    <bug_when>2026-03-05 09:25:14 +0300</bug_when>
    <thetext>(Ответ для Anton Farygin на комментарий #1)
&gt; все параметры, которые нужны firejail для работы выставлены как надо ?

Параметры не выставлялись. В p11 запускается сразу после установки.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>283248</commentid>
    <comment_count>4</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2026-03-05 10:29:23 +0300</bug_when>
    <thetext>Я уже нашёл в чём проблема (это связано с правами доступа к login.defs) и думаю как решить</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>283326</commentid>
    <comment_count>5</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-03-05 18:18:42 +0300</bug_when>
    <thetext>firejail-0.9.78-alt3 -&gt; sisyphus:

Thu Mar 05 2026 Anton Farygin &lt;rider@altlinux&gt; 0.9.78-alt3
- skip unreadable files in private-etc instead of crashing (closes: #58112)
- sandbox user isolation: only expose root, nobody and current user instead of
  using UID_MIN/GID_MIN threshold from /etc/login.defs (closes: #45710)
- removed login.defs from default private-etc list (no longer needed at runtime)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>