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

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

    <bug>
          <bug_id>44672</bug_id>
          
          <creation_ts>2022-12-18 01:38:32 +0300</creation_ts>
          <short_desc>cockpit в P10 не включает службу</short_desc>
          <delta_ts>2022-12-18 11:55:00 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Branch p10</product>
          <component>cockpit</component>
          <version>не указана</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</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>0</everconfirmed>
          <reporter name="Ахламов Петр">petr-akhlamov</reporter>
          <assigned_to name="qa-team@altlinux.org">qa-team</assigned_to>
          <cc>amakeenk</cc>
    
    <cc>slev</cc>
          
          <qa_contact name="qa-p10@altlinux.org">qa-p10</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>219164</commentid>
    <comment_count>0</comment_count>
    <who name="Ахламов Петр">petr-akhlamov</who>
    <bug_when>2022-12-18 01:38:32 +0300</bug_when>
    <thetext>После установки cockpit в P10 и выполнения systemctl enable cockpit, systemd выдает ошибку:

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.
 
Possible reasons for having this kind of units are:
• A unit may be statically enabled by being symlinked from another unit&apos;s
  .wants/ or .requires/ directory.
• A unit&apos;s purpose may be to act as a helper for some other unit which has
  a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
  D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
  instance name specified.

И служба при запуске системы не включается, только вручную или хаком.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>219169</commentid>
    <comment_count>1</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2022-12-18 09:36:19 +0300</bug_when>
    <thetext>Это не ошибка, сервис так реализован.

(Ответ для Ахламов Петр на комментарий #0)
&gt; Possible reasons for having this kind of units are:
&gt; • A unit may be started when needed via activation (socket, path, timer,
&gt;   D-Bus, udev, scripted systemctl call, ...).

Попробуйте:
# systemctl enable cockpit.socket &amp;&amp; reboot

И напишите сюда о результатах.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>219170</commentid>
    <comment_count>2</comment_count>
    <who name="Ахламов Петр">petr-akhlamov</who>
    <bug_when>2022-12-18 11:12:54 +0300</bug_when>
    <thetext>Да, все работает.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>