linux-only jail possible?

John Nielsen lists at jnielsen.net
Wed Mar 10 20:05:27 UTC 2010


On Tuesday 09 March 2010 03:34:21 Alexander Leidinger wrote:
> Quoting John Nielsen <lists at jnielsen.net> (from Mon, 8 Mar 2010
> 
> 17:28:14 -0500):
> > I hit another hurdle with Apache but I don't seem to be the first.
> > httpd will start but its forked connection-handling children die:
> >
> > linux: pid 79586 (httpd): syscall epoll_create not implemented
> > pid 79586 (httpd), uid 48: exited on signal 11
> >
> > I saw on the wiki that epoll_create support is in perforce. Is that
> > still a true statement? If so what is the most straightforward way to
> > get a patch to test against?
> 
> This is not complete. The most easy way would be to recompile apache
> without epoll support (if in doubt edit the config.h by hand to undef
> the epoll stuff).

This took some head-scratching but I eventually determined that it was the 
RPM for apr (rather than httpd itself) that needed to be rebuilt. I 
temporarily renamed /usr/include/sys/epoll.h on my Linux build host while 
building the RPM and that seems to have done the trick. With the tweaked apr 
RPM Apache can now serve requests from the jail.

I'm definitely getting closer. After some more testing I hope to write up the 
complete process for posterity. Stay tuned and thanks again for the 
pointers.

JN


More information about the freebsd-emulation mailing list