/ Zope / Apsis / Pound Mailing List / Archive / 2005 / 2005-02 / rootjail setup

[ << ] [ >> ]

[ ANNOUNCE: Pound - reverse proxy and load balancer ... ] [ rootjail setup / skunk <skunk(at)legalise.it>... ]

rootjail setup
skunk <skunk(at)legalise.it>
2005-02-12 17:16:54 [ FULL ]
hi all!

i'm trying to get pound running with the rootjail directive but without luck so
far...
these are the steps i did:

# mkdir -p /var/pound/dev
# mknod /var/pound/dev/urandom c 1 9

created /etc/pound.cfg this way:

User nobody
Group nobody
ExtendedHTTP 0
WebDAV 0
LogLevel 4
Alive 30
RootJail /var/pound
ListenHTTP 10.0.91.118,80
ListenHTTPS 10.0.91.118,443 /etc/pound.pem
UrlGroup ".*"
BackEnd 127.0.0.1,80,1
BackEnd 10.0.91.119,80,1
BackEnd 10.0.91.120,80,1
EndGroup

# pound -f /etc/pound.cfg

at this point pound won't distribute any connection but log these messages
instead:

<snip>
Feb 12 16:55:32 easy pound: MONITOR: worker exited normally 127, restarting...
Feb 12 16:55:34 easy pound: MONITOR: worker exited on signal 11, restarting...
Feb 12 16:55:36 easy pound: MONITOR: worker exited normally 127, restarting...
Feb 12 16:55:38 easy pound: MONITOR: worker exited normally 127, restarting...
Feb 12 16:55:40 easy pound: MONITOR: worker exited normally 127, restarting...
</snip>

however, if i just comment out the rootjail directive, pound works as
expected...

thank you.

sk

MailBoxer