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

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

    <bug>
          <bug_id>54851</bug_id>
          
          <creation_ts>2025-06-19 13:26:13 +0300</creation_ts>
          <short_desc>Ошибка при выполнении ras-mc-ctl --summary</short_desc>
          <delta_ts>2025-09-09 15:07:08 +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>rasdaemon</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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Makeenkov">amakeenk</reporter>
          <assigned_to name="Sergey Y. Afonin">asy</assigned_to>
          <cc>asy</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>267453</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2025-06-19 13:26:13 +0300</bug_when>
    <thetext>- Версия пакета:
rasdaemon-0.8.3-alt3

- Шаги воспроизведения:
# apt-get install rasdaemon
# systemctl start rasdaemon
# ras-mc-ctl --summary

- Получаемый результат:
DBD::SQLite::db prepare failed: no such table: mc_event at /usr/sbin/ras-mc-ctl line 1558.
Can&apos;t call method &quot;execute&quot; on an undefined value at /usr/sbin/ras-mc-ctl line 1559.

Не воспроизводится в р10 на версии 0.7.0-alt1:

# ras-mc-ctl --summary
No Memory errors.

No PCIe AER errors.

No Extlog errors.

No devlink errors.
No disk errors.
No Memory failure errors.

No MCE errors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>267455</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2025-06-19 13:30:00 +0300</bug_when>
    <thetext>(Ответ для Alexander Makeenkov на комментарий #0)

&gt; - Получаемый результат:
&gt; DBD::SQLite::db prepare failed: no such table: mc_event at
&gt; /usr/sbin/ras-mc-ctl line 1558.

Просто не надо торопиться. С нуля этот файл создаётся первый раз минут через 20-30 после начала работы демона. Оно во всех версиях так. Конечно, проверку на наличие файла стоит сделать, да.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>267456</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2025-06-19 13:33:20 +0300</bug_when>
    <thetext>(Ответ для Sergey Y. Afonin на комментарий #1)
&gt; С нуля этот файл создаётся первый раз минут через 20-30 после начала работы демона

В 0.7.0-alt1 сразу после запуска такой ошибки нету ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>267457</commentid>
    <comment_count>3</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2025-06-19 13:34:10 +0300</bug_when>
    <thetext>Да, спустя несколько минут на 0.8.3-alt3 тоже ошибка пропала.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>267464</commentid>
    <comment_count>4</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2025-06-19 13:45:14 +0300</bug_when>
    <thetext>(Ответ для Alexander Makeenkov на комментарий #2)

&gt; В 0.7.0-alt1 сразу после запуска такой ошибки нету ...

Действительно, 0.7.0 сразу базу создаёт, без задержек.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>272159</commentid>
    <comment_count>5</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2025-09-09 15:07:08 +0300</bug_when>
    <thetext>https://github.com/mchehab/rasdaemon/issues/113</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>