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

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

    <bug>
          <bug_id>59905</bug_id>
          
          <creation_ts>2026-07-23 11:52:02 +0300</creation_ts>
          <short_desc>При запуске sntp возникает ошибка &quot;Cannot open KoD db file /var/db/ntp-kod&quot;</short_desc>
          <delta_ts>2026-07-23 11:52:02 +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>ntp-utils</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="Лавренко Егор Сергеевич">lavrenkoes</reporter>
          <assigned_to name="Gleb F-Malinovskiy">glebfm</assigned_to>
          <cc>asy</cc>
    
    <cc>mike</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>291512</commentid>
    <comment_count>0</comment_count>
    <who name="Лавренко Егор Сергеевич">lavrenkoes</who>
    <bug_when>2026-07-23 11:52:02 +0300</bug_when>
    <thetext>Системы:
Alt Workstation 11.1 x86-64
Alt Workstation K 11.4 x86-64
Alt Education 11.1 XFCE x86-64 
Alt Education 11.1 KDE x86-64
Alt Server 11.1 x86-64 (Обновленная до Sisyphus)

Версия пакета:
ntp-utils-4.2.8p18-alt3

Шаги для воспроизведения:
1. Установить пакет:
   # apt-get install ntp-utils
2. Выполнить запрос через sntp:
   # sntp ntp.ix.ru

Ожидаемый результат:
Ответ приходит без ошибок

Реальный результат:
Вывод в консоль (присутствует ошибка kod_init_kod_db()):
sntp 4.2.8p18@1.4062-o Wed Jul 22 05:00:00 UTC 2026 (1)
kod_init_kod_db(): Cannot open KoD db file /var/db/ntp-kod: No such file or directory
2026-07-23 11:31:01.920506 (-0300) +0.000475 +/- 0.000352 ntp.ix.ru 2001:6d0:ffd4::1 s1 no-leap

Дополнительно:
1. Также воспроизводится в P11
2. Если выполнить создание файла, ошибка не воспроизводится:
   # mkdir -p /var/db &amp;&amp; touch /var/db/ntp-kod &amp;&amp; chmod 644 /var/db/ntp-kod</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>