#149 bind-dyndb-ldap crashes if server is shutting down and connection to LDAP is down
Closed: fixed None Opened 9 years ago by pspacek.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1165796

Description of problem:
While upgrading IPA servers from RHEL7.0 to 7.1, I'm seeing named crashes.

cmdline:        /usr/sbin/named -u named

Version-Release number of selected component (if applicable):
bind-9.9.4-14.el7.x86_64


How reproducible:
always.

Steps to Reproduce:
1.  install IPA server on RHEL7.0
2.  add repo configs for RHEL7.1
3.  yum -y update 'ipa*' sssd

Actual results:
upgrade seems to work from shell but, named crashes.

Expected results:
no crash


> Petr Spacek 2014-11-25 20:02:18 CET:
This is a harmless bug in bind-dyndb-ldap error handling. It can crash during shutdown if something is wrong with LDAP connection but the daemon is shutting down anyway so it should not cause any huge problem.

It seems that it affects all versions from at least 2011.

Most important part of the log is:

Nov 25 10:20:56 kvm-guest-01 ns-slapd: GSSAPI Error: Unspecified GSS failure.  Minor code may provide more information (No Kerberos credentials available)
Nov 25 10:20:57 kvm-guest-01 systemd: Stopping Berkeley Internet Name Domain (DNS)...
Nov 25 10:20:57 kvm-guest-01 named[4805]: received control channel command 'stop'
Nov 25 10:20:57 kvm-guest-01 named[4805]: shutting down: flushing changes
Nov 25 10:20:57 kvm-guest-01 named[4805]: stopping command channel on 127.0.0.1#953
Nov 25 10:20:57 kvm-guest-01 named[4805]: stopping command channel on ::1#953
Nov 25 10:20:57 kvm-guest-01 named[4805]: ldap_helper.c:644: REQUIRE(pthread_kill(ldap_inst->watcher, 10) == 0) failed, back trace

Corner case, fix if there is a time.

Moving tickets as triaged on 2016-02-11 with mkosek.

Metadata Update from @pspacek:
- Issue assigned to someone
- Issue set to the milestone: Fedora 24

7 years ago

Metadata Update from @tkrizek:
- Issue close_status updated to: fixed (was: Fixed)
- Issue set to the milestone: Fedora 26 (was: Fedora 24)

7 years ago

Login to comment on this ticket.

Metadata