https://bugzilla.novell.com/show_bug.cgi?id=374990 User adaugherity@tamu.edu added comment https://bugzilla.novell.com/show_bug.cgi?id=374990#c3 --- Comment #3 from Andrew Daugherity <adaugherity@tamu.edu> 2008-07-09 15:37:59 MDT --- This bug is NOT fixed in 11.0 final, with all updates applied (at least, not out of the box, but I have discovered a workaround). It fails in the same way as 11.0a3 (which is different from the 10.3 failure), where it looks up port 0 instead of the specified port. Here is a transcript (a.out is a fresh recompile of the C code attached to this bug report): ==== andrew@test-app-01:~> uname -a Linux test-app-01.vpr.int 2.6.25.9-0.2-pae #1 SMP 2008-06-28 00:00:07 +0200 i686 i686 i386 GNU/Linux andrew@test-app-01:~> cat /etc/SuSE-release openSUSE 11.0 (i586) VERSION = 11.0 andrew@test-app-01:~> rpm -q kernel-pae glibc kernel-pae-2.6.25.9-0.2 glibc-2.8-14.1 andrew@test-app-01:~> ./a.out found service spr-itunes for port 0/(null) found service spr-itunes for port 0/tcp not found in services: port 13/udp andrew@test-app-01:~> grep 'services:' /etc/nsswitch.conf services: files andrew@test-app-01:~> grep ' 13/' /etc/services daytime 13/tcp # Daytime (RFC 867) daytime 13/udp # Daytime (RFC 867) andrew@test-app-01:~> grep ' 0/' /etc/services # 0/tcp Reserved # 0/udp Reserved spr-itunes 0/tcp # Shirt Pocket netTunes spl-itunes 0/tcp # Shirt Pocket launchTunes ==== I did however, have an epiphany and discover that the breakage is apparently due to nscd: ==== andrew@test-app-01:~> sudo /etc/init.d/nscd stop Shutting down Name Service Cache Daemon done andrew@test-app-01:~> ./a.out found service daytime for port 13/(null) found service daytime for port 13/tcp found service daytime for port 13/udp andrew@test-app-01:~> sudo /etc/init.d/nscd start Starting Name Service Cache Daemon done andrew@test-app-01:~> ./a.out found service spr-itunes for port 0/(null) found service spr-itunes for port 0/tcp not found in services: port 13/udp ==== nscd is enabled in the default installation. I have not modified its configuration; this is on a fresh installation and reformat of 11.0. As you can see, it is only when nscd is running (and caching services) that the failure occurs. If I disable services caching in nscd.conf, the problem no longer occurs. Perhaps this bug should be reassigned to nscd. Stopping nscd also solves the problem in 10.3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.