Great Circle Associates Firewalls
(March 1995)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: SUMMARY: chroot httpd for Solaris 2.4
From: Mark Costello <mcostello @ utica . kaman . com>
Date: Fri, 17 Mar 95 02:43:25 EST
To: firewalls @ greatcircle . com
Reply-to: Mark Costello <mcostello @ utica . kaman . com>

Date: Fri, 17 Mar 95 00:24:59 EST
From: Mark Costello <mcostello @
 utica .
 kaman .
 com>

>>     /usr/sbin/chroot /jails/httpd /bin/httpd -r /configs/httpd.conf
>> 
>> where /bin/httpd and /configs/httpd.conf are really /jails/httpd/bin/httpd
>> and /jails/httpd/configs/httpd.conf.  Location of chroot(1) may vary.
>
> I've done that with NCSA httpd and I get the following error:
>
>	httpd: could not get socket
>	socket: Bad file number
>
> and then it quits, any ideas?

I needed to provide a set of files under /jails/httpd to make it work:
	dev/tcp        dev/ticots     dev/udp
	dev/ticlts     dev/ticotsord  dev/zero
	etc/group          etc/nsswitch.conf  etc/shadow
	etc/netconfig      etc/passwd
	usr/lib/ld.so.1         usr/lib/libintl.so.1    
	usr/lib/libw.so.1	usr/lib/nss_files.so.1
	usr/lib/libc.so.1       usr/lib/libnsl.so.1    
	usr/lib/libdl.so.1      usr/lib/libsocket.so.1

Thanks to G .
 Steer @
 as02 .
 bull .
 oz .
 au (Geoff Steer) for his suggestions.

Regards,
Mark


Indexed By Date Previous: Re: chroot httpd
From: Mark Costello <mcostello @ utica . kaman . com>
Next: FAQ
From: x . gosselin . rea0803 @ oasis . icl . co . uk
Indexed By Thread Previous: "DECUS UUCP VS. TGV TCP/IP (SMTP only) & Cisco 9.21 as a FW VS. SEAL"
From: "The Filter of jcw @ jumper" <jcw @ isdn-jumper . mti . sgi . com>
Next: FAQ
From: x . gosselin . rea0803 @ oasis . icl . co . uk

Google
 
Search Internet Search www.greatcircle.com