jail devfs openpty

Peter Vereshagin peter at vereshagin.org
Mon Jan 26 04:48:34 PST 2009


It appeared to work after rule apply unhide. Will find out more. Just how to delete or view the ruleset? Thanks.

2009/01/25 17:08:14 -0900 Mel <fbsd.questions at rachie.is-a-geek.net> => To freebsd-questions at freebsd.org :
M> On Sunday 25 January 2009 02:25:17 Peter Vereshagin wrote:
M> > Hello,
M> >
M> > I am doing the portupgrade inside my jail.
M> > I see that script(1) have no permission on openpty.
M> > I deleted all the devfs rules on tha jail's /dev both by hand and by
M> > deleting the ruleset string in master's rc.conf. So i stopped jail and
M> > mounted devfs by hand. Started jail. It appears to work, the portupgrade. I
M> > suppose that if mounted with /etc/rc.d/jail the devfs has some tweak that
M> > makes it different from mounted by hand.
M> 
M> Are you sure that's the problem?
M> When going inside a jail with jexec(8) there is no /dev/tty. You have to login 
M> using ssh to get fully functional tty's.
M> 
M> -- 
M> Mel
M> 
M> Problem with today's modular software: they start with the modules
M>     and never get to the software part.
73! Peter
-- 
http://vereshagin.org


More information about the freebsd-questions mailing list