Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 2004 17:14:22 +0100
From:      Melvyn Sopacua <freebsd-current@webteckies.org>
To:        current@FreeBSD.org
Subject:   Jails that keep hanging around
Message-ID:  <200402151714.26631.freebsd-current@webteckies.org>

next in thread | raw e-mail | index | archive | help

--Boundary-02=_ir5LAm2a5UVj56y
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,

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

Should I worry about these jails or is it harmless:

root@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@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@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@viconia.idg.nl  ~
# jexec 10 hostname
jail-81.175.70.136.idg.nl
root@viconia.idg.nl  ~
# jexec 15 hostname
soccer.gamez.nl
root@viconia.idg.nl  ~
# jexec 15 /usr/local/bin/bash --login -i
root@soccer.gamez.nl  /
# kill -- -1
bash: kill: (-1) - No such process

=2D-=20
Melvyn

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
=46reeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Sat Fe=
b 14=20
02:48:30 CET 2004    =20
root@sarevok.webteckies.org:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  i386
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D

--Boundary-02=_ir5LAm2a5UVj56y
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBAL5riOv9JNmfFN5URAkq4AKC3WTBUn9LbfmOEgi9/tIyvcleFpgCgp37M
m3RJ+3si//sUoOTvJoYSErc=
=5PCe
-----END PGP SIGNATURE-----

--Boundary-02=_ir5LAm2a5UVj56y--



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