From owner-freebsd-isp Sun Sep 24 11:30:54 2000 Delivered-To: freebsd-isp@freebsd.org Received: from beta.root-servers.ch (beta.root-servers.ch [195.49.33.19]) by hub.freebsd.org (Postfix) with SMTP id E5B5437B42C for ; Sun, 24 Sep 2000 11:30:46 -0700 (PDT) Received: (qmail 39673 invoked from network); 24 Sep 2000 18:30:44 -0000 Received: from client75-185.hispeed.ch (HELO ATHLON-550) (62.2.75.185) by beta.root-servers.ch with SMTP; 24 Sep 2000 18:30:44 -0000 Date: Sun, 24 Sep 2000 20:33:44 +0200 From: Gabriel Ambuehl X-Mailer: The Bat! (v1.46c) UNREG / CD5BF9353B3B7091 Organization: BUZ Internet Services X-Priority: 3 (Normal) Message-ID: <30104923351.20000924203344@buz.ch> To: isp@freebsd.org Subject: perl/chroot/sbox strangenesses.... Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I try to setup the sbox CGI wrapper (http://stein.cshl.org/software/sbox for our webservers but I've got a weird problem with it. Everything works just fine except for CGI scripts which use DBI: those generate, when equipped with CGI::Carp fatalsToBrowser, the following error: Software error: Callback called exit at /web/public_html/test2.cgi line 4. For help, please send mail to the webmaster (you@your.address), giving this error message and the time and date of the error. However, if I do a manual chroot and give it perl test.cgi as argument, it works as it should. Has anyone got any clue what's going on here? All other scripts I tested (including some using CGI.pm and other modules) do work without any problems. On a side note: what's the safest way to get PHP into a chroot like behaviour (e.g. jailing all users into their homedirs)? Should I compile it as CGI script and throw into the existing CGI jail? Best regards, Gabriel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message