Bug#708416: Acknowledgement (Apache2 on 'older' kernels does not work in Debian stable)

2013-05-15 Thread Jeroen Massar
Update, as stated here:

http://serverfault.com/questions/496989/apache-in-linux-vserver-wont-start-cant-create-socket

and thus in Fedora:

https://bugzilla.redhat.com/show_bug.cgi?id=516331

The problem is the kernel you have (too old). It doesn't have
accept4(), dup3() and epoll_create1() functions.

Thus that means about 2.6.28 being the minimum as that is where
accept4() was introduced.

Re-building libapr on the box with the old kernel solves this issue.

As such, a Pre-Depends on a linux-image = 2.6.28 is the minimal thing
to do for this bug.

Unfortunately that does mean that for instance my case with an old 2.6
kernel and a installed, but not in use, newer kernel would still be
overseen...

Possible alternative solutions:
 - fix apr to fall back to old versions of the function, at runtime not
at build-time.
 - have an running kernel version check and notify the admin that the
kernel is too old
 - enhance the error message to mention that the kernel is outdated.

It is sort of annoying for people who upgrade their live boxes and then
find out. (did not hurt in our case as they are all failovered anyway)

Greets,
 Jeroen


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#708416: Acknowledgement (Apache2 on 'older' kernels does not work in Debian stable)

2013-05-15 Thread Axel Beckert
Hi Jeroen,

Jeroen Massar wrote:
  - have an running kernel version check and notify the admin that the
kernel is too old
  - enhance the error message to mention that the kernel is outdated.

IMHO these are the only two real options. I'd prefer checking for the
kernel version.

Regards, Axel
-- 
 ,''`.  |  Axel Beckert a...@debian.org, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-|  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org