Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2006 15:11:01 +0300
From:      Yar Tikhiy <yar@comp.chem.msu.su>
To:        Laurent LEVIER <llevier@argosnet.com>
Cc:        freebsd-rc@freebsd.org, bug-followup@freebsd.org
Subject:   Re: conf/102913: /etc/rc.d/named killall in jailed OS
Message-ID:  <20061123121101.GF62551@comp.chem.msu.su>
In-Reply-To: <7.0.1.0.2.20061013085800.01e91dc0@argosnet.com>
References:  <20061013033408.GA30695@FreeBSD.csie.nctu.edu.tw> <7.0.1.0.2.20061013085800.01e91dc0@argosnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 13, 2006 at 08:59:44AM +0200, Laurent LEVIER wrote:
> 
> I already patched my script.
> Now it kills pid, then if it fails, gets all named out of jail (J 
> flag) and kill these.

FWIW, I've just added a new little feature to pkill(1): now it can
selectively kill processes out of jail.  Perhaps it can be useful
here.  If you need to kill all nameds that are not in jail, just
use the following command:

	pkill -j none named

BTW, for the opposite effect, now the following command should be
used:

	pkill -j any named

-- 
Yar



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