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

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

    <bug>
          <bug_id>49944</bug_id>
          
          <creation_ts>2024-04-07 10:09:58 +0300</creation_ts>
          <short_desc>Странное поведение при вводе комманды systemctl enable</short_desc>
          <delta_ts>2024-04-07 10:10:10 +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>systemd</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="iQQator">iqqator</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>arseny</cc>
    
    <cc>iqqator</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>244312</commentid>
    <comment_count>0</comment_count>
    <who name="iQQator">iqqator</who>
    <bug_when>2024-04-07 10:09:58 +0300</bug_when>
    <thetext>Шаги по воспроизведениею (система без sudo)
- Открыть консоль под пользователем (с правами администратора)
- Ввести правильное имя сервиса: systemctl enable sshd
- В ответе получим: Недостаточно прав
- Ввести заведомо ошибочное имя сервиса: systemctl enable ssh
- Откроется окно для ввода пароля root-a

Ожидаемый результат:
- На правильном сервисе покажется окно ввода пароля root-a или остается как есть с ошибкой прав )))

Фактический результат:
- На правильном ошибка доступа
- На не правильном окно ввода пароля root-a

============

systemctl enable ssh
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-unit-files ====
Authentication is required to manage system service or unit files.
Authenticating as: System Administrator (root)
Password: 

============

systemctl enable sshd
Synchronizing state of sshd.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable sshd
У вас недостаточно полномочий для выполнения этого действия.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>