odd question with /dev/tty

Doug White dwhite at gumbysoft.com
Wed Sep 8 18:51:17 PDT 2004


On Tue, 31 Aug 2004, Tom Dymond wrote:

> On this machine i installed a few jails, each jail has it's own root,
> procfs, devfs

[...]
> cat $HOME/.vnc/`hostname`:1.log
>
> xterm: Error 14, errno 2: No such file or directory
> Reason: spawn: open() failed on /dev/tty

Is there a /dev/tty in the jail? :)

Check your devfs config and expose /dev/tty if necessary.  I'm not
familiar enough with jails to know if there's a security risk in doing
this, but it somsething to check.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite at gumbysoft.com          |  www.FreeBSD.org


More information about the freebsd-current mailing list