jail devfs openpty

Mel fbsd.questions at rachie.is-a-geek.net
Sun Jan 25 18:08:20 PST 2009


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.


More information about the freebsd-questions mailing list