From owner-freebsd-hackers@FreeBSD.ORG Thu May 18 12:09:56 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9C9716A56D for ; Thu, 18 May 2006 12:09:56 +0000 (UTC) (envelope-from gizmen@blurp.pl) Received: from blurp.t2.ds.pwr.wroc.pl (blurp.t2.ds.pwr.wroc.pl [156.17.224.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3168543D48 for ; Thu, 18 May 2006 12:09:53 +0000 (GMT) (envelope-from gizmen@blurp.pl) Received: from blurp.t2.ds.pwr.wroc.pl (last.blurp.pl [127.0.0.25]) by blurp.t2.ds.pwr.wroc.pl (Postfix) with ESMTP id 2E0F66BB for ; Thu, 18 May 2006 14:09:50 +0200 (CEST) Received: from wfs.blurp.pl (localhost [127.0.0.1]) by blurp.t2.ds.pwr.wroc.pl (Postfix) with ESMTP id D811E6A6 for ; Thu, 18 May 2006 14:09:49 +0200 (CEST) Received: from phpmailer ([156.17.224.6]) by wfs.blurp.pl with HTTP (PHPMailer); Thu, 18 May 2006 14:09:49 +0200 Date: Thu, 18 May 2006 14:09:49 +0200 To: hackers@freebsd.org From: Bartosz Giza Message-ID: X-Priority: 3 X-Mailer: PHPMailer [version 1.71] X-Mailer: FeLaMiMail version 0.9.5 Organization: GiZmen MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Cc: Subject: Problem with jails after upgrading to 6.1-STABLE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 12:10:02 -0000 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=20 up with startup scripts or somewhere else. Worst thing is that i can't stop them using rc.d/jail script: root@blurp:~# jls JID IP Address Hostname Path 10 127.0.0.107 clamsmtpd.xxxx.xx /usr/jails/clamav 9 127.0.0.106 clamd.xxxx.xx /usr/jails/clamav 8 127.0.0.105 freshclam.xxxx.xx /usr/jails/clamav root@blurp:~# ps axO jid |grep J PID JID TT STAT TIME COMMAND 1443 8 ?? IsJ 0:00,19 /usr/local/bin/freshclam --daemon 1459 9 ?? IsJ 0:49,15 /usr/local/sbin/clamd 1474 10 ?? IsJ 0:05,79 /usr/local/sbin/clamsmtpd root@blurp:~# /etc/rc.d/jail stop clamsmtpd Stopping jails: clamsmtpd.blurp.pl. root@blurp:~# jls JID IP Address Hostname Path 10 127.0.0.107 clamsmtpd.blurp.pl /usr/jails/clamav 9 127.0.0.106 clamd.blurp.pl /usr/jails/clamav 8 127.0.0.105 freshclam.blurp.pl /usr/jails/clamav root@blurp:~# ps axO jid | grep J PID JID TT STAT TIME COMMAND 1443 8 ?? IsJ 0:00,19 /usr/local/bin/freshclam --daemon 1459 9 ?? SsJ 0:49,15 /usr/local/sbin/clamd 1474 10 ?? IsJ 0:05,79 /usr/local/sbin/clamsmtpd I have tried to find what is wrong with this. And i think the problem = is=20 with killall which is used to in rc.d/jail script: root@blurp:~# killall -j 10 No matching processes were found And as i have shown earlier, there is process running with jid 10. To stop this jail i have to kill this proces by pid. root@blurp:~# uname -a=20 FreeBSD blurp.pl 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat May 13 13:09:51 = CEST=20 2006 root@blurp.pl:/crypto/obj/usr/src/sys/BLURP i386 This is really problematic when i have to stop more jails and start = them=20 again. Could anyone tell me what is wrong or this is bug and i should PR = it. I have upgraded every files with mergemaster -p; and then with = mergemaster.=20 So i have starup scrips from STABLE branch. PS: i have listed only 3 jails but i runing more off them and they have = same problem exept of apache which i can kill with script and killall -j xx ? = :( Don't know where is problem .... please help.. thx --=20 [] Bartosz Giza