linux kernel 2.6 is out for quite a while now, and doesn't provide the deprecated SO_BSDCOMPAT flag any more. But all processes of isc's bind software are still happily using it, littering logfiles: Aug 10 00:50:21 ssl [ 51.942051] process `named' is using obsolete setsockopt SO_BSDCOMPAT Aug 23 17:52:12 ssl [1184218.175271] process `rndc' is using obsolete setsockopt SO_BSDCOMPAT Aug 23 17:52:35 ssl [1184241.037022] process `host' is using obsolete setsockopt SO_BSDCOMPAT Aug 27 21:40:03 ssl [1543383.818557] process `rndc' is using obsolete setsockopt SO_BSDCOMPAT Aug 28 00:08:07 ssl [1552265.564535] process `named' is using obsolete setsockopt SO_BSDCOMPAT Oct 18 10:55:29 ssl [ 62.895885] process `named' is using obsolete setsockopt SO_BSDCOMPAT Oct 18 11:00:17 ssl [ 47.531513] process `named' is using obsolete setsockopt SO_BSDCOMPAT Oct 18 16:36:42 ssl [20227.630593] process `rndc' is using obsolete setsockopt SO_BSDCOMPAT Oct 18 16:36:43 ssl [20228.831750] process `dig' is using obsolete setsockopt SO_BSDCOMPAT Oct 18 16:36:44 ssl [20229.030512] process `rndc' is using obsolete setsockopt SO_BSDCOMPAT This topic is also talked about in http://forums.gentoo.org/viewtopic-t-501840-highlight-obsolete+setsockopt+sobsdcompat.html , a possible solution might be in the last third of http://www.hants.lug.org.uk/cgi-bin/wiki.pl?LinuxHints/RedHat_2.4_To_2.6_Kernel_Upgrade , a second possible solution is here http://www.linuxfromscratch.org/blfs/view/svn/server/bind.html see the sed call after "Install BIND by running the following commands" , similar approach here http://news.softpedia.com/news/BIND-Installation-and-Configuration-Guide-36875.shtml This should be a no brainer... for a c language maven, which I am unfortunately not. With BIND being security relevant, I'll keep my fingers off it's source. I am using and referring to net-dns/bind-9.3.2-r3 Please submit your patch to ISC.ORG, too, so that this "unholy" sed command line patching has an end.
fixed in 9.{2.6,3.2}-r5, thanks for reporting.
*** Bug 154687 has been marked as a duplicate of this bug. ***
Um.. bind-tools is still unfixed.
reopening for bind-tools.
fixed in bind-tools-9.{2.7,3.3}.
It seems that bind-tools-9.4.0 and bind-9.4.0 need a different fix: # dmesg |grep SO_ process `host' is using obsolete setsockopt SO_BSDCOMPAT How about the one from Slackware ftp://ftp.slackware.com/pub/slackware/slackware-current/source/n/bind/bind.so_bsdcompat.diff.gz: #------ cut here ------ --- ./lib/isc/unix/socket.c.orig 2005-11-03 17:08:42.000000000 -0600 +++ ./lib/isc/unix/socket.c 2006-02-18 13:09:15.000000000 -0600 @@ -245,6 +245,8 @@ #define SOCK_DEAD(s) ((s)->references == 0) +#undef SO_BSDCOMPAT + static void manager_log(isc_socketmgr_t *sockmgr, isc_logcategory_t *category, isc_logmodule_t *module, int level, #------ cut here ------
*** Bug 180190 has been marked as a duplicate of this bug. ***
Reopen.
Created attachment 120768 [details] bind-9.4.1-so_bsdcompat.patch bind-9.4.1-so_bsdcompat.patch
Created attachment 120769 [details] bind-9.4.1-r1.ebuild bind-9.4.1-r1.ebuild fixed for me the so_bsdcompat error message
fixed in bind-9.2.8-r3, bind-9.3.4-r3, bind-9.4.1-r1, bind-tools-9.2.8-r1, bind-tools-9.3.4, bind-tools-9.4.1-r1. thanks for reopening.