Re: Problem with jails after upgrading to 6.1-STABLE

2006-05-19 Thread Roberto Lima

Hi,
your problem is simple, if jid shows in jls yet, just try: pkill -j JID

ps: -j flag works only RELENG_6

thanks and sorry for my bad english.

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


Re: Problem with jails after upgrading to 6.1-STABLE

2006-05-19 Thread Roberto Lima

I mean that pkill -j only works in freebsd 6.x, man 8 jail says:

To show and then kill processes in jail number 3 use the following commands:

  pgrep -lfj 3
  pkill -j 3
or:

  killall -j 3
but i don't know why killall -j doesn't work..

Thanks,
Roberto.

2006/5/19, Bartosz Giza [EMAIL PROTECTED]:

 Hi,
  your problem is simple, if jid shows in jls yet, just try:
 pkill -j JID

 ps: -j flag works only RELENG_6

 thanks and sorry for my bad english.

Thanks for hint. pkill works good but why killall doesn't work ?
And what do you mean that -j flag works only RELENG_6
I have that RELENG. And RELENG_6 is a tag for STABLE branch.
So i dont understand what do you mean.



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


Re: Problem with jails after upgrading to 6.1-STABLE

2006-05-18 Thread Dan Rue
On Thu, May 18, 2006 at 02:09:49PM +0200, Bartosz Giza wrote:
 Hi,
 
 Recently i have upgraded my box to 6.1-STABLE. Before i have had 6.0-STABLE.
 
 I am running couple of jails on this box and right now something is messed 
 up with startup scripts or somewhere else.
 Worst thing is that i can't stop them using rc.d/jail script:

snip

6.1 shipped with a buggy /etc/rc.d/jail script.. 

See this post from freebsd-stable:
http://lists.freebsd.org/pipermail/freebsd-stable/2006-May/025445.html

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