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

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

    <bug>
          <bug_id>34110</bug_id>
          
          <creation_ts>2017-10-31 18:42:36 +0300</creation_ts>
          <short_desc>Не запускается sssd после перезагрузки</short_desc>
          <delta_ts>2018-07-25 21:46:19 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch p8</product>
          <component>alterator-auth</component>
          <version>не указана</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>ASSIGNED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>34011</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Mikhail Efremov">sem</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>asheplyakov</cc>
    
    <cc>pavel_sharapov</cc>
          
          <qa_contact name="qa-p8@altlinux.org">qa-p8</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>166816</commentid>
    <comment_count>0</comment_count>
    <who name="Mikhail Efremov">sem</who>
    <bug_when>2017-10-31 18:42:36 +0300</bug_when>
    <thetext>+++ Данная ошибка создана размножением ошибки 34011 +++

Добавляю в AD компьютер следующей строкой:
system-auth write ad domain.name host workgroup username password

Перезагружаю машину и пробую зайти под доменной учетной записью. Естественно, ничего не получается. Приходится вручную запускать sssd и добавлять в автозагрузку:
systemctl start sssd
systemctl enable sssd</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166831</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2017-11-01 07:49:05 +0300</bug_when>
    <thetext>Что пишет systemctl status sssd ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166835</commentid>
    <comment_count>2</comment_count>
    <who name="">pavel_sharapov</who>
    <bug_when>2017-11-01 09:54:27 +0300</bug_when>
    <thetext>(В ответ на комментарий №1)
&gt; Что пишет systemctl status sssd ?

Сразу после добавления в домен и после перезагрузки:

● sssd.service - System Security Services Daemon
   Loaded: loaded (/lib/systemd/system/sssd.service; disabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/sssd.service.d
           └─journal.conf
   Active: inactive (dead)

После ручного запуска:
systemctl start sssd
systemctl status sssd
● sssd.service - System Security Services Daemon
   Loaded: loaded (/lib/systemd/system/sssd.service; disabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/sssd.service.d
           └─journal.conf
   Active: active (running) since Ср 2017-11-01 09:47:32 MSK; 6s ago
 Main PID: 1624 (sssd)
    Tasks: 4 (limit: 512)
   CGroup: /system.slice/sssd.service
           ├─1624 /usr/sbin/sssd -i -f
           ├─1627 /usr/libexec/sssd/sssd_be --domain VSEGEI.RU --uid xxx --gid yyy --debug-to-files
           ├─1628 /usr/libexec/sssd/sssd_nss --uid xxx --gid yyy --debug-to-files
           └─1629 /usr/libexec/sssd/sssd_pam --uid xxx --gid yyy --debug-to-files

ноя 01 09:47:32 pc-machine.vsegei.ru sssd[1624]: ; TSIG error with server: tsig verify failure
ноя 01 09:47:32 pc-machine.vsegei.ru sssd[1624]: ; TSIG error with server: tsig verify failure
ноя 01 09:47:32 pc-machine.vsegei.ru sssd[1624]: ; TSIG error with server: tsig verify failure
ноя 01 09:47:32 pc-machine.vsegei.ru sssd[1624]: ; TSIG error with server: tsig verify failure
ноя 01 09:47:32 pc-machine.vsegei.ru sssd[1624]: ; TSIG error with server: tsig verify failure
ноя 01 09:47:32 pc-machine.vsegei.ru sssd[1624]: update failed: REFUSED
ноя 01 09:47:33 pc-machine.vsegei.ru sssd[1624]: ; TSIG error with server: tsig verify failure
ноя 01 09:47:33 pc-machine.vsegei.ru sssd[1624]: update failed: REFUSED
ноя 01 09:47:33 pc-machine.vsegei.ru sssd[1624]: ; TSIG error with server: tsig verify failure
ноя 01 09:47:33 pc-machine.vsegei.ru sssd[1624]: update failed: REFUSED

После добавления в автозагрузку:
systemctl enable sssd
Synchronizing state of sssd.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable sssd
Created symlink /etc/systemd/system/multi-user.target.wants/sssd.service → /lib/systemd/system/sssd.service.

systemctl status sssd
● sssd.service - System Security Services Daemon
   Loaded: loaded (/lib/systemd/system/sssd.service; enabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/sssd.service.d
           └─journal.conf
   Active: active (running) since Ср 2017-11-01 09:47:32 MSK; 1min 2s ago
 Main PID: 1624 (sssd)
   CGroup: /system.slice/sssd.service
           ├─1624 /usr/sbin/sssd -i -f
           ├─1627 /usr/libexec/sssd/sssd_be --domain VSEGEI.RU --uid xxx --gid yyy --debug-to-files
           ├─1628 /usr/libexec/sssd/sssd_nss --uid xxx --gid yyy --debug-to-files
           └─1629 /usr/libexec/sssd/sssd_pam --uid xxx --gid yyy --debug-to-files

ноя 01 09:47:32 pc-machine.vsegei.ru sssd[1624]: ; TSIG error with server: tsig verify failure
ноя 01 09:47:32 pc-machine.vsegei.ru sssd[1624]: ; TSIG error with server: tsig verify failure
ноя 01 09:47:32 pc-machine.vsegei.ru sssd[1624]: ; TSIG error with server: tsig verify failure
ноя 01 09:47:32 pc-machine.vsegei.ru sssd[1624]: ; TSIG error with server: tsig verify failure
ноя 01 09:47:32 pc-machine.vsegei.ru sssd[1624]: ; TSIG error with server: tsig verify failure
ноя 01 09:47:32 pc-machine.vsegei.ru sssd[1624]: update failed: REFUSED
ноя 01 09:47:33 pc-machine.vsegei.ru sssd[1624]: ; TSIG error with server: tsig verify failure
ноя 01 09:47:33 pc-machine.vsegei.ru sssd[1624]: update failed: REFUSED
ноя 01 09:47:33 pc-machine.vsegei.ru sssd[1624]: ; TSIG error with server: tsig verify failure
ноя 01 09:47:33 pc-machine.vsegei.ru sssd[1624]: update failed: REFUSED</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172989</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Sheplyakov">asheplyakov</who>
    <bug_when>2018-07-25 21:46:19 +0300</bug_when>
    <thetext>Возможно, это та же проблема, что и https://bugzilla.redhat.com/show_bug.cgi?id=1394320</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>