Bug 48320 - sos не распознаёт профили samba-ad на системе, введённой в домен.
Summary: sos не распознаёт профили samba-ad на системе, введённой в домен.
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: sos (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Andrey Cherepanov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-03 11:18 MSK by Savelev Pavel
Modified: 2024-09-19 15:05 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Savelev Pavel 2023-11-03 11:18:31 MSK
Версия пакета с ошибкой: sos-4.6.0-alt2 из Sisyphus

Стенды с ошибкой: рабочая станция Alt Linux, введённая в домент Samba AD (в Сизиф: samba-4.17.12-alt2. В P10 - samba-4.16.11-alt2, ситуация аналогичная)

Шаги для воспроизведения:

1. Установить sos версии >4.4
2. Ввести рабочую станцию с sos в домен Samba AD.
3. Выполнить команду # sos report --list-profiles

Вывод команды в терминале:

# sos report --list-profiles

sosreport (version 4.6.0)

The following profiles are available:

 boot            boot, devices, services, systemd, udev
 cifs            cifs
 container       cgroups, selinux
 debug           hts
 desktop         lightdm, opengl, soundcard, wireless, x11
 gpu             opengl
 hardware        ata, block, crypto, cups, devices, dmraid, hardware, 
                 kernel, logs, memory, multipath, networking, 
                 networkmanager, ntb, opengl, openhpi, pci, processor, 
                 scsi, smartcard, soundcard, teamd, udev, udisks, usb, 
                 wireless, x11
 identity        login, nis, pam, smartcard, ssh, sssd, sudo
 java            jars, java
 kernel          ebpf, kernel, keyutils, system
 memory          memory, processor
 network         cifs, ebpf, firewall_tables, networking, 
                 networkmanager, nfs, openssl, ppp, sunrpc, teamd, 
                 wireless
 nfs             autofs, nfs, sunrpc
 openshift       selinux
 packagemanager  rpm
 perl            perl
 security        auditd, keyutils, openssl, pam, selinux, smartcard, 
                 ssh, sssd
 services        chrony, nis, oddjob, samba, ssh, sssd, systemd, 
                 sysvipc
 storage         ata, autofs, block, btrfs, cifs, devicemapper, devices, 
                 dmraid, filesys, keyutils, logs, lvm2, md, multipath, 
                 nfs, scsi, sunrpc
 sysmgmt         oddjob
 system          ansible, auditd, boot, cgroups, chrony, console, cron, 
                 crypto, dbus, devices, ebpf, firewall_tables, fwupd, 
                 hardware, host, i18n, kernel, keyutils, libraries, 
                 libvirt, login, logrotate, logs, memory, multipath, 
                 networking, networkmanager, openhpi, pam, pci, ppp, 
                 process, processor, python, release, rpm, selinux, 
                 services, ssh, sudo, sunrpc, system, systemd, sysvipc, 
                 udev, udisks
 virt            libvirt, vmware, xen
 webserver       java, perl

 23 profiles, 83 plugins

Профили samba-ad не отображаются.

В версии пакета из P10 (sos-3.5-alt9.1) вывод следующий:

# sosreport --list-profiles

 sosreport (version 3.5)

The following profiles are available:

boot            devices, services, systemd, udev
 debug           hts
 desktop         lightdm, opengl, soundcard, x11
 gpu             opengl
 hardware        ata, block, crypto, cups, devices, dmraid, hardware, 
                 kernel, logs, megacli, memory, multipath, networking, 
                 ntb, opengl, openhpi, pci, processor, scsi, smartcard, 
                 soundcard, teamd, udev, usb, x11
 identity        nis, pam, smartcard, ssh, sssd
 java            jars, java
 kernel          kernel, keyutils, system
 memory          memory, processor
 mrg             mrggrid, mrgmessg
 network         networking, nfs, openssl, ppp, teamd
 nfs             autofs, nfs
 openshift       openshift, selinux
 packagemanager  rpm
 perl            perl
 samba-ad        chrony, logs, networking, pam, rpm, samba, sssd
 security        auditd, keyutils, openssl, pam, selinux, smartcard, 
                 ssh, sssd
 services        chrony, nis, oddjob, puppet, samba, ssh, sssd, systemd, 
                 sysvipc
 storage         ata, autofs, block, devicemapper, dmraid, filesys, 
                 keyutils, logs, lvm2, md, megacli, multipath, nfs, 
                 scsi, xfs
 sysmgmt         general, oddjob
 system          auditd, cgroups, chrony, cron, crypto, dbus, devices, 
                 general, hardware, i18n, kernel, keyutils, last, 
                 libraries, libvirt, logrotate, logs, lsbrelease, 
                 megacli, memory, multipath, networking, openhpi, pam, 
                 pci, ppp, process, processor, python, rpm, selinux, 
                 services, system, systemd, sysvipc, udev
 virt            libvirt, openshift, xen
 webserver       java, perl

23 profiles, 71 plugins

Профили samba-ad отображаются корректно.

Аналогичное поведение наблюдается и с командой # sosreport -p samba-ad

В Сизиф:

# sosreport -p samba-ad

sosreport (version 4.6.0)

Unknown or inactive profile(s) provided: samba-ad
no valid profiles found

В P10:

sosreport (version 3.5)

This command will collect system configuration and diagnostic
information from this ALT Linux system. An archive containing the
collected information will be generated in /var/tmp/sos.uLlZOg.

For more information on ALT Linux Team visit:

https://altlinux.org/

The generated archive may contain data considered sensitive and its
content should be reviewed by the originating organization before being
passed to any third party.

No changes will be made to system configuration.

Press ENTER to continue, or CTRL-C to quit.

Please enter your first initial and last name [comp01.samba.testdomain]:
Please enter the case id that you are generating this report for []: 1

Setting up archive ...
 Setting up plugins ...
 Running plugins. Please wait ...

Running 1/7: chrony...        
  Running 2/7: logs...        
  Running 3/7: networking...        
  Running 4/7: pam...        
  Running 5/7: rpm...        
  Running 6/7: samba...        
  Running 7/7: sssd...

Creating compressed archive...

Your sosreport has been generated and saved in:
/var/tmp/sosreport-comp01.samba.testdomain.1-20231031215224.tar.xz

The checksum is: ca89099dc666f0f889dcdab8b95f6555

Please send this file to your support representative.

Ожидаемый результат: корерктный вывод профилей samba-ad, в случае, когда машина введена в домен.