From owner-freebsd-current@FreeBSD.ORG Sun Feb 15 08:14:28 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17FF716A4CE for ; Sun, 15 Feb 2004 08:14:28 -0800 (PST) Received: from sarevok.webteckies.org (node123e0.a2000.nl [24.132.35.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2B5B43D1F for ; Sun, 15 Feb 2004 08:14:27 -0800 (PST) (envelope-from mdev@sarevok.webteckies.org) Received: by sarevok.webteckies.org (Postfix, from userid 100) id C87AAB83A; Sun, 15 Feb 2004 17:14:26 +0100 (CET) From: Melvyn Sopacua Organization: WebTeckies.org To: current@FreeBSD.org Date: Sun, 15 Feb 2004 17:14:22 +0100 User-Agent: KMail/1.5.94 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_ir5LAm2a5UVj56y"; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200402151714.26631.freebsd-current@webteckies.org> Subject: Jails that keep hanging around X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2004 16:14:28 -0000 --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--