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

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

    <bug>
          <bug_id>49359</bug_id>
          
          <creation_ts>2024-02-12 10:39:00 +0300</creation_ts>
          <short_desc>Сервис atftpd нельзя добавить в автозапуск, используя systemctl enable</short_desc>
          <delta_ts>2024-02-13 13:34:11 +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>atftp</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 name="Osmolovskaya Anastasia">osmolovskayaaa</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>241451</commentid>
    <comment_count>0</comment_count>
    <who name="Osmolovskaya Anastasia">osmolovskayaaa</who>
    <bug_when>2024-02-12 10:39:00 +0300</bug_when>
    <thetext>Версия пакета: 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>241578</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2024-02-13 13:34:11 +0300</bug_when>
    <thetext>atftp-0.8.0-alt2 -&gt; sisyphus:

 Tue Feb 13 2024 Anton Farygin &lt;rider@altlinux.ru&gt; 0.8.0-alt2
 - fixed systemd unit (Closes: #49359)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>