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

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

    <bug>
          <bug_id>40974</bug_id>
          
          <creation_ts>2021-09-21 15:04:16 +0300</creation_ts>
          <short_desc>Не запускается zincati.service</short_desc>
          <delta_ts>2021-09-21 16:13:15 +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>zincati</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</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>keremet</reporter>
          <assigned_to name="keremet@altlinux.org">keremet</assigned_to>
          <cc>keremet</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>203019</commentid>
    <comment_count>0</comment_count>
    <who name="">keremet</who>
    <bug_when>2021-09-21 15:04:16 +0300</bug_when>
    <thetext>[acos@localhost ~]$ systemctl status zincati.service
● zincati.service - Zincati Update Agent
     Loaded: loaded (8;;file://localhost/lib/systemd/system/zincati.service^G/lib/systemd/system/zincati.service8;;^G; enabled; vendor preset: disabled)
     Active: activating (auto-restart) (Result: exit-code) since Fri 2021-09-17 12:33:21 UTC; 3s ago
       Docs: 8;;https://github.com/coreos/zincati^Ghttps://github.com/coreos/zincati8;;^G
    Process: 981 ExecStart=/usr/libexec/zincati agent ${ZINCATI_VERBOSITY} (code=exited, status=1/FAILURE)
   Main PID: 981 (code=exited, status=1/FAILURE)
        CPU: 8ms
[acos@localhost ~]$

[root@localhost acos]# su - zincati -s /bin/bash -c &quot;/usr/libexec/zincati agent &quot;
[ERROR] critical error: failed to assemble configuration settings
[ERROR]  -&gt; failed to validate agent identity configuration
[ERROR]  -&gt; failed to build default identity
[ERROR]  -&gt; rpm-ostree status failed:
    /usr/bin/rpm-ostree: line 9: /var/log/alt-ostree.log: Permission denied
    
[root@localhost acos]#

Решение: создать каталог /var/log/alt-ostree, доступный на запись пользователю zincati. В этом каталоге будет создаваться файл log</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>203026</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2021-09-21 16:13:15 +0300</bug_when>
    <thetext>zincati-0.0.22-alt5 -&gt; sisyphus:

 Tue Sep 21 2021 Andrey Sokolov &lt;keremet@altlinux&gt; 0.0.22-alt5
 - Change alt-ostree log location (closes 40974)
 - Fix summary</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>