Date: Wed, 3 May 2006 19:30:08 GMT From: Gergely Czuczy <phoemix@harmless.hu> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/96729: jails still in the system after stopping them Message-ID: <200605031930.k43JU8ec078450@www.freebsd.org> Resent-Message-ID: <200605031940.k43JeHPC088585@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 96729 >Category: misc >Synopsis: jails still in the system after stopping them >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 03 19:40:17 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Gergely Czuczy >Release: 6.0-RELEASE-p6 >Organization: Harmless Digital >Environment: FreeBSD trillian.harmless.hu 6.0-RELEASE-p6 FreeBSD 6.0-RELEASE-p6 #1: Mon Apr 10 20:09:00 CEST 2006 root@trillian.harmless.hu:/usr/obj/usr/src/sys/TRILLIAN i386 >Description: Jails keep on stucking in the system after stopping them. As i have experienced it mostly occurs when i leave something in the jail when stopping them. i use to start/stop jails the rc.d script. i go inside a running jail with ``jexec <id> /usr/local/bin/bash'' (so, a standard shell), and when i'm in, i stop the jail. after i leave the shell i still can see the jail listed with jls. i was unable to find any utilities to purge these unused entries from the jail "registry". i have tried to put back it's id to /var/run/<id file>, and invoke the /etc/rc.d/jail/stop script again, but it had no effect on them. >How-To-Repeat: 1) start up a jail 2) using jexec, enter into it with a shell 3) stop the jail 4) leave the jail with the jexec shell 5) check it with jls, the jail will be still around >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605031930.k43JU8ec078450>