Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Feb 2008 19:42:01 +0100
From:      "cali clarke" <xorquewasp@googlemail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Anybody have a patch for pdksh derivatives, for jails?
Message-ID:  <5a08be760802241042x2cd93d63of5787a744e745fe5@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi.

pdksh and derivatives (openbsd ksh, mirbsd mksh etc) all have
the same "bug" with regards to jails. On all of my systems, trying
to start *ksh in a jail results in a message that /dev/tty could
not be opened (device busy) and that the shell will not have
job control. For some reason, this makes pretty much any
curses or screen editor fail to run.

Note that also, this problem does NOT occur if you use ssh
to enter the jail as I believe ssh handles tty allocation in
advance.

I wondered if anybody had patched their *ksh to workaround
this problem?

I've had a look at the sources myself and... ugh. The insides
of a unix shell are not something I particularly want to spend
much time examining...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5a08be760802241042x2cd93d63of5787a744e745fe5>