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

2006-03-31 Thread Bjoern A. Zeeb

On Fri, 31 Mar 2006, Ganbold wrote:

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?

..


So, what is keeping those 2 listed?


see
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/89528


I'm seeing this jail problem too in my FreeBSD-6.1-PRERELEASE.


yes, it's well known and an explanation is at the end of the above
mentioned PR. It doesn't really harm. It just doesn't look nice in jls.

--
Bjoern A. Zeeb  bzeeb at Zabbadoz dot NeT
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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

2006-03-31 Thread Ganbold

Hi,

I'm seeing this jail problem too in my FreeBSD-6.1-PRERELEASE.

sensor# uname -an
FreeBSD xxx.mng.net 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Thu Feb  2 
17:00:42 ULAT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/xxx  i386


# jls
  JID  IP Address  Hostname  Path
6  202.179.x.x   test.ub.mng.net /usr/local/public
3  202.179.x.x   test.ub.mng.net /usr/local/public
# pgrep -j 6
98354
32112
32104
32069
32055
32048
31924
# pgrep -j 3
# pkill -j 3
# jls
  JID  IP Address  Hostname  Path
6  202.179.x.x   test.ub.mng.net /usr/local/public
3  202.179.x.x   test.ub.mng.net /usr/local/public
#

Ganbold

Bjoern A. Zeeb wrote:

On Thu, 30 Mar 2006, Marc G. Fournier wrote:

Hi,

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?

..


So, what is keeping those 2 listed?


see
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/89528



___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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

2006-03-31 Thread Bjoern A. Zeeb

On Thu, 30 Mar 2006, Marc G. Fournier wrote:

Hi,

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?

...


So, what is keeping those 2 listed?


see
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/89528

--
Bjoern A. Zeeb  bzeeb at Zabbadoz dot NeT
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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

2006-03-30 Thread Marc G. Fournier


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