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

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

    <bug>
          <bug_id>50040</bug_id>
          
          <creation_ts>2024-04-16 10:25:01 +0300</creation_ts>
          <short_desc>Недоступно выполнение команд от пользователя etcd</short_desc>
          <delta_ts>2026-07-10 18:05:18 +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>etcd</component>
          <version>unstable</version>
          <rep_platform>x86_64</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>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Makeenkov">amakeenk</reporter>
          <assigned_to name="geochip@altlinux.org">geochip</assigned_to>
          <cc>geochip</cc>
    
    <cc>klesovnk</cc>
    
    <cc>kotjuhovma</cc>
    
    <cc>kunitskijds</cc>
    
    <cc>shaba</cc>
    
    <cc>varaksaaa</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>244753</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2024-04-16 10:25:01 +0300</bug_when>
    <thetext>Версия пакета:

etcd-3.5.12-alt1

Шаги воспроизведения:

# apt-get install etcd
# systemctl start etcd
# stat /var/lib/etcd/default.etcd/member/snap/db
# systemctl stop etcd
# su - etcd -c &quot;etcdutl defrag --data-dir /var/lib/etcd/default.etcd&quot;

Получаемый результат:

/dev/null not available; exiting

Ожидаемый результат:

Возможность выполнить команду от пользователя etcd, потому что, если выполнить etcdutl defrag от root, то права на файл /var/lib/etcd/default.etcd/member/snap/db изменятся на root, и в дальнейшем нельзя будет запустить сервис etcd из-за ошибки:

&quot;msg&quot;:&quot;failed to open database&quot;,&quot;path&quot;:&quot;/var/lib/etcd/default.etcd/member/snap/db&quot;,&quot;error&quot;:&quot;open /var/lib/etcd/default.etcd/member/snap/db: permission denied&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>263589</commentid>
    <comment_count>1</comment_count>
    <who name="Artem Varaksa">varaksaaa</who>
    <bug_when>2025-04-25 15:46:25 +0300</bug_when>
    <thetext>Актуально для etcd3.5.16-3.5.16-alt2.x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>263590</commentid>
    <comment_count>2</comment_count>
    <who name="Artem Varaksa">varaksaaa</who>
    <bug_when>2025-04-25 15:47:16 +0300</bug_when>
    <thetext>(Актуально и для etcd3.5.15-3.5.15-alt2.x86_64)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>275151</commentid>
    <comment_count>3</comment_count>
    <who name="Куницкий Дмитрий">kunitskijds</who>
    <bug_when>2025-10-21 14:52:31 +0300</bug_when>
    <thetext>Ошибка актуальна для версии пакета: etcd-3.5.23-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>281012</commentid>
    <comment_count>4</comment_count>
    <who name="Клёсов Никита Константинович">klesovnk</who>
    <bug_when>2026-01-28 13:07:16 +0300</bug_when>
    <thetext>Ошибка актуальна для версии пакета: etcd-3.5.26-alt1.x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>284973</commentid>
    <comment_count>5</comment_count>
    <who name="Клёсов Никита Константинович">klesovnk</who>
    <bug_when>2026-04-02 12:12:17 +0300</bug_when>
    <thetext>Ошибка актуальна для версии пакета: etcd-3.5.28-alt1.x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>291012</commentid>
    <comment_count>6</comment_count>
    <who name="Котюхов Михаил Андреевич">kotjuhovma</who>
    <bug_when>2026-07-10 18:05:18 +0300</bug_when>
    <thetext>Актуально для etcd-3.5.32-alt1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>