From owner-freebsd-questions@FreeBSD.ORG Thu Feb 23 04:19:32 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10E2616A420 for ; Thu, 23 Feb 2006 04:19:32 +0000 (GMT) (envelope-from lists@stringsutils.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD6BA43D45 for ; Thu, 23 Feb 2006 04:19:31 +0000 (GMT) (envelope-from lists@stringsutils.com) Received: from zoraida.natserv.net (zoraida.natserv.net [66.114.65.147]) by zoraida.natserv.net (Postfix) with ESMTP id 65C457E99 for ; Wed, 22 Feb 2006 23:19:30 -0500 (EST) Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Francisco Reyes To: Free BSD Questions list Date: Wed, 22 Feb 2006 23:19:30 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit Subject: /etc/rc.d/jail can't stop jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 04:19:32 -0000 Doing my first jail. I am able to start the jail manually using the jail command and using /etc/rc.d/jail start, however I am unable to stop the jail using /etc/rc.d jail. I get the error Stopping jails:cannot stop jail mail. No jail id in /var/run The name of the jail is "mail". I also tried entering the jail and killing it.. jexec 4 csh kill -KILL -1 That doesn't produce any errors. My /etc/rc.conf is: # jail specific settings for jail "mail" jail_one_rootdir="/data/jail/" jail_one_hostname="" jail_one_ip="" jail_one_exec="/bin/sh /etc/rc" jail_one_devfs_enable="YES" Any suggestions?