[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#591286: libapr1: upgrade breaks apache

On Sunday 01 August 2010, Adrian Bridgett wrote:
> i386 (but it's a KVM guest, sorry - I should have said).

I found out why posixsem does not work: A bug in pbuilder/cowbuilder 
causes posix shared mem/posix semaphores to not work in the build 
chroot and this causes apr's configure to disable it. Since I always 
use cowbuilder to build the packages, all i386 libapr1 packages of the 
last few years had non-working posixsem. The only exception was 
1.2.12-5+lenny1 which was not uploaded by me but by Peter Samuelson. 
You were simply lucky that you upgraded to lenny after version 
1.2.12-5+lenny1 was released. With 1.2.12-5 it would not have worked 

If you need it, you can fix it by rebuilding libapr1. It should work 
if you either don't use pbuilder, or use pbuilder and put /dev/shm in 
the BINDMOUNTS variable in /etc/pbuilderrc.

I haven't yet looked into the issue of "sem" trying to use posixsem 
even if it is not available. This really does look like a bug in apr 
or apache.

Out of interest: Have you noticed any performance difference with 
sslmutex sem instead of the default 'file'? The description of the 
types on http://httpd.apache.org/docs/2.2/misc/perf-tuning.html says 
that the semaphore mutex types are somewhat less robust.


Reply to: