Alex Birch on Mon, 29 Sep 2003 12:04:04 -0400


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

Re: [PLUG] expect, /dev/pts, and a chroot


sean finney wrote:


[username@machine]$ foo The system has no more ptys. Ask your system administrator to create more. while executing "spawn /usr/bin/id -un" (file "/usr/bin/foo" line 9)


i've tried mknoding /dev/ptya*, /dev/tty[0-9]*, setting ownership and permissions, as well as mounting the devpts filesystem, but the error remains. anyone have an idea what i'm forgetting to do? any help would be appreciated, as i'm starting to run out of ideas.


thanks,
sean


What happens if you did a mount /dev /new_to_be_root/dev
chroot /new_to_be_root

Cheers,
Alex

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug