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

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

    <bug>
          <bug_id>51911</bug_id>
          
          <creation_ts>2024-10-31 20:34:24 +0300</creation_ts>
          <short_desc>Некорректно определяется статус демона: перепутываются /usr/bin и /bin при проверке по пути файла</short_desc>
          <delta_ts>2026-01-17 20:08:37 +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>service</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=56593</see_also>
          <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>50121</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrew Savchenko">bircoph</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>asy</cc>
    
    <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>legion</cc>
    
    <cc>placeholder</cc>
    
    <cc>sem</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>253773</commentid>
    <comment_count>0</comment_count>
    <who name="Andrew Savchenko">bircoph</who>
    <bug_when>2024-10-31 20:34:24 +0300</bug_when>
    <thetext>Разбираясь, почему пакет не перезапускается после переустановки, несмотря на service макросы в %preun и %post, я обнаружил, что start-stop-daemon некорректно выполняет проверку работоспособности демона.

В упрощённом виде воспроизведение ошибки выглядит так:

# start-stop-daemon --stop --test --exec /bin/ciadpi --user byedpi
No /bin/ciadpi found running; none killed.
# start-stop-daemon --stop --test --exec /usr/bin/ciadpi
Would send signal 15 to 154642.
# ps -o cmd 154642
CMD
/bin/ciadpi -i 127.0.0.1 -d 3+s -A t,r,s -f -1 -S

По-видимому, это неочевидно следствие usr-merge, который выполнен на системе, где воспроизводится ошибка.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>275511</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2025-10-25 23:24:48 +0300</bug_when>
    <thetext>То есть баг и его причины известны уже год. Впрочем, за это время только 2 человека столкнулись с ним.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>275518</commentid>
    <comment_count>2</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2025-10-26 14:22:51 +0300</bug_when>
    <thetext>(Ответ для Vitaly Chikunov на комментарий #1)

&gt; То есть баг и его причины известны уже год. Впрочем, за это время только 2
&gt; человека столкнулись с ним.

Может и больше. Я вот просто перезапуск делал. Если б не отвал шлюза из-за обновления bird, тоже бы не особо начал копать и баг на rpm вешать. Но про bird запомнилось, на ntpd повторно вылезло, и решил баг повесить. 

Какой баг дубликатом закроем? В bug 56593 вроде побольше написано.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>275519</commentid>
    <comment_count>3</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2025-10-26 14:26:08 +0300</bug_when>
    <thetext>Опять же, systemd-шники рекомендуют же reboot...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>277334</commentid>
    <comment_count>4</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2025-11-18 09:01:00 +0300</bug_when>
    <thetext>*** Bug 56593 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>277335</commentid>
    <comment_count>5</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2025-11-18 09:04:03 +0300</bug_when>
    <thetext>В сообщении https://bugzilla.altlinux.org/show_bug.cgi?id=56593#c6 был предложен фикс https://git.altlinux.org/tasks/398228/

Почему-то никто не заапрувил, а сейчас это задание вовсе удалено. Запущенные сервисы так и будут оставаться в непонятном состоянии после обновления?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>279527</commentid>
    <comment_count>6</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2025-12-24 19:29:05 +0300</bug_when>
    <thetext>403409. Почему-то задание не автозакрылось.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>279952</commentid>
    <comment_count>7</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2026-01-05 00:46:13 +0300</bug_when>
    <thetext>Это бы теперь ещё в p11 скопировать...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>279959</commentid>
    <comment_count>8</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2026-01-05 11:56:18 +0300</bug_when>
    <thetext>https://git.altlinux.org/tasks/404496/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280305</commentid>
    <comment_count>9</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2026-01-15 23:16:03 +0300</bug_when>
    <thetext>[#404496] p11 DONE (try 2) service.git=0.5.34-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280369</commentid>
    <comment_count>10</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2026-01-17 20:08:37 +0300</bug_when>
    <thetext>Спасибо</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>