Jails that keep hanging around

From: Melvyn Sopacua <freebsd-current_at_webteckies.org>
Date: Sun, 15 Feb 2004 17:14:22 +0100
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
=======================================================

Received on Sun Feb 15 2004 - 07:14:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:43 UTC