Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2006 14:09:49 +0200
From:      Bartosz Giza <gizmen@blurp.pl>
To:        hackers@freebsd.org
Subject:   Problem with jails after upgrading to 6.1-STABLE
Message-ID:  <c7e42428018d62a6f89ebd060efbcb91@wfs.blurp.pl>

next in thread | raw e-mail | index | archive | help
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





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