Created attachment 477752 [details] config files Description of problem: socket_send() operation must invoke LOCK(&sock->lock) to take lock during the procedure on UDP. Without it, socket_send()->doio_send() is invoked in multiple threads, causing the following error to show up: Jan xx xx:xx:xx xxx named[xxxx]: zone xxx.xxx.xxx.in-addr.arpa/IN: refresh: failure trying master xxx.xxx.xxx.xxx#53 (source xxx.xxx.xxx.xxx#0): operation canceled Version-Release number of selected component (if applicable): bind-9.3.4-10.P1.el5-x86_64 How reproducible: Sometimes Steps to Reproduce: (Reference from the vendor's report) Please set up the configuration of named by using attached sample files. Please refer following example operations. a. install the named configuration Please use the attached archive file named_config_files.tgz. Following files are included in this archive file. -configuration files: etc/namedb-prv/* etc/namedb-wgw/* -symbolic links: etc/init.d/named-prv -> /etc/namedb-prv/named-prv etc/init.d/named-wgw -> /etc/namedb-wgw/named-wgw usr/sbin/named-prv -> named usr/sbin/named-wgw -> named b. customize configurations for named Please verify configurations( /etc/namedb-prv/* and /etc/namedb-wgw/*) and customize each /etc/namedb-prv/named.conf and /etc/namedb-wgw/named.conf. Especially, you should verify and customize ip addresses. c. set up named service Please execute following operation to set up each named-prv and named-wgw service. # cd / # tar xvzf named_config_files.tgz # chkconfig --add named-prv # chkconfig --add named-wgw # chkconfig --levels 2345 named-prv on # chkconfig --levels 2345 named-wgw on d. customize named debug options - init script for named(/etc/init.d/xxx) Please verify the installed script files(/etc/init.d/named-prv, /etc/init.d/named-wgw) If you need to set up the debug-level option of named, please change the daemon command line as follows: daemon /usr/sbin/$prog -c $conffile -> daemon /usr/sbin/$prog -d 99 -c $conffile - logging paragraph of the named.conf Please confirm and customize the logging paragraph of the /etc/namedb-prv/named.conf and /etc/namedb-wgw/named.conf. Regaeding attached sample named.conf files, debug log files are as follows: - /var/log/named-prv_debug for named-prv - /var/log/named-wgw_debug for named-wgw e. start both named-prv and named-wgw services # service named-prv start # service named-wgw start Actual results: Operation cancelled error appears. Expected results: The error should not appear. Additional info:
Created attachment 516761 [details] Improved patch Improved patch which doesn't affect performance of named.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0254.html