Bug 40974 - Не запускается zincati.service
Summary: Не запускается zincati.service
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: zincati (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: keremet@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-21 15:04 MSK by keremet
Modified: 2021-09-21 16:13 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description keremet 2021-09-21 15:04:16 MSK
[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 "/usr/libexec/zincati agent "
[ERROR] critical error: failed to assemble configuration settings
[ERROR]  -> failed to validate agent identity configuration
[ERROR]  -> failed to build default identity
[ERROR]  -> 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
Comment 1 Repository Robot 2021-09-21 16:13:15 MSK
zincati-0.0.22-alt5 -> sisyphus:

 Tue Sep 21 2021 Andrey Sokolov <keremet@altlinux> 0.0.22-alt5
 - Change alt-ostree log location (closes 40974)
 - Fix summary