Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 2010 15:05:17 -0500
From:      John Nielsen <lists@jnielsen.net>
To:        Alexander Leidinger <Alexander@leidinger.net>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: linux-only jail possible?
Message-ID:  <201003101505.17123.lists@jnielsen.net>
In-Reply-To: <20100309093421.15072yygd5bvkm4g@webmail.leidinger.net>
References:  <201003021325.27197.lists@jnielsen.net> <201003081728.14735.lists@jnielsen.net> <20100309093421.15072yygd5bvkm4g@webmail.leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 09 March 2010 03:34:21 Alexander Leidinger wrote:
> Quoting John Nielsen <lists@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003101505.17123.lists>