Bug 199202
Summary: | nss_wins: samba causes system failure | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Carl Preddy <cpreddy> |
Component: | samba | Assignee: | Jay Fenlason <fenlason> |
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> |
Severity: | urgent | Docs Contact: | |
Priority: | medium | ||
Version: | 5 | CC: | fedora, jean-pierre.cartal, jfeeney, jplans, kmaejima, wtogami |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-08-03 04:25:55 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Carl Preddy
2006-07-17 22:14:33 UTC
I also have the same problem on different machines running FC5, all network applications are segfaulting when wins is activated in the nsswitch.conf file for hostname resolution. My nsswitch.conf file for hosts resolution is usually as follow : hosts: files dns wins Removing wins from the list stops the problem. Here is the log I get when pinging using a netbios machine name : Jul 19 10:23:10 nss_wins[7436]: [2006/07/19 10:23:10, 0] lib/fault.c:fault_report(41) Jul 19 10:23:10 nss_wins[7436]: =============================================================== Jul 19 10:23:10 nss_wins[7436]: [2006/07/19 10:23:10, 0] lib/fault.c:fault_report(42) Jul 19 10:23:10 nss_wins[7436]: INTERNAL ERROR: Signal 11 in pid 7436 (3.0.23-1.fc5) Jul 19 10:23:10 nss_wins[7436]: Please read the Trouble-Shooting section of the Samba3-HOWTO Jul 19 10:23:10 nss_wins[7436]: [2006/07/19 10:23:10, 0] lib/fault.c:fault_report(44) Jul 19 10:23:10 nss_wins[7436]: Jul 19 10:23:10 nss_wins[7436]: From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf Jul 19 10:23:10 nss_wins[7436]: [2006/07/19 10:23:10, 0] lib/fault.c:fault_report(45) Jul 19 10:23:10 nss_wins[7436]: =============================================================== Jul 19 10:23:10 nss_wins[7436]: [2006/07/19 10:23:10, 0] lib/util.c:smb_panic(1614) Jul 19 10:23:10 nss_wins[7436]: PANIC (pid 7436): internal error Jul 19 10:23:10 nss_wins[7436]: [2006/07/19 10:23:10, 0] lib/util.c:log_stack_trace(1721) Jul 19 10:23:10 nss_wins[7436]: BACKTRACE: 20 stack frames: Jul 19 10:23:10 nss_wins[7436]: #0 smbd(log_stack_trace+0x2d) [0xe52dad] Jul 19 10:23:10 nss_wins[7436]: #1 smbd(smb_panic+0x5d) [0xe52edd] Jul 19 10:23:10 nss_wins[7436]: #2 smbd [0xe3ea3a] Jul 19 10:23:10 nss_wins[7436]: #3 [0xbffff420] Jul 19 10:23:10 nss_wins[7436]: #4 /lib/libnss_wins.so.2(toupper_w+0x19) [0x6a7f69] Jul 19 10:23:10 nss_wins[7436]: #5 /lib/libnss_wins.so.2(strupper_m+0x2b) [0x6a348b] Jul 19 10:23:10 nss_wins[7436]: #6 /lib/libnss_wins.so.2(set_global_myname+0x4d) [0x6b033d] Jul 19 10:23:10 nss_wins[7436]: #7 /lib/libnss_wins.so.2(lp_load+0x11bd) [0x6562bd] Jul 19 10:23:10 nss_wins[7436]: #8 /lib/libnss_wins.so.2(_nss_wins_gethostbyname_r+0x37d) [0x64b05d] Jul 19 10:23:10 nss_wins[7436]: #9 /lib/libc.so.6(gethostbyname_r+0x132) [0x3a5a62] Jul 19 10:23:10 nss_wins[7436]: #10 /lib/libc.so.6(gethostbyname+0xdf) [0x3a53cf] Jul 19 10:23:10 nss_wins[7436]: #11 smbd(sys_gethostbyname+0x1d) [0xe419ed] Jul 19 10:23:10 nss_wins[7436]: #12 smbd(name_to_fqdn+0x25) [0xe50a25] Jul 19 10:23:10 nss_wins[7436]: #13 smbd [0xc9b5f7] Jul 19 10:23:10 nss_wins[7436]: #14 smbd(reply_negprot+0x352) [0xc9a9e2] Jul 19 10:23:10 nss_wins[7436]: #15 smbd [0xce6c20] Jul 19 10:23:10 nss_wins[7436]: #16 smbd(smbd_process+0x7ab) [0xce7d5b] Jul 19 10:23:10 nss_wins[7436]: #17 smbd(main+0xbd0) [0xf021c0] Jul 19 10:23:10 nss_wins[7436]: #18 /lib/libc.so.6(__libc_start_main+0xdc) [0x2dc724] Jul 19 10:23:10 nss_wins[7436]: #19 smbd [0xc72551] Jul 19 10:23:10 nss_wins[7436]: [2006/07/19 10:23:10, 0] lib/fault.c:dump_core(173) Jul 19 10:23:10 nss_wins[7436]: dumping core in /var/log/samba/cores/smbd Jul 19 10:23:10 nss_wins[7436]: This bug also affects x86_64 systems. I have an FC4/x86_64 box which has the following hosts: line in /etc/nsswitch.conf: hosts: files dns wins Recently samba* packages were updated from 3.0.14a-2 to 3.0.23-1.fc4 by nightly yum update. Since then, ping or "net lookup" another host by NetBIOS name causes segmentation fault. $ ping remotehost Segmentation fault $ net lookup remotehost Segmentation fault It seems this problem was reported to Samba's Bugzilla and fixed in 3.0.23a. https://bugzilla.samba.org/show_bug.cgi?id=3937 samba-3.0.23a-1.fc5.1 has been pushed for fc5, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report. Updating to the "a" fix of samba was successful, with no further segfault incidents. Recommend this report be closed. Many thanks. |