Date: Thu, 23 Nov 2006 12:20:11 GMT From: Yar Tikhiy <yar@comp.chem.msu.su> To: freebsd-rc@FreeBSD.org Subject: Re: conf/102913: /etc/rc.d/named killall in jailed OS Message-ID: <200611231220.kANCKBms088078@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/102913; it has been noted by GNATS. From: Yar Tikhiy <yar@comp.chem.msu.su> To: Laurent LEVIER <llevier@argosnet.com> Cc: bug-followup@freebsd.org, freebsd-rc@freebsd.org Subject: Re: conf/102913: /etc/rc.d/named killall in jailed OS Date: Thu, 23 Nov 2006 15:11:01 +0300 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?200611231220.kANCKBms088078>