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

Steve Langasek vorlon at debian.org
Mon May 29 23:10:47 UTC 2006


On Mon, May 29, 2006 at 11:19:00AM +0100, Jeremy Lainé wrote:
> 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.

2.4 kernels need to be supported in etch for upgrade purposes, so I think
we need to be undefining HAVE_EPOLL here.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/attachments/20060529/59b96138/attachment.pgp


More information about the Pkg-openldap-devel mailing list