Bug 2320042 - [abrt] sssd-tools: set_component(): source_files.py:73:set_component:OSError
Summary: [abrt] sssd-tools: set_component(): source_files.py:73:set_component:OSError
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: sssd
Version: 41
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: jstephen
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:a5a6dd78a14a8d86bce922d8663...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-20 16:09 UTC by Maximilian Hofmann
Modified: 2025-01-28 15:07 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-01-28 15:07:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (754 bytes, text/plain)
2024-10-20 16:09 UTC, Maximilian Hofmann
no flags Details
File: environ (3.63 KB, text/plain)
2024-10-20 16:09 UTC, Maximilian Hofmann
no flags Details
File: mountinfo (4.95 KB, text/plain)
2024-10-20 16:09 UTC, Maximilian Hofmann
no flags Details
File: open_fds (23.34 KB, text/plain)
2024-10-20 16:09 UTC, Maximilian Hofmann
no flags Details
File: namespaces (171 bytes, text/plain)
2024-10-20 16:09 UTC, Maximilian Hofmann
no flags Details
File: backtrace (864 bytes, text/plain)
2024-10-20 16:09 UTC, Maximilian Hofmann
no flags Details
File: cpuinfo (3.24 KB, text/plain)
2024-10-20 16:09 UTC, Maximilian Hofmann
no flags Details

Description Maximilian Hofmann 2024-10-20 16:09:01 UTC
Version-Release number of selected component:
sssd-tools-2.10.0-1.fc41

Additional info:
reporter:       libreport-2.17.15
kernel:         6.11.4-300.fc41.x86_64
cmdline:        /usr/bin/python3 -sP /usr/libexec/sssd/sss_analyze error list
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-cosmic-com.system76.CosmicAppList-3787.scope
uid:            1000
reason:         source_files.py:73:set_component:OSError
executable:     /usr/libexec/sssd/sss_analyze
type:           Python3
package:        sssd-tools-2.10.0-1.fc41
runlevel:       N 5
exception_type: OSError
crash_function: set_component
interpreter:    python3-3.13.0-1.fc41.x86_64

Truncated backtrace:
source_files.py:73:set_component:OSError

Traceback (most recent call last):
  File "/usr/libexec/sssd/sss_analyze", line 5, in <module>
    sss_analyze.run()
    ~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/sssd/sss_analyze.py", line 107, in run
    analyzer.main()
    ~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/sssd/sss_analyze.py", line 102, in main
    args.func(args)
    ~~~~~~~~~^^^^^^
  File "/usr/lib/python3.13/site-packages/sssd/modules/error.py", line 52, in print_error
    source.set_component(component, False)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/sssd/source_files.py", line 73, in set_component
    raise IOError
OSError

Local variables in innermost frame:
self: <sssd.source_files.Files object at 0x7f0cd2976e40>
component: <Component.BE: 3>
child: False
domains: []

Comment 1 Maximilian Hofmann 2024-10-20 16:09:06 UTC
Created attachment 2052886 [details]
File: os_info

Comment 2 Maximilian Hofmann 2024-10-20 16:09:07 UTC
Created attachment 2052887 [details]
File: environ

Comment 3 Maximilian Hofmann 2024-10-20 16:09:08 UTC
Created attachment 2052888 [details]
File: mountinfo

Comment 4 Maximilian Hofmann 2024-10-20 16:09:09 UTC
Created attachment 2052889 [details]
File: open_fds

Comment 5 Maximilian Hofmann 2024-10-20 16:09:11 UTC
Created attachment 2052890 [details]
File: namespaces

Comment 6 Maximilian Hofmann 2024-10-20 16:09:12 UTC
Created attachment 2052891 [details]
File: backtrace

Comment 7 Maximilian Hofmann 2024-10-20 16:09:14 UTC
Created attachment 2052892 [details]
File: cpuinfo

Comment 8 Alexey Tikhonov 2024-10-21 07:19:17 UTC
Hi,

> cmdline:        /usr/bin/python3 -sP /usr/libexec/sssd/sss_analyze error list

do you have any SSSD domain configured in /etc/sssd/sssd.conf or in config snippets?

Comment 9 Maximilian Hofmann 2024-11-15 10:23:57 UTC
Hey,

No, I had no domain configured.

Comment 10 Alexey Tikhonov 2024-11-18 21:04:28 UTC
Upstream PR: https://github.com/SSSD/sssd/pull/7704

Comment 11 Alexey Tikhonov 2024-11-26 19:54:49 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/7704

* `master`
    * 0bb13645168864ca9eb7097cad063e1bfa4834cf - analyzer: fix two crashes
* `sssd-2-10`
    * 9e3fbbc67c2abdc7a6e5f2269cbacef0d735f899 - analyzer: fix two crashes

Comment 12 Alexey Tikhonov 2025-01-28 15:07:55 UTC
Fixed in sssd-2.10.1


Note You need to log in before you can comment on or make changes to this bug.