Bug 49359

Summary: Сервис atftpd нельзя добавить в автозапуск, используя systemctl enable
Product: Sisyphus Reporter: Osmolovskaya Anastasia <osmolovskayaaa>
Component: atftpAssignee: Anton Farygin <rider>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: rider
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Osmolovskaya Anastasia 2024-02-12 10:39:00 MSK
Версия пакета: atftp-0.8.0-alt1

Тестовые стенды:
Alt Workstation K 10.2.1 x86-64
Alt Workstation 10.1 x86-64
Alt Education/Education-kde 10.2 x86-64
Alt Server 10.1 x86-64

Шаги для воспроизведения:
1. Установить пакет atftp: # apt-get install atftp
2. Добавить сервис в автозапуск: # systemctl enable --now atftpd

Ожидаемый результат: успешное добавление и запуск сервиса 
Реальный результат: В файле atftpd.service отсутствует секция install . При попытке добавить сервис в автозапуск, возникает предупреждение

The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
Alias= settings in the [Install] section, and DefaultInstance= for template
units). This means they are not meant to be enabled using systemctl.
Comment 1 Repository Robot 2024-02-13 13:34:11 MSK
atftp-0.8.0-alt2 -> sisyphus:

 Tue Feb 13 2024 Anton Farygin <rider@altlinux.ru> 0.8.0-alt2
 - fixed systemd unit (Closes: #49359)