Date: Thu, 23 Nov 2006 20:42:40 +0100 From: Laurent LEVIER <llevier@argosnet.com> To: Yar Tikhiy <yar@comp.chem.msu.su> Cc: freebsd-rc@freebsd.org, bug-followup@freebsd.org Subject: Re: conf/102913: /etc/rc.d/named killall in jailed OS Message-ID: <20061123194212.7221214D8F0@mx.levier.org> In-Reply-To: <20061123121101.GF62551@comp.chem.msu.su> References: <20061013033408.GA30695@FreeBSD.csie.nctu.edu.tw> <7.0.1.0.2.20061013085800.01e91dc0@argosnet.com> <20061123121101.GF62551@comp.chem.msu.su>
next in thread | previous in thread | raw e-mail | index | archive | help
At 13:11 23/11/2006, Yar Tikhiy wrote: >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 Great. This way the patch will be included in the next release, solving the issue for all. Thanks for this great work! Brgrds Laurent LEVIER Systems & Networks Security Expert, CISSP CISM
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061123194212.7221214D8F0>