jail's not dying ... but not running either ...

Marc G. Fournier scrappy at hub.org
Fri Mar 31 02:57:41 UTC 2006


Running RELENG_6, I started up a jail, killed it from within doing 'kill 
-TERM -1' like I've always done, but apparently that isn't the right way?

# jls
    JID  IP Address      Hostname                      Path
      2  200.46.204.254  mx2.hub.org                   /vm/1/mx2.hub.org
      1  200.46.204.254  mx2.hub.org                   /vm/1/mx2.hub.org

but there are no processes running in it ...

io# grep mx2 /proc/*/status
io#

Just re-read the jail man page, and it looks like I'm doing it right, but 
also noticed the pkill commands:

o# jls
    JID  IP Address      Hostname                      Path
      2  200.46.204.254  mx2.hub.org                   /vm/1/mx2.hub.org
      1  200.46.204.254  mx2.hub.org                   /vm/1/mx2.hub.org
io# pkill -j 1
io# jls
    JID  IP Address      Hostname                      Path
      2  200.46.204.254  mx2.hub.org                   /vm/1/mx2.hub.org
      1  200.46.204.254  mx2.hub.org                   /vm/1/mx2.hub.org
io# pkill -j 2
io# jls
    JID  IP Address      Hostname                      Path
      2  200.46.204.254  mx2.hub.org                   /vm/1/mx2.hub.org
      1  200.46.204.254  mx2.hub.org                   /vm/1/mx2.hub.org

And ps ax -o pid,jid,args shows nothing either ...

So, what is keeping those 2 listed?

Thanks ...


----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy at hub.org           Yahoo!: yscrappy              ICQ: 7615664


More information about the freebsd-stable mailing list