[ale] chroot oddity?

Jerry Yu z.yu at voicecom.com
Mon Jul 14 15:50:06 EDT 2003


	if it is for RedHat, you don't have to do the lib and shell thing.
You just need to specify rootdir in /etc/sysconfig/named and create 
/dev/null, /dev/random, /etc/named.conf under this rootdir.
	of course, you also need to add an extra socket for unchrooted 
syslogd to listen to. so, you need to modify /etc/sysconfig/syslogd as 
below, as /var/named as the rootdir.
	SYSLOGD_OPTIONS="-m 0 -a /var/named/dev/log"


under this rootdir

On Mon, 14 Jul 2003, Joe Steele wrote:

#On Monday, July 14, 2003 11:36 AM, Robert L. Harris wrote:
#> root at wally
#> {0}:/usr/chroot/named>chroot /usr/chroot/named /bin/bash
#> chroot: /bin/bash: No such file or directory
#>
#
#Confirm that /usr/chroot/named/lib contains all the files listed from 
#the command 'ldd /usr/chroot/named/bin/bash'.  In particular, you can 
#get a 'No such file or directory' error if 
#/usr/chroot/named/lib/ld-linux.so.2 is missing.
#
#--Joe
#
#> root at wally
#> {127}:/usr/chroot/named>ls -la /bin/bash /usr/chroot/named/bin/bash
#> -rwxr-xr-x    1 root     root       690668 Jun  7 00:17 /bin/bash
#> -rwxr-xr-x    1 root     root       690668 Jul 12 18:32 /usr/chroot/named/bin/bash
#>
#> blech.
#>
#_______________________________________________
#Ale mailing list
#Ale at ale.org
#http://www.ale.org/mailman/listinfo/ale
#

Jerry Yu				+1-404-487-8544 (O)
systems engineer			jerry.yu at voicecom.com
is support, voicecom, llc		www.voicecom.com

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list