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

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

    <bug>
          <bug_id>41695</bug_id>
          
          <creation_ts>2022-01-11 19:26:57 +0300</creation_ts>
          <short_desc>Содержит suid-бинарник</short_desc>
          <delta_ts>2025-01-22 23:02:50 +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>libgtop</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>
          
          <blocked>46132</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Mikhail Efremov">sem</reporter>
          <assigned_to name="Yuri N. Sedunov">aris</assigned_to>
          <cc>andy</cc>
    
    <cc>aris</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>206640</commentid>
    <comment_count>0</comment_count>
    <who name="Mikhail Efremov">sem</who>
    <bug_when>2022-01-11 19:26:57 +0300</bug_when>
    <thetext>В составе пакета libgtop_server2 с установленным SUID. Ему это действительно надо? Может хоть control добавить?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>257880</commentid>
    <comment_count>1</comment_count>
    <who name="Andrew Vasilyev">andy</who>
    <bug_when>2025-01-22 19:06:57 +0300</bug_when>
    <thetext>  В Description пакета написано:

  43 On Linux systems, this information is taken directly from the /proc
  44 filesystem while on other systems a server is used to read that
  45 information from other /dev/kmem, among others.
  
  Т.е. для &quot;Linux systems&quot; кузнец^W сервер не нужен?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>257881</commentid>
    <comment_count>2</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2025-01-22 19:18:11 +0300</bug_when>
    <thetext>(Ответ для Andrew Vasilyev на комментарий #1)

&gt;   
&gt;   Т.е. для &quot;Linux systems&quot; кузнец^W сервер не нужен?

Проверьте.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>257887</commentid>
    <comment_count>3</comment_count>
    <who name="Andrew Vasilyev">andy</who>
    <bug_when>2025-01-22 20:10:36 +0300</bug_when>
    <thetext>  Проверил. xfce4-about показывает информацию о системе
  как с /usr/libexec/libgtop_server2 без s-бита, так и
  без /usr/libexec/libgtop_server2 вообще. Т.е. для xfce4
  можно линковать с libgtop-2.0.so.11, т.е. выделить libgtop_server2
  и libgtop_daemon2 в отдельный пакет. Или убрать s-бит.
  Или добавить control :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>257888</commentid>
    <comment_count>4</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2025-01-22 21:26:10 +0300</bug_when>
    <thetext>libgtop-2.41.3-alt2 -&gt; sisyphus:

 Wed Jan 22 2025 Yuri N. Sedunov &lt;aris@altlinux&gt; 2.41.3-alt2
 - updated to 2.41.3-6-gc4472848
 - moved daemon/server to separate optional subpackage (ALT #41695)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>257890</commentid>
    <comment_count>5</comment_count>
    <who name="Andrew Vasilyev">andy</who>
    <bug_when>2025-01-22 22:17:10 +0300</bug_when>
    <thetext>  Спасибо, добрый человек!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>257892</commentid>
    <comment_count>6</comment_count>
    <who name="Mikhail Efremov">sem</who>
    <bug_when>2025-01-22 23:02:50 +0300</bug_when>
    <thetext>JFYI, я все-таки посмотрел код. Похоже, запуск сервера происходит только если в запрошенных features есть какая-то, для которой определяется ненулевой флаг GLIBTOP_SUID_*. Они определяются в sysdeps/&lt;osname&gt;/glibtop_server.h для разных ОС. Но для Linux там стоят все нули, т.е. запуск сервера вообще никогда не произойдет. Так что я вообще не понимаю нафига апстрим его собирает и устанавливает для Linux.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>