Bug 39157

Summary: Сервис atftpd не запускается после перезагрузки системы
Product: Sisyphus Reporter: Alexander Makeenkov <amakeenk>
Component: atftpAssignee: Anton Farygin <rider>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: darktemplaralt, rider
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Alexander Makeenkov 2020-10-28 15:24:11 MSK
# systemctl status atftpd
● atftpd.service - SYSV: advanced tftp daemon
     Loaded: loaded (/etc/rc.d/init.d/atftpd; generated)
     Active: failed (Result: protocol) since Wed 2020-10-28 12:21:41 UTC; 1s ago
       Docs: man:systemd-sysv-generator(8)
    Process: 2973 ExecStart=/etc/rc.d/init.d/atftpd start (code=exited, status=0/SUCCESS)
        CPU: 51ms

окт 28 12:21:41 server-91-x86-64-min-20200818.localdomain systemd[1]: Starting SYSV: advanced tftp daemon...
окт 28 12:21:41 server-91-x86-64-min-20200818.localdomain atftpd[2980]: Advanced Trivial FTP server started (0.7.2)
окт 28 12:21:41 server-91-x86-64-min-20200818.localdomain atftpd[3012]: error writing PID to file /var/run/atftpd/pid
окт 28 12:21:41 server-91-x86-64-min-20200818.localdomain atftpd[3012]: atftpd: can't write our pid file: /var/run/atftpd/pid.
окт 28 12:21:41 server-91-x86-64-min-20200818.localdomain atftpd[2973]: Starting atftpd service: [ DONE ]
окт 28 12:21:41 server-91-x86-64-min-20200818.localdomain systemd[1]: atftpd.service: Can't open PID file /run/atftpd/pid (yet?) after start: Operation not permitted
окт 28 12:21:41 server-91-x86-64-min-20200818.localdomain systemd[1]: atftpd.service: Failed with result 'protocol'.
окт 28 12:21:41 server-91-x86-64-min-20200818.localdomain systemd[1]: Failed to start SYSV: advanced tftp daemon.

Ручное создание директории /var/run/atftpd позволяет решить проблему.

atftp-0.7.2-alt1
Comment 1 Repository Robot 2020-10-28 15:50:35 MSK
atftp-0.7.2-alt2 -> sisyphus:

 Wed Oct 28 2020 Aleksei Nikiforov <darktemplar@altlinux> 0.7.2-alt2
 - Create runtime directory via tmpfiles (Closes: #39157).