Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2009 17:08:14 -0900
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        Peter Vereshagin <peter@vereshagin.org>
Subject:   Re: jail devfs openpty
Message-ID:  <200901251708.14416.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <20090125112517.GA33731@screwed.box>
References:  <20090125112517.GA33731@screwed.box>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 25 January 2009 02:25:17 Peter Vereshagin wrote:
> Hello,
>
> I am doing the portupgrade inside my jail.
> I see that script(1) have no permission on openpty.
> I deleted all the devfs rules on tha jail's /dev both by hand and by
> deleting the ruleset string in master's rc.conf. So i stopped jail and
> mounted devfs by hand. Started jail. It appears to work, the portupgrade. I
> suppose that if mounted with /etc/rc.d/jail the devfs has some tweak that
> makes it different from mounted by hand.

Are you sure that's the problem?
When going inside a jail with jexec(8) there is no /dev/tty. You have to login 
using ssh to get fully functional tty's.

-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.



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