From owner-freebsd-jail@FreeBSD.ORG Fri Jun 10 13:47:10 2011 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FA02106564A for ; Fri, 10 Jun 2011 13:47:10 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1A15B8FC15 for ; Fri, 10 Jun 2011 13:47:09 +0000 (UTC) Received: by qwc9 with SMTP id 9so1801758qwc.13 for ; Fri, 10 Jun 2011 06:47:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=UF6P4YvqUYmrY+9Y6u67Pve/U4uNpBprInaYyrJT1XY=; b=at+u0//4eY6i4dFq4jnfl+dvDa07fsl38Rl7PD7pcQYzVmR6mtmMMoNfk5qATZUYPa zoCWCDca3D8PmcCM7+9DrvIuhrpyNS4g44F+9DIJKbi/Duht5iimhZ/BuklyArEDaV5U WeUROkjk8Rvmoz9zDEqFE9uhi2/WA4nuBvbdA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=rzf1mDMJBlbo2YGEJrZArn0EPAleOlQSUbtuazrs/wiRAUnQ1wef3a0pQrj7oxBWEN UeqxmT8GVqdDtAVDxBz0m7Gohz67ON5u4/J6yStRpYRUwOUnit4tpuhtjnvu4ev++rLm QO841VKKwfEnBXF24CPskFrjTdkwX6PU6xATs= MIME-Version: 1.0 Received: by 10.229.78.166 with SMTP id l38mr1576286qck.120.1307713629267; Fri, 10 Jun 2011 06:47:09 -0700 (PDT) Received: by 10.229.220.198 with HTTP; Fri, 10 Jun 2011 06:47:09 -0700 (PDT) In-Reply-To: <4DF21A9F.3030509@gmail.com> References: <4DF21A9F.3030509@gmail.com> Date: Fri, 10 Jun 2011 15:47:09 +0200 Message-ID: From: Redd Vinylene To: Glen Barber Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: jail@freebsd.org Subject: Re: Old jail dir reappears after reboot - why? X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2011 13:47:10 -0000 Hey! Sure thing mate - here we go !! # cat /etc/rc.conf hostname="mybox.mydomain.com" ifconfig_em0="inet inet [FILTERED]/29" ifconfig_em0_alias0="inet inet [FILTERED]/32" ifconfig_em0_alias1="inet inet [FILTERED]/32" defaultrouter="inet [FILTERED]" devfs_system_ruleset="localrules" zfs_enable="YES" pf_enable="YES" pflog_enable="YES" sshd_enable="YES" ntpdate_enable="YES" ntpdate_flags="pool.ntp.org" postfix_enable="YES" sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" jail_enable="YES" jail_list="statepen1 statepen2" jail_statepen1_rootdir="/jails/statepen1" jail_statepen1_hostname="statepen1.mydomain.com" jail_statepen1_ip="[FILTERED]" jail_statepen1_devfs_enable="YES" jail_statepen1_devfs_ruleset="devfsrules_jail" jail_statepen2_rootdir="/jails/statepen2" jail_statepen2_hostname="statepen2.mydomain.com" jail_statepen2_ip="[FILTERED]" jail_statepen2_devfs_enable="YES" jail_statepen2_devfs_ruleset="devfsrules_jail" clear_tmp_enable="YES" update_motd="NO" # cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ad8s1b none swap sw 0 0 /dev/ad8s1a / ufs rw 1 1 #/dev/ad8s1g /home ufs rw 2 2 /dev/ad8s1d /tmp ufs rw 2 2 /dev/ad8s1f /usr ufs rw 2 2 /dev/ad8s1e /var ufs rw 2 2 #/dev/cd0 /cdrom cd9660 ro,noauto 0 0 #/dev/acd0 /cdrom1 cd9660 ro,noauto 0 0 On Fri, Jun 10, 2011 at 3:22 PM, Glen Barber wrote: > On 6/10/11 7:36 AM, Redd Vinylene wrote: > > Hi, > > > > After rebooting my host server, some old dir I once had my jails in > > reappears. What might be the cause of that and how do I stop it? > > > > More specifically, I once had my jails in /jail, but now I've moved them > all > > into /jails. rc.conf or fstab does not reference /jail and I can't find > any > > file on my system that does - so why does this dir keep reappearing all > the > > time? > > > > Can you provide rc.conf, rc.conf.local (if it exists), and fstab* ? > > > I have to umount it before I can delete it though. > > > > Yes. That's a good thing. :) > > Regards, > > -- > Glen Barber >