jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] RE: How to launch a xterm into thejail (FOUCHECOURT


From: Olivier Sessink
Subject: Re: [Jailkit-users] RE: How to launch a xterm into thejail (FOUCHECOURT FREDERIC)
Date: Sat, 17 Mar 2007 11:09:40 +0100
User-agent: Icedove 1.5.0.9 (X11/20061220)

FOUCHECOURT FREDERIC wrote:
> Hi Olivier,
> 
> I have installed the tool rxvt and use the commande strace and jk_init
> to try to correctly install it.
> My rxvt section in the file /etc/jailkit/jk_init.ini is :
> 
> [rxvt]
> comment = rxvt to replace xterm
> executables = /usr/local/bin/rxvt
> directories = /usr/X11R6/lib, /usr/lib/locale, /lib/tls
> devices = /dev/ptmx
> 
> I encounter the same problem than xterm.
> 
> I create the device /dev/ptyp0, /dev/ttyp0 with the command mknod but I
> have the following error message :
> "Inappropriate ioctl for device"

sounds like one of the devices has a wrong  major/minor number

> I delete the /home/jail/dev directory created with command jk_init and
> jk_cp and use the 2 following mount command :
> mount -o bind /dev /home/newroot/dev/
> mount -o bind /dev/pts /home/newroot/dev/pts

what does a trace show in this situation? this should work...

regards,
        Olivier




reply via email to

[Prev in Thread] Current Thread [Next in Thread]