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

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

    <bug>
          <bug_id>46072</bug_id>
          
          <creation_ts>2023-05-05 12:19:23 +0300</creation_ts>
          <short_desc>добавить настройку fs.inotify.max_user_instances</short_desc>
          <delta_ts>2024-02-02 18:06:40 +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>lxc</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>http://altlinux.org/эльбрус/lxc</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Shigorin">mike</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>andy</cc>
    
    <cc>dans</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>225500</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2023-05-05 12:19:23 +0300</bug_when>
    <thetext>Партнёры наткнулись на то, что в альтовом пакете lxc, в отличие от дебиановского, не поднимается fs.inotify.max_user_instances от значения по умолчанию (128) -- предлагаю тоже добавить в пакет файлик /etc/sysctl.d/30-lxc-inotify.conf вида

---
fs.inotify.max_user_instances = 1024
---

Либо же заготовить сразу расширенный вариант:

---
# a few dozen containers
fs.inotify.max_user_instances = 1024
# more than ~50
#fs.inotify.max_user_instances = 4096
#max_queued_events = 1048576
#max_user_watches = 1048576
---

Аналогичные правки прошу внести в сборку для p10.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>241066</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2024-02-02 18:06:40 +0300</bug_when>
    <thetext>lxc-5.0.3-alt1 -&gt; sisyphus:

 Wed Jan 31 2024 Alexey Shabalin &lt;shaba@altlinux&gt; 5.0.3-alt1
 - 5.0.3.
 - Backport from upstream &quot;Add loongarch64 support&quot;.
 - Disable build init.lxc.static.
 - Drop systemd knob.
 - Add sysctl config with &quot;fs.inotify.max_user_instances = 1024&quot; (ALT#46072).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>