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

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

    <bug>
          <bug_id>59300</bug_id>
          
          <creation_ts>2026-05-22 14:10:29 +0300</creation_ts>
          <short_desc>Вопрос по работе ПО Network UPS Tools</short_desc>
          <delta_ts>2026-09-09 16:34:47 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Branch p11</product>
          <component>nut-server</component>
          <version>unspecified</version>
          <rep_platform>x86</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="Олеся Шустер">shusterov</reporter>
          <assigned_to name="Andrey Kovalev">ded</assigned_to>
          <cc>amakeenk</cc>
    
    <cc>eltsovga</cc>
    
    <cc>shevchenkodyu</cc>
          
          <qa_contact name="qa-p11@altlinux.org">qa-p11</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>288169</commentid>
    <comment_count>0</comment_count>
    <who name="Олеся Шустер">shusterov</who>
    <bug_when>2026-05-22 14:10:29 +0300</bug_when>
    <thetext>Вопрос по работе ПО Network UPS Tools (пакет nut-server) на платформе p11.
При запуске сервиса nut-server.service в логах наблюдается сообщение:

Process: xxxx ExecStartPre=/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/nut-common-tmpfiles.conf (code=exited, status=203/EXEC)

Прошу уточнить, зачем была добавлена директива &quot;ExecStartPre&quot; в службу, если файл на выполнение отсутствует в системе?
Если параметр добавлен в сервис ошибочно, то удалите его.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>288170</commentid>
    <comment_count>1</comment_count>
    <who name="Шевченко Денис">shevchenkodyu</who>
    <bug_when>2026-05-22 14:13:18 +0300</bug_when>
    <thetext>Строчка появилась в сизифе начиная с версии 2.8.2-alt1

2.8.2-alt1 собрано 12 сентября 2024 г. Andrey Kovalev в задании #357297
11 сентября 2024 г. Andrey Kovalev
- Update to upstream version 2.8.2.
- Built without python2.

В ОС Альт нет бинарника /usr/bin/systemd-tmpfiles:

ll /usr/bin/ | grep -i &quot;systemd-tmp&quot; 
-rwxr-xr-x   1 root root      121368 мая 15 09:31 systemd-tmpfiles.shared

Как-будто systemd-сервисы в пакетах nut и nut-server не адаптировали под ОС Альт</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>288173</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2026-05-22 15:01:43 +0300</bug_when>
    <thetext>JFYI

# systemctl cat nut-server.service | grep ExecStartPre
ExecStartPre=-/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/nut-common-tmpfiles.conf

Знак - после = означает, что всё, что тут написано, выполнять не обязательно, если файла нету. Если бы не было минуса, то сервис бы падал.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>294045</commentid>
    <comment_count>3</comment_count>
    <who name="Шевченко Денис">shevchenkodyu</who>
    <bug_when>2026-09-01 11:48:55 +0300</bug_when>
    <thetext>Исправление в таске https://packages.altlinux.org/ru/tasks/430723/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>297646</commentid>
    <comment_count>4</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-09-09 16:34:47 +0300</bug_when>
    <thetext>nut-2.8.5-alt2 -&gt; p11:

Tue Aug 25 2026 Andrey Kovalev &lt;ded@altlinux&gt; 2.8.5-alt2
- Fixed ExecStartPre path to systemd-tmpfiles in systemd units
  (was the non-existent /usr/bin/systemd-tmpfiles autoconf fallback)
  (closes: #59300)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>