Re: [mod-security-users] Chroot and worker MPM?
Brought to you by:
victorhora,
zimmerletw
|
From: Ivan R. <iv...@we...> - 2005-09-28 12:22:11
|
> Jeff Tharp wrote: > >> I'm getting a weird error when configuring chroot using SecChrootDir and >> using the worker MPM. Hoping someone else has ran across this before >> and has some ideas. >> >> Versions are as follows: Red Hat Enterprise Linux v4, Apache 2.0.54, >> ModSecurity 1.8.7 > > > > > ... > > > >> libgcc_s.so.1 must be installed for pthread_cancel to work >> [Thu Jul 07 17:07:11 2005] [notice] child pid 3428 exit signal Aborted >> (6) Ivan Ristic wrote: > I've made a TODO note for myself to see if this hack is portable at > all, or whether it can be #ifdef-ed. Getting it to work would be > really nice, because the internal chroot measure would work really > well for a multithreaded Apache working as a reverse proxy only. I did add a hack to 1.9dev4. If you compile with -DWORKER_HACK it will work just fine. But just after I committed the change to the CVS I realised there is a much more elegant solution - LoadFile. Simply add: LoadFile /lib/libgcc_s.so.1 to the configuration file. If this works for you I will remove the WORKER_HACK stuff from the code. Let me know. -- Ivan Ristic Apache Security (O'Reilly) - http://www.apachesecurity.net Open source web application firewall - http://www.modsecurity.org |