Bug ID | 1232726 |
---|---|
Summary | nscd crashes when libvirt_guest is added to the "hosts" service provider |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Virtualization:Other |
Assignee | virt-bugs@suse.de |
Reporter | srinidhi.bs@microfocus.com |
QA Contact | qa-bugs@suse.de |
Target Milestone | --- |
Found By | --- |
Blocker | --- |
Created attachment 878341 [details] coredump file nscd crashes very frequently whe the `/etc/nsswitch.conf` contains the following line: > hosts: files libvirt libvirt_guest mdns_minimal [NOTFOUND=return] DNS System details: > $ screenfetch -n -d '-host' > OS: openSUSE 20241031 > Kernel: x86_64 Linux 6.11.5-1-default > Uptime: 25m > Packages: 3892 > Shell: bash 5.2.37 > Resolution: 5040x1920 > DE: GNOME 47.1.1 > WM: Mutter > WM Theme: Dracula > GTK Theme: Adwaita [GTK2/3] > Icon Theme: Adwaita > Font: Cantarell 11 > Disk: 1.5T / 2.0T (78%) > CPU: Intel Core i7-10850H @ 12x 5.1GHz [57.0°C] > GPU: Mesa Intel(R) UHD Graphics (CML GT2) > RAM: 7761MiB / 64043MiB > $ rpm -qa libvirt-* > libvirt-daemon-driver-nodedev-10.8.0-2.1.x86_64 > libvirt-daemon-driver-storage-core-10.8.0-2.1.x86_64 > libvirt-daemon-lock-10.8.0-2.1.x86_64 > libvirt-daemon-log-10.8.0-2.1.x86_64 > libvirt-glib-1_0-0-5.0.0-2.1.x86_64 > libvirt-nss-10.8.0-2.1.x86_64 > libvirt-libs-10.8.0-2.1.x86_64 > libvirt-daemon-driver-storage-rbd-10.8.0-2.1.x86_64 > libvirt-daemon-driver-storage-iscsi-direct-10.8.0-2.1.x86_64 > libvirt-daemon-driver-storage-mpath-10.8.0-2.1.x86_64 > libvirt-client-10.8.0-2.1.x86_64 > libvirt-daemon-proxy-10.8.0-2.1.x86_64 > libvirt-daemon-driver-storage-logical-10.8.0-2.1.x86_64 > libvirt-daemon-driver-secret-10.8.0-2.1.x86_64 > libvirt-daemon-common-10.8.0-2.1.x86_64 > libvirt-daemon-driver-storage-scsi-10.8.0-2.1.x86_64 > libvirt-daemon-10.8.0-2.1.x86_64 > libvirt-daemon-config-network-10.8.0-2.1.x86_64 > libvirt-daemon-driver-storage-iscsi-10.8.0-2.1.x86_64 > libvirt-daemon-driver-storage-disk-10.8.0-2.1.x86_64 > libvirt-daemon-qemu-10.8.0-2.1.x86_64 > libvirt-daemon-driver-qemu-10.8.0-2.1.x86_64 > libvirt-daemon-driver-network-10.8.0-2.1.x86_64 > libvirt-daemon-plugin-lockd-10.8.0-2.1.x86_64 > libvirt-daemon-driver-nwfilter-10.8.0-2.1.x86_64 > libvirt-daemon-driver-storage-10.8.0-2.1.x86_64 > $ rpm -qi glibc > Name : glibc > Version : 2.40 > Release : 2.1 > Architecture: x86_64 > Install Date: Tue 15 Oct 2024 11:57:27 PM IST > Group : System/Libraries > Size : 7096270 > License : GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0 > Signature : RSA/SHA512, Thu 03 Oct 2024 01:15:51 AM IST, Key ID 35a2f86e29b700a4 > Source RPM : glibc-2.40-2.1.src.rpm > Build Date : Tue 01 Oct 2024 02:26:18 AM IST > Build Host : reproducible > Packager : https://bugs.opensuse.org > Vendor : openSUSE > URL : https://www.gnu.org/software/libc/libc.html > Summary : Standard Shared Libraries (from the GNU C Library) > Description : > The GNU C Library provides the most important standard libraries used > by nearly all programs: the standard C library, the standard math > library, and the POSIX thread library. A system is not functional > without these libraries. > Distribution: openSUSE Tumbleweed > $ rpm -qi libvirt-nss > Name : libvirt-nss > Version : 10.8.0 > Release : 2.1 > Architecture: x86_64 > Install Date: Sat 02 Nov 2024 03:35:30 PM IST > Group : Unspecified > Size : 44992 > License : LGPL-2.1-or-later > Signature : RSA/SHA512, Thu 24 Oct 2024 12:50:49 AM IST, Key ID 35a2f86e29b700a4 > Source RPM : libvirt-10.8.0-2.1.src.rpm > Build Date : Tue 22 Oct 2024 09:29:15 PM IST > Build Host : reproducible > Packager : https://bugs.opensuse.org > Vendor : openSUSE > URL : https://libvirt.org/ > Summary : Libvirt plugin for Name Service Switch > Description : > libvirt plugin for NSS for translating domain names into IP addresses. > Distribution: openSUSE Tumbleweed > $ rpm -qfi /lib64/libjson-c.so.5 > Name : libjson-c5 > Version : 0.17 > Release : 2.3 > Architecture: x86_64 > Install Date: Tue Apr 2 08:59:48 2024 > Group : System/Libraries > Size : 74263 > License : MIT > Signature : RSA/SHA512, Fri Mar 29 19:03:54 2024, Key ID 35a2f86e29b700a4 > Source RPM : json-c-0.17-2.3.src.rpm > Build Date : Wed Dec 6 20:56:31 2023 > Build Host : reproducible > Packager : https://bugs.opensuse.org > Vendor : openSUSE > URL : https://github.com/json-c/json-c > Summary : JSON-C shared library > Description : > JSON-C implements a reference counting object model that allows you to > easily construct JSON objects in C, output them as JSON formatted > strings and parse JSON formatted strings back into the C > representation of JSON objects. > > This package includes the JSON library. > Distribution: openSUSE Tumbleweed The full output of the `coredumpctl info 6029` is mentioned below. I am also attaching the zst file for your reference. > $ coredumpctl info 6029 > PID: 6029 (nscd) > UID: 471 (nscd) > GID: 471 (nscd) > Signal: 11 (SEGV) > Timestamp: Sat 2024-11-02 15:23:09 IST (18min ago) > Command Line: /usr/sbin/nscd > Executable: /usr/sbin/nscd > Control Group: /system.slice/nscd.service > Unit: nscd.service > Slice: system.slice > Boot ID: c7dca555cfe14e869c5e40761982b36b > Machine ID: d8e3bf9576304874a24b06e33799a8e5 > Hostname: srinidhi > Storage: /var/lib/systemd/coredump/core.nscd.471.c7dca555cfe14e869c5e40761982b36b.6029.1730541189000000.zst (inaccessible) > Message: Process 6029 (nscd) of user 471 dumped core. > > Stack trace of thread 6038: > #0 0x00007f8fb20274c9 json_tokener_free (libjson-c.so.5 + 0xb4c9) > #1 0x00007f8fb2017c70 n/a (libnss_libvirt_guest.so.2 + 0x2c70) > #2 0x00007f8fb2017e48 n/a (libnss_libvirt_guest.so.2 + 0x2e48) > #3 0x00007f8fb2018571 _nss_libvirt_guest_gethostbyname4_r (libnss_libvirt_guest.so.2 + 0x3571) > #4 0x0000555713ab14c9 n/a (nscd + 0x154c9) > #5 0x0000555713ab25a2 n/a (nscd + 0x165a2) > #6 0x0000555713aa6424 n/a (nscd + 0xa424) > #7 0x00007f8fb1e983b2 start_thread (libc.so.6 + 0x983b2) > #8 0x00007f8fb1f1d5fc __clone3 (libc.so.6 + 0x11d5fc) > > Stack trace of thread 6033: > #0 0x00007f8fb1e946be __futex_abstimed_wait_common (libc.so.6 + 0x946be) > #1 0x00007f8fb1e97845 pthread_cond_timedwait@@GLIBC_2.3.2 (libc.so.6 + 0x97845) > #2 0x0000555713aa3cd2 n/a (nscd + 0x7cd2) > #3 0x00007f8fb1e983b2 start_thread (libc.so.6 + 0x983b2) > #4 0x00007f8fb1f1d5fc __clone3 (libc.so.6 + 0x11d5fc) > > Stack trace of thread 6031: > #0 0x00007f8fb1e946be __futex_abstimed_wait_common (libc.so.6 + 0x946be) > #1 0x00007f8fb1e97845 pthread_cond_timedwait@@GLIBC_2.3.2 (libc.so.6 + 0x97845) > #2 0x0000555713aa3cd2 n/a (nscd + 0x7cd2) > #3 0x00007f8fb1e983b2 start_thread (libc.so.6 + 0x983b2) > #4 0x00007f8fb1f1d5fc __clone3 (libc.so.6 + 0x11d5fc) > > Stack trace of thread 6029: > #0 0x00007f8fb1f1da76 epoll_wait (libc.so.6 + 0x11da76) > #1 0x0000555713aa6e0e n/a (nscd + 0xae0e) > #2 0x0000555713aa78b8 n/a (nscd + 0xb8b8) > #3 0x0000555713aa2a9f n/a (nscd + 0x6a9f) > #4 0x00007f8fb1e2a2ae __libc_start_call_main (libc.so.6 + 0x2a2ae) > #5 0x00007f8fb1e2a379 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2a379) > #6 0x0000555713aa2f25 n/a (nscd + 0x6f25) > > Stack trace of thread 6032: > #0 0x00007f8fb1e946be __futex_abstimed_wait_common (libc.so.6 + 0x946be) > #1 0x00007f8fb1e97845 pthread_cond_timedwait@@GLIBC_2.3.2 (libc.so.6 + 0x97845) > #2 0x0000555713aa3cd2 n/a (nscd + 0x7cd2) > #3 0x00007f8fb1e983b2 start_thread (libc.so.6 + 0x983b2) > #4 0x00007f8fb1f1d5fc __clone3 (libc.so.6 + 0x11d5fc) > > Stack trace of thread 6036: > #0 0x00007f8fb1e946be __futex_abstimed_wait_common (libc.so.6 + 0x946be) > #1 0x00007f8fb1e97520 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x97520) > #2 0x0000555713aa5aeb n/a (nscd + 0x9aeb) > #3 0x00007f8fb1e983b2 start_thread (libc.so.6 + 0x983b2) > #4 0x00007f8fb1f1d5fc __clone3 (libc.so.6 + 0x11d5fc) > > Stack trace of thread 6037: > #0 0x00007f8fb1e946be __futex_abstimed_wait_common (libc.so.6 + 0x946be) > #1 0x00007f8fb1e97520 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x97520) > #2 0x0000555713aa5aeb n/a (nscd + 0x9aeb) > #3 0x00007f8fb1e983b2 start_thread (libc.so.6 + 0x983b2) > #4 0x00007f8fb1f1d5fc __clone3 (libc.so.6 + 0x11d5fc) > > Stack trace of thread 6039: > #0 0x00007f8fb1e946be __futex_abstimed_wait_common (libc.so.6 + 0x946be) > #1 0x00007f8fb1e97520 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x97520) > #2 0x0000555713aa5aeb n/a (nscd + 0x9aeb) > #3 0x00007f8fb1e983b2 start_thread (libc.so.6 + 0x983b2) > #4 0x00007f8fb1f1d5fc __clone3 (libc.so.6 + 0x11d5fc) > > Stack trace of thread 6040: > #0 0x00007f8fb1e946be __futex_abstimed_wait_common (libc.so.6 + 0x946be) > #1 0x00007f8fb1e97520 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x97520) > #2 0x0000555713aa5aeb n/a (nscd + 0x9aeb) > #3 0x00007f8fb1e983b2 start_thread (libc.so.6 + 0x983b2) > #4 0x00007f8fb1f1d5fc __clone3 (libc.so.6 + 0x11d5fc) > > Stack trace of thread 6034: > #0 0x00007f8fb1e946be __futex_abstimed_wait_common (libc.so.6 + 0x946be) > #1 0x00007f8fb1e97845 pthread_cond_timedwait@@GLIBC_2.3.2 (libc.so.6 + 0x97845) > #2 0x0000555713aa3cd2 n/a (nscd + 0x7cd2) > #3 0x00007f8fb1e983b2 start_thread (libc.so.6 + 0x983b2) > #4 0x00007f8fb1f1d5fc __clone3 (libc.so.6 + 0x11d5fc) > > Stack trace of thread 6035: > #0 0x00007f8fb1e946be __futex_abstimed_wait_common (libc.so.6 + 0x946be) > #1 0x00007f8fb1e97845 pthread_cond_timedwait@@GLIBC_2.3.2 (libc.so.6 + 0x97845) > #2 0x0000555713aa3cd2 n/a (nscd + 0x7cd2) > #3 0x00007f8fb1e983b2 start_thread (libc.so.6 + 0x983b2) > #4 0x00007f8fb1f1d5fc __clone3 (libc.so.6 + 0x11d5fc) > ELF object binary architecture: AMD x86-64