Jails that keep hanging around

Melvyn Sopacua freebsd-current at webteckies.org
Sun Feb 15 08:14:28 PST 2004


Hi,

I have yet to figure out what triggers the bug, but I end up with 'running' 
jails, without any processes. So I thought I'd create 'jld' to remove a jail. 
However - prison_find isn't exported to userland. Probably for good reason.

Should I worry about these jails or is it harmless:

root at viconia.idg.nl  ~
# jls
   JID  IP Address      Hostname                      Path
    15  81.175.70.136   soccer.gamez.nl               /jail/81.175.70.136
    10  81.175.70.136   jail-81.175.70.136.idg.nl     /jail/81.175.70.136

[ ... ]

root at viconia.idg.nl  ~
# jexec 15 ps -aHux
USER   PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED      TIME COMMAND
root 74983  0.0  0.1  1348  840  p1  RL+J  4:08PM   0:00.00 ps -aHux
root at viconia.idg.nl  ~
# jexec 10 ps -aHux
USER   PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED      TIME COMMAND
root 75008  0.0  0.1  1348  840  p1  RL+J  4:10PM   0:00.01 ps -aHux
root at viconia.idg.nl  ~
# jexec 10 hostname
jail-81.175.70.136.idg.nl
root at viconia.idg.nl  ~
# jexec 15 hostname
soccer.gamez.nl
root at viconia.idg.nl  ~
# jexec 15 /usr/local/bin/bash --login -i
root at soccer.gamez.nl  /
# kill -- -1
bash: kill: (-1) - No such process

-- 
Melvyn

=======================================================
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Sat Feb 14 
02:48:30 CET 2004     
root at sarevok.webteckies.org:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  i386
=======================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040215/ab124997/attachment.bin


More information about the freebsd-current mailing list