Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2013 22:55:39 +0100
From:      Michael Gmelin <freebsd@grem.de>
To:        freebsd-ports@freebsd.org
Cc:        eugene@wdc.spb.ru
Subject:   Re: cannot open tty-output
Message-ID:  <20130324225539.07cebec7@bsd64.grem.de>
In-Reply-To: <51500E7F.2010206@home.wdc.spb.ru>
References:  <514F56BF.5040805@home.wdc.spb.ru> <20130324215847.2243e4dc@bsd64.grem.de> <51500E7F.2010206@home.wdc.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 25 Mar 2013 12:44:47 +0400
"Eugene V. Boontseff" <eugene@home.wdc.spb.ru> wrote:

> On 25.03.2013 00:58, Michael Gmelin wrote:
> > On Sun, 24 Mar 2013 23:40:47 +0400
> > "Eugene V. Boontseff" <eugene@home.wdc.spb.ru> wrote:
> >
> >> *Marco Steinbach wrote:
> >> *
> >>> Hi,
> >>>
> >>> after installing dialog4ports, I'm getting the following behaviour
> >>> on each 8.3-STABLE I tried:
> >>>
> >>> # jexec <JID> /bin/tcsh
> >>> # cd <SomePortDir>
> >>> # make config
> >>>
> >>> cannot open tty-output
> >>> ===> Options unchanged
> >>> #
> >>>
> >>> Regardless, if I'm logged in on the console or connect to the host
> >>> via ssh.
> >>>
> >>>
> >>> I've also tried on 8.4-BETA1 (r248617), but got the same
> >>> behaviour.
> >>>
> >>> Anyone else experiencing this ?
> >> Yes, I have also experienced this.
> >> 8.3-STABLE r244863
> >> Only if i do a "make config" in a jail.
> >> Outside the jail all goes well.
> >>> MfG CoCo
> > This problem doesn't exist in 9.1. On 8 it only happens when you
> > jexeced into the jail (ssh should be ok).
> I tried to go with ssh to localhost. The result is the same error.
> >   As a workaround you can run
> > tmux (sysutils/tmux) within your jail and install ports from within
> > the terminal multiplexer
> Tmux helped. Thank you.
> > (screen will do as well, but is also heavier).
> >
> If you do jexec inside screen, it does not help.
> In jail screen does not start.

I've got to admit that I didn't test screen myself. I've been using
tmux on 8.x machines for a while for using the mysql monitor (mysql -p
would echo the password you type otherwise).

Based on that experience sshing from a remote machine (not localhost)
should work though.

-- 
Michael Gmelin



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