[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

script and chroot



Once again I come seeking advice and counsel.
The latest setup (following advice given,)
on the quadra 610 is Sarge with two chroots;
etch-m68k and lenny/sid. script works under
sarge but I get 

openpty failed

on both the chroots.
my /etc/fstab is

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/sdb4	/	ext3	defaults,errors=remount-ro	0 1
/dev/sdc2	none	swap	sw	0 0
/dev/fd0	/floppy	auto	rw,user,noauto	0 0
/dev/cdroms/cdrom0	/cdrom	auto	ro,user,noauto	0 0
proc	/proc	proc	defaults	0 0
proc	/root-etch-m68k/proc proc	none 0 0
proc	/sid/proc	proc	none	0	0

which I'm told looks ok. the chroots are each tied to a tty as
instructed in the man debootstrap page.

Devpts is loaded somewhere in the boot as it shows in /etc/mtab:

/dev/sdb4 / ext3 rw,errors=remount-ro 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs rw 0 0
proc /root-etch-m68k/proc proc rw,none 0 0
proc /sid/proc proc rw,none 0 0
tmpfs /dev tmpfs rw,size=10M,mode=0755 0 0

and shows in the /sid/etc/mtab:

proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0


why doesn't script work in the chroots? 



Reply to: