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




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@xxxxxxx Yahoo!: yscrappy ICQ: 7615664
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: jls shows dead jails too?
    ... The problem is that when I kill a jail with kill -TERM -1, ... man page tells me to use, it still is listed when I run jls. ... Other things that I have seen are if you have a FS mounted inside your jail and that did not umount completely or appropriately, ... Chad Leigh -- Shire.Net LLC ...
    (freebsd-questions)
  • Re: Unable to stop a jail
    ... jexec or jkill all return success but jls still reports ... the jail as running. ... The machines running several other jails which I cant restart ...
    (freebsd-hackers)
  • Re: Unable to stop a jail
    ... jexec or jkill all return success but jls still reports ... the jail as running. ... The machines running several other jails which I cant restart ...
    (freebsd-hackers)
  • Re: Unable to stop a jail
    ... jexec or jkill all return success but jls still reports ... the jail as running. ... The machines running several other jails which I cant restart ... Any ideas some sort of kernel data corruption? ...
    (freebsd-hackers)
  • Unable to stop a jail
    ... We've got a jail here which we cant stop with either killall ... jexec or jkill all return success but jls still reports ... The machines running several other jails which I cant restart ...
    (freebsd-hackers)