Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2006 22:57:43 -0400 (AST)
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        freebsd-stable@freebsd.org
Subject:   jail's not dying ... but not running either ...
Message-ID:  <20060330225122.L947@ganymede.hub.org>

next in thread | raw e-mail | index | archive | help

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@hub.org           Yahoo!: yscrappy              ICQ: 7615664



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