Bug 39157 - Сервис atftpd не запускается после перезагрузки системы
Summary: Сервис atftpd не запускается после перезагрузки системы
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: atftp (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-28 15:24 MSK by Alexander Makeenkov
Modified: 2020-10-28 15:50 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).