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

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

    <bug>
          <bug_id>59553</bug_id>
          
          <creation_ts>2026-06-16 12:01:13 +0300</creation_ts>
          <short_desc>Ошибка code=exited, status=2/INVALIDARGUMENT при запуске prometheus-nifi_exporter</short_desc>
          <delta_ts>2026-06-16 12:01:13 +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>prometheus-nifi_exporter</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="Савелий Солдатов">soldatovsu</reporter>
          <assigned_to name="felixz@altlinux.org">felixz</assigned_to>
          <cc>felixz</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>289548</commentid>
    <comment_count>0</comment_count>
    <who name="Савелий Солдатов">soldatovsu</who>
    <bug_when>2026-06-16 12:01:13 +0300</bug_when>
    <thetext>Пакет:
prometheus-nifi_exporter-0.2.0-alt1

Система: 
ALT Server 11.0 (Обновлена до Sisyphus)

Шаги воспроизведения:
Установить пакет:
# apt-get install prometheus-nifi_exporter

Создать базовый конфиг файл:
# mkdir /etc/prometheus-nifi_exporter

# cat &gt; /etc/prometheus-nifi_exporter/config.yml &lt;&lt;&apos;EOF&apos;
 exporter:
   listenAddress: &quot;0.0.0.0:9103&quot;
 nodes:
   - url: &quot;http://localhost:8080&quot;
     username: &quot;admin&quot;
     password: &quot;admin&quot;
EOF

Запустить:
# systemctl start prometheus-nifi_exporter.service &amp;&amp; sleep 5 &amp;&amp; systemctl status prometheus-nifi_exporter.service

Результат:
Сервис не запускается

# systemctl status prometheus-nifi_exporter.service 
× prometheus-nifi_exporter.service - Prometheus NIFI Exporter Service
     Loaded: loaded (/usr/lib/systemd/system/prometheus-nifi_exporter.service; disabled; preset: disabled)
     Active: failed (Result: exit-code) since Tue 2026-06-16 11:47:51 MSK; 5min ago
   Duration: 36ms
 Invocation: 40a7ed7fa18f47db9d550e9c7131f72c
TriggeredBy: × prometheus-nifi_exporter.socket
       Docs: https://github.com/prometheus/nifi_exporter
    Process: 3275 ExecStart=/usr/bin/nifi_exporter --web.systemd-socket $OPTIONS (code=exited, status=2)
   Main PID: 3275 (code=exited, status=2)
   Mem peak: 3.7M
        CPU: 22ms

июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: prometheus-nifi_exporter.service: Scheduled restart job, restart counter is at 5.
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: prometheus-nifi_exporter.service: Start request repeated too quickly.
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: prometheus-nifi_exporter.service: Failed with result &apos;exit-code&apos;.
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: Failed to start prometheus-nifi_exporter.service - Prometheus NIFI Exporter Service.

# journalctl | grep prometheus-nifi_exporter
июн 16 11:47:50 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: Listening on prometheus-nifi_exporter.socket - Prometheus NIFI exporter.
июн 16 11:47:50 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: Started prometheus-nifi_exporter.service - Prometheus NIFI Exporter Service.
июн 16 11:47:50 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=&apos;unit=prometheus-nifi_exporter comm=&quot;systemd&quot; exe=&quot;/usr/lib/systemd/systemd&quot; hostname=? addr=? terminal=? res=success&apos;
июн 16 11:47:50 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma kernel: audit: type=1130 audit(1781599670.626:371): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=&apos;unit=prometheus-nifi_exporter comm=&quot;systemd&quot; exe=&quot;/usr/lib/systemd/systemd&quot; hostname=? addr=? terminal=? res=success&apos;
июн 16 11:47:50 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: prometheus-nifi_exporter.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
июн 16 11:47:50 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: prometheus-nifi_exporter.service: Failed with result &apos;exit-code&apos;.
июн 16 11:47:50 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=&apos;unit=prometheus-nifi_exporter comm=&quot;systemd&quot; exe=&quot;/usr/lib/systemd/systemd&quot; hostname=? addr=? terminal=? res=failed&apos;
июн 16 11:47:50 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma kernel: audit: type=1131 audit(1781599670.670:372): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=&apos;unit=prometheus-nifi_exporter comm=&quot;systemd&quot; exe=&quot;/usr/lib/systemd/systemd&quot; hostname=? addr=? terminal=? res=failed&apos;
июн 16 11:47:50 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: prometheus-nifi_exporter.service: Scheduled restart job, restart counter is at 1.
июн 16 11:47:50 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=&apos;unit=prometheus-nifi_exporter comm=&quot;systemd&quot; exe=&quot;/usr/lib/systemd/systemd&quot; hostname=? addr=? terminal=? res=success&apos;
июн 16 11:47:50 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: Started prometheus-nifi_exporter.service - Prometheus NIFI Exporter Service.
июн 16 11:47:50 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma kernel: audit: type=1130 audit(1781599670.948:375): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=&apos;unit=prometheus-nifi_exporter comm=&quot;systemd&quot; exe=&quot;/usr/lib/systemd/systemd&quot; hostname=? addr=? terminal=? res=success&apos;
июн 16 11:47:50 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: prometheus-nifi_exporter.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
июн 16 11:47:50 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: prometheus-nifi_exporter.service: Failed with result &apos;exit-code&apos;.
июн 16 11:47:50 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=&apos;unit=prometheus-nifi_exporter comm=&quot;systemd&quot; exe=&quot;/usr/lib/systemd/systemd&quot; hostname=? addr=? terminal=? res=failed&apos;
июн 16 11:47:50 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma kernel: audit: type=1131 audit(1781599670.996:376): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=&apos;unit=prometheus-nifi_exporter comm=&quot;systemd&quot; exe=&quot;/usr/lib/systemd/systemd&quot; hostname=? addr=? terminal=? res=failed&apos;
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: prometheus-nifi_exporter.service: Scheduled restart job, restart counter is at 2.
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=&apos;unit=prometheus-nifi_exporter comm=&quot;systemd&quot; exe=&quot;/usr/lib/systemd/systemd&quot; hostname=? addr=? terminal=? res=success&apos;
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: Started prometheus-nifi_exporter.service - Prometheus NIFI Exporter Service.
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma kernel: audit: type=1130 audit(1781599671.198:379): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=&apos;unit=prometheus-nifi_exporter comm=&quot;systemd&quot; exe=&quot;/usr/lib/systemd/systemd&quot; hostname=? addr=? terminal=? res=success&apos;
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: prometheus-nifi_exporter.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: prometheus-nifi_exporter.service: Failed with result &apos;exit-code&apos;.
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=&apos;unit=prometheus-nifi_exporter comm=&quot;systemd&quot; exe=&quot;/usr/lib/systemd/systemd&quot; hostname=? addr=? terminal=? res=failed&apos;
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: prometheus-nifi_exporter.service: Scheduled restart job, restart counter is at 3.
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: Started prometheus-nifi_exporter.service - Prometheus NIFI Exporter Service.
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=&apos;unit=prometheus-nifi_exporter comm=&quot;systemd&quot; exe=&quot;/usr/lib/systemd/systemd&quot; hostname=? addr=? terminal=? res=success&apos;
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: prometheus-nifi_exporter.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=&apos;unit=prometheus-nifi_exporter comm=&quot;systemd&quot; exe=&quot;/usr/lib/systemd/systemd&quot; hostname=? addr=? terminal=? res=failed&apos;
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: prometheus-nifi_exporter.service: Failed with result &apos;exit-code&apos;.
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: prometheus-nifi_exporter.service: Scheduled restart job, restart counter is at 4.
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: Started prometheus-nifi_exporter.service - Prometheus NIFI Exporter Service.
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=&apos;unit=prometheus-nifi_exporter comm=&quot;systemd&quot; exe=&quot;/usr/lib/systemd/systemd&quot; hostname=? addr=? terminal=? res=success&apos;
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: prometheus-nifi_exporter.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: prometheus-nifi_exporter.service: Failed with result &apos;exit-code&apos;.
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=&apos;unit=prometheus-nifi_exporter comm=&quot;systemd&quot; exe=&quot;/usr/lib/systemd/systemd&quot; hostname=? addr=? terminal=? res=failed&apos;
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: prometheus-nifi_exporter.service: Scheduled restart job, restart counter is at 5.
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: prometheus-nifi_exporter.service: Start request repeated too quickly.
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: prometheus-nifi_exporter.service: Failed with result &apos;exit-code&apos;.
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: Failed to start prometheus-nifi_exporter.service - Prometheus NIFI Exporter Service.
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma systemd[1]: prometheus-nifi_exporter.socket: Failed with result &apos;service-start-limit-hit&apos;.
июн 16 11:47:51 server-11-1-x86-64-legacy-ext4-minimal-server-20260616.localdoma audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg=&apos;unit=prometheus-nifi_exporter comm=&quot;systemd&quot; exe=&quot;/usr/lib/systemd/systemd&quot; hostname=? addr=? terminal=? res=failed&apos;

Корректно запускается так:
/usr/bin/nifi_exporter /etc/prometheus-nifi_exporter/config.yml

Возможно, проблема в флаге --web.systemd-socket из ExecStart (prometheus-nifi_exporter.service)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>