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

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

    <bug>
          <bug_id>61228</bug_id>
          
          <creation_ts>2026-10-26 20:13:34 +0300</creation_ts>
          <short_desc>Эвристика поиска postgresql.conf не знает каталог кластера ALT (/var/lib/pgsql/data)</short_desc>
          <delta_ts>2026-10-27 09:36:42 +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>timescaledb-tune</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Блинов Денис Вячеславович">blinovdv</reporter>
          <assigned_to name="Alexei Takaseev">taf</assigned_to>
          <cc>taf</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>303440</commentid>
    <comment_count>0</comment_count>
    <who name="Блинов Денис Вячеславович">blinovdv</who>
    <bug_when>2026-10-26 20:13:34 +0300</bug_when>
    <thetext>timescaledb-tune-0.19.0-alt1

Шаги:
1) Развернуть PG
2) # timescaledb-tune -dry-run -yes

Ожидаемый результат: успешное нахождение конфига
Реальный результат: # timescaledb-tune -dry-run -yes
exit: could not find postgresql.conf at any of these locations:
/etc/postgresql/15/main/postgresql.conf
/var/lib/pgsql/15/data/postgresql.conf
/var/lib/postgres/data/postgresql.conf
/var/lib/postgresql/data/postgresql.conf

Аналогично с любой версией PG.
В # strings /usr/bin/timescaledb-tune | grep postgresql.conf нет ALT ориентированного путя.

Решение: Явный -conf-path 
timescaledb-tune -conf-path /var/lib/pgsql/data/postgresql.conf -dry-run -yes
Using postgresql.conf at this path:
Recommendations based on 2.91 GB of available memory and 4 CPUs for PostgreSQL 15
Success, but not writing due to --dry-run flag 

Добавить бы в пакет патч с ALT путём /var/lib/pgsql/data/postgresql.conf (или читать PGDATA из /etc/sysconfig/postgresql</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303463</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-10-27 09:36:42 +0300</bug_when>
    <thetext>timescaledb-tune-0.19.0-alt2 -&gt; sisyphus:

Tue Oct 27 2026 Alexei Takaseev &lt;taf@altlinux&gt; 0.19.0-alt2
- Added an ALT-specific path to the configuration file (ALT #61228)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>