Hide Forgot
Description of problem: I believe this is due to having "wins" in my /etc/nsswitch.conf. When I do ping, whois, telnet, or other simple commands that talk to dns it seems like they all crash. This specific example was me trying to run "whois" on one of my domains. Version-Release number of selected component: jwhois-4.0-46.fc24 Additional info: reporter: libreport-2.7.2 backtrace_rating: 3 cmdline: whois home.emarcotte.com crash_function: __pthread_initialize_minimal_internal executable: /usr/bin/jwhois global_pid: 5634 kernel: 4.6.7-300.fc24.x86_64 pkg_fingerprint: 73BD E983 81B4 6521 pkg_vendor: Fedora Project runlevel: N 5 type: CCpp uid: 1000 Truncated backtrace: Thread no. 1 (10 frames) #0 __pthread_initialize_minimal_internal at nptl-init.c:322 #1 _init at ../sysdeps/x86_64/crti.S:72 #2 ?? #3 call_init at dl-init.c:58 #5 _dl_init at dl-init.c:87 #6 dl_open_worker at dl-open.c:564 #7 _dl_catch_error at dl-error.c:187 #8 _dl_open at dl-open.c:649 #9 do_dlopen at dl-libc.c:87 #10 _dl_catch_error at dl-error.c:187
Created attachment 1194907 [details] File: backtrace
Created attachment 1194908 [details] File: cgroup
Created attachment 1194909 [details] File: core_backtrace
Created attachment 1194910 [details] File: dso_list
Created attachment 1194911 [details] File: environ
Created attachment 1194912 [details] File: exploitable
Created attachment 1194913 [details] File: limits
Created attachment 1194914 [details] File: maps
Created attachment 1194915 [details] File: mountinfo
Created attachment 1194916 [details] File: namespaces
Created attachment 1194917 [details] File: open_fds
Created attachment 1194918 [details] File: proc_pid_status
Created attachment 1194919 [details] File: var_log_messages
Seems to be the same issue as in rhbz#1393909. Reassigning to glibc to decide whether it's duplicate or not.
(In reply to Eugene Marcotte from comment #0) > Description of problem: > I believe this is due to having "wins" in my /etc/nsswitch.conf. Yes, this is fairly likely. What's the output of this command? ldd /lib64/libnss_wins.so.2
Created attachment 1262866 [details] output of ldd libnss_wins.so.2
Created attachment 1262879 [details] crashes with library paths tweaked
I have since made some changes to my system (for instance moving wins after dns). Even after reverting this I can't seem to get whois to crash. I can still get ping to crash though. The other bug mentions the samba replace library, even getting ldd to know the path to this I can't seem to convince it to not crash. Also seems very similar to rhbz#1377729 but I'm pretty sure fedora has the fixes from samba for that one already.
(In reply to Eugene Marcotte from comment #17) > Created attachment 1262879 [details] > crashes with library paths tweaked ping has fscaps, so it undergoes an AT_SECURE transition during invocation, and the LD_* environment variables are ignored for security reasons. The crash is not nice and is glibc's fault (see bug 1393909), but even if we fixed that in glibc, nss_wins would still not work due to bug 1364666. *** This bug has been marked as a duplicate of bug 1364666 ***