Re: /dev/pts/



On Fri, Jun 29, 2007 at 10:02:29 +0200, Pol Hallen wrote:
Hi folks,

I'd like use write and talk(d) in jail env.
When an user is logged, his don't have any tty (tty: not a tty).

I assume it's a /proc/ problem.

In /proc/self/fd/ every users had a symblic links to own pts

How can I create this in jail env?

I did many and many attempt..

Did you bind-mount /proc to make it available inside the chroot jail?
I use this in my /etc/fstab:

/tmp /var/chroot/sid-ia32/tmp none bind 0 0
/dev /var/chroot/sid-ia32/dev none bind 0 0
/proc /var/chroot/sid-ia32/proc none bind 0 0

--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: /dev/pts/
    ... I'd like use write and talkin jail env. ... his don't have any tty ... Debian GNU/Linux Consultant ... Linux-User #280138 with the Linux Counter, ...
    (Debian-User)
  • /dev/pts/
    ... I'd like use write and talkin jail env. ... his don't have any tty ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • TTY, ^H works but not ^K
    ... kill-word (M-d) works normally. ... Is there any way to get my TTY straight again? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: TTY, ^H works but not ^K
    ... kill-word (M-d) works normally. ... Is there any way to get my TTY straight again? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: ttys1 displaying odd output [SOLVED]
    ... You can use lsof to see if any running process ... still has the TTY ... Registered Linux User #458799 ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)