Well this problem I could solve. They were caused by an /etc/mtab
file which was out of sync, making mount -a believe some
filesystems were mounted when they weren't.

I have now a running setup. The only problem is that one has
to be root to do chroot in Fedora. So I created a user "sage"
inside the jail and start the notebook as follows

#/usr/sbin/chroot /sage-root su - sage -c "sage -notebook"

Are there any security problems associated with this?

Michel


On Jun 5, 2:15 pm, Michel <[EMAIL PROTECTED]> wrote:
> I have compiled sage from source in a FC7 chroot environment on FC4.
> Everything works fine except pexpect which I can't  get to work
> properly.
>
> sage: import pexpect
> sage: pexpect.spawn("maxima")
> <class 'pexpect.ExceptionPexpect'>        Traceback (most recent call
> last)
> ................
> <class 'pexpect.ExceptionPexpect'>: Pexpect: pty.fork() failed: out of
> pty devices
>
> I have mounted /dev/pts etc... Sometimes the error goes away for
> unclear reasons but after reboot it it is there again. Really
> frustrating.
>
> I am going to give up for now, unless somebody knows what causes this
> behaviour.
>
> Michel


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to