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>
index | next in thread | raw e-mail
[-- Attachment #1 --]
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@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
--
Melvyn
=======================================================
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Sat Feb 14
02:48:30 CET 2004
root@sarevok.webteckies.org:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG i386
=======================================================
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQBAL5riOv9JNmfFN5URAkq4AKC3WTBUn9LbfmOEgi9/tIyvcleFpgCgp37M
m3RJ+3si//sUoOTvJoYSErc=
=5PCe
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402151714.26631.freebsd-current>
