From owner-freebsd-questions@FreeBSD.ORG Wed Apr 16 18:19:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F02B7106564A for ; Wed, 16 Apr 2008 18:19:40 +0000 (UTC) (envelope-from fbsdq@peterk.org) Received: from poshta.pknet.net (poshta.pknet.net [216.241.167.213]) by mx1.freebsd.org (Postfix) with SMTP id 9B7578FC18 for ; Wed, 16 Apr 2008 18:19:40 +0000 (UTC) (envelope-from fbsdq@peterk.org) Received: (qmail 55264 invoked from network); 16 Apr 2008 17:53:18 -0000 Received: from unknown (HELO smtp.pknet.net) (216.241.167.213) by poshta.pknet.net with SMTP; 16 Apr 2008 17:53:18 -0000 Received: from 63.65.46.186 (SquirrelMail authenticated user fbsdq@peterk.org) by webmail.pknet.net with HTTP; Wed, 16 Apr 2008 11:53:18 -0600 (MDT) Message-ID: <1028.63.65.46.186.1208368398.squirrel@webmail.pknet.net> Date: Wed, 16 Apr 2008 11:53:18 -0600 (MDT) From: "Peter" To: "Artem Kuchin" User-Agent: SquirrelMail/1.4.11 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: "freebsd-questions@freebsd.org" Subject: Re: how to exec a process in a jail while being on the main host? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2008 18:19:41 -0000 > For example, i have an already runing jail with some JID and i am logged > in on the main host (which runs the jail). > How can i run a new process inside the jail with a known JID w/o ssh-ing > into that jail or doing a lot of strange > manupulations? > > I am asking, because i have about 20 jails running and each has a > running special control daemon which > changes a lot and often. When change occures i need then to enter each > jail as root, kill the old daemon, start the new one. > This take a lot of time and is really annoying. > jls jexec jid /program/to/exec jexec 1 /bin/sh > -- > Regards, > Artem > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >