Red Hat Bugzilla – Bug 23176
"forgot to set AF_INET in udp sendmsg" caused by pmap_clnt.c bug
Last modified: 2007-04-18 12:30:27 EDT
I've seen the above captioned error in our daemons, and tracked it down
to the Sun ONC RPC runtime library's failure to error check some code
when pmap_unset() is called to deregister a server. The error only
occurs when the networking on a system has been shut down before our
daemon is killed, in which case this code inside __get_myaddress() fails
to find any valid addresses and leaves its argument as stack
garbage. (I've verified this with strace.)
We've seen it with Red Hat 6.2 (i386) and Red Hat 7.0 beta (ia64)
The pmap_* libraries are not materially different between 6.2 and 7.0
(glibc 2.1 vs. 2.2)
I saw that error message with bind on a dialup RH 6.2 machine as well.
Should be fixed in glibc-2.2-12.
*** Bug 16826 has been marked as a duplicate of this bug. ***
I have the same problem with Redhat 6.2. I do not want to upgrade to glibc 2.2-
12. Does anyone have the patch that fixes this?
1) they are harmless
2) the patch can be seen at http://sources.redhat.com/ml/libc-hacker/2001-01/msg00018.html