[Pkg-openldap-devel] Bug#369352: slapd: fails to start on 2.4.x kernel

Jeremy Lainé jeremy.laine at m4x.org
Mon May 29 10:19:00 UTC 2006


Package: slapd
Version: 2.3.23-1
Severity: important

After upgrading to 2.3.23-1 I found that slapd would no longer run,
with the following message in the syslog:

May 29 09:00:04 cartier slapd[18295]: slapd starting
May 29 09:00:04 cartier slapd[18297]: daemon: epoll_ctl(ADD,fd=4)
failed, errno=38, shutting down

A quick search reveals that OpenLDAP has a build-time check that
determines whether epoll works (kernel >= 2.5.44), and enables this
feature accordingly by defining HAVE_EPOLL in 'include/portable.h'.
This #define is then used in 'servers/slapd/daemon.c'.

Either HAVE_EPOLL should be undefined, or the README.Debian file should
explicitly specify that the Debian build of slapd does not work on 2.4
kernels.

Cheers,
Jeremy

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.32
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)




More information about the Pkg-openldap-devel mailing list