Fedora Account System
Red Hat Associate
Red Hat Customer
Version-Release number of selected component: coreutils-9.6-3.fc42 Additional info: reporter: libreport-2.17.15 type: CCpp reason: chown killed by SIGABRT journald_cursor: s=d8b55ea2de094e48aad5fd53dbff0000;i=52a72d8;b=30b306c8c3d64239b1f61b612cd134a5;m=2271a99fff;t=635f82e44761d;x=1232c7c8ebd8571e executable: /usr/bin/chown cmdline: /bin/chown -f -h sssd:sssd /var/lib/sss/secrets/secrets.ldb cgroup: 0::/system.slice/sssd-kcm.service rootdir: / uid: 0 kernel: 6.14.6-300.fc42.x86_64 package: coreutils-9.6-3.fc42 runlevel: N 5 backtrace_rating: 4 crash_function: __read_nocancel Truncated backtrace: Thread no. 1 (22 frames) #0 __read_nocancel at ../sysdeps/unix/sysv/linux/read_nocancel.c:26 #1 open_verify at dl-load.c:1588 #2 _dl_map_object at dl-load.c:2086 #3 dl_open_worker_begin at dl-open.c:542 #4 _dl_catch_exception at dl-catch.c:241 #5 dl_open_worker at dl-open.c:761 #6 _dl_catch_exception at dl-catch.c:241 #7 _dl_open at dl-open.c:874 #8 do_dlopen at dl-libc.c:95 #9 _dl_catch_exception at dl-catch.c:241 #10 _dl_catch_error at dl-catch.c:260 #11 dlerror_run at dl-libc.c:45 #12 __libc_dlopen_mode at dl-libc.c:162 #13 module_load at nss_module.c:187 #14 __nss_module_load at nss_module.c:302 #15 __nss_module_get_function at nss_module.c:328 #16 __nss_lookup_function at nsswitch.c:137 #17 __nss_next2 at nsswitch.c:120 #18 __getgrnam_r at ../nss/getXXbyYY_r.c:343 #19 getgrnam at ../nss/getXXbyYY.c:140 #20 parse_with_separator at ../lib/userspec.c:198 #21 parse_user_spec_warn at ../lib/userspec.c:262
Created attachment 2093963 [details] File: proc_pid_status
Created attachment 2093964 [details] File: maps
Created attachment 2093965 [details] File: limits
Created attachment 2093966 [details] File: environ
Created attachment 2093967 [details] File: open_fds
Created attachment 2093968 [details] File: mountinfo
Created attachment 2093969 [details] File: os_info
Created attachment 2093970 [details] File: cpuinfo
Created attachment 2093971 [details] File: core_backtrace
Created attachment 2093972 [details] File: dso_list
Created attachment 2093973 [details] File: backtrace
The backtrace suggests that this is likely an issue in libnss_sss.so which is provided by the sssd-client package.
(Of course, I may be wrong, the ABRT bugreports are usually quite useless...)
(In reply to Lukáš Zaoral from comment #12) > The backtrace suggests that this is likely an issue in libnss_sss.so which > is provided by the sssd-client package. Well, `libc` didn't even finish loading `libnss_sss.so`, so this is hardly an issue in this lib: ``` Program terminated with signal SIGABRT, Aborted. #0 __GI___read_nocancel #1 0x00007fb76d5efad0 in open_verify (name=name@entry=0x5555e186b3c0 "/lib64/libnss_sss.so.2" #2 0x00007fb76d5f313e in _dl_map_object #3 0x00007fb76d5f6baa in dl_open_worker_begin (a=0x7ffdb236d7f0) at dl-open.c:542 args = 0x7ffdb236d7f0 file = 0x5555e186b3a0 "libnss_sss.so.2" ``` Open FDs also say: ``` 3:/usr/lib64/libnss_sss.so.2 pos: 832 ``` What is weird is that entire chain is triggered by ``` #19 0x00007fb76d4f28ce in getgrnam (name=name@entry=0x7ffdb236edf1 "sssd") ``` that must be a local group, resolvable by `libnss_files.so.2` shane.jansen, what is the output of: (1) `grep "^group:" /etc/nsswitch.conf` (2) `getent -s files group sssd` (3) `rpm -qV sssd-client` on your system? Are you able to reproduce this?
The information you requested is below. I noticed an error in the Problem Reporting tool and forwarded it to Bugzilla and was otherwise unaware of any issue, so I'm not really able to reproduce this. root@thenv15:~# grep "^group:" /etc/nsswitch.conf group: files [SUCCESS=merge] sss [SUCCESS=merge] systemd root@thenv15:~# getent -s files group sssd sssd:x:972: root@thenv15:~# rpm -qV sssd-client root@thenv15:~#
(In reply to shane.jansen from comment #15) > > group: files [SUCCESS=merge] sss [SUCCESS=merge] systemd This explains why `getgrnam("sssd")` reaches SSSD. Still no idea why glibc failed to load `libnss_sss.so`