conf/102913: [jail] [patch] /etc/rc.d/named killall in jailed OS

Florian Smeets flo at kasimir.com
Wed Jan 16 15:10:03 PST 2008


The following reply was made to PR conf/102913; it has been noted by GNATS.

From: Florian Smeets <flo at kasimir.com>
To: bug-followup at FreeBSD.org, llevier at argosnet.com
Cc:  
Subject: Re: conf/102913: [jail] [patch] /etc/rc.d/named killall in jailed
 OS
Date: Thu, 17 Jan 2008 00:04:18 +0100

 This one can also be closed, as with Rev 1.27 of /etc/rc.d/named the 
 named script reads the PID from the pidfile and only kills that process. 
 All named processes in the jails survive:
 
 host# ps ax -o pid,jid,args | grep named
   1179      2 /usr/sbin/named -t /var/named -u bind
   1197      1 /usr/sbin/named -t /var/named -u bind
   1690      0 /usr/sbin/named -t /var/named -u bind
   1694      0 grep named
 host# /etc/rc.d/named stop
 Stopping named.
 rndc failed, trying kill:
 host# ps ax -o pid,jid,args | grep named
   1179      2 /usr/sbin/named -t /var/named -u bind
   1197      1 /usr/sbin/named -t /var/named -u bind
   1709      0 grep named
 
 Cheers,
 Florian


More information about the freebsd-rc mailing list