From owner-freebsd-jail@FreeBSD.ORG Mon Jun 6 11:07:08 2011 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9CC21065697 for ; Mon, 6 Jun 2011 11:07:08 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A86E88FC1B for ; Mon, 6 Jun 2011 11:07:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p56B78eU037661 for ; Mon, 6 Jun 2011 11:07:08 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p56B77Q3037659 for freebsd-jail@FreeBSD.org; Mon, 6 Jun 2011 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 6 Jun 2011 11:07:07 GMT Message-Id: <201106061107.p56B77Q3037659@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-jail@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-jail@FreeBSD.org 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: Mon, 06 Jun 2011 11:07:08 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/156584 jail [jail] ipv4 packet is not forward to v4-mapped binding o kern/156111 jail [jail] procstat -b not supported in jail o misc/155765 jail [patch] `buildworld' does not honors WITHOUT_JAIL o conf/154246 jail [jail] [patch] Bad symlink created if devfs mount poin o conf/149050 jail [jail] rcorder ``nojail'' too coarse for Jail+VNET s conf/142972 jail [jail] [patch] Support JAILv2 and vnet in rc.d/jail o conf/141317 jail [patch] uncorrect jail stop in /etc/rc.d/jail o kern/133265 jail [jail] is there a solution how to run nfs client in ja o kern/119842 jail [smbfs] [jail] "Bad address" with smbfs inside a jail o bin/99566 jail [jail] [patch] fstat(1) according to specified jid o bin/32828 jail [jail] w(1) incorrectly handles stale utmp slots with 11 problems total. From owner-freebsd-jail@FreeBSD.ORG Mon Jun 6 20:40:54 2011 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6FB1106566C for ; Mon, 6 Jun 2011 20:40:54 +0000 (UTC) (envelope-from amweeden.earlham@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6C4A88FC15 for ; Mon, 6 Jun 2011 20:40:53 +0000 (UTC) Received: by wwk4 with SMTP id 4so1864314wwk.1 for ; Mon, 06 Jun 2011 13:40:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=eV0jTecrx7feuCl8enpdGxMn2/BSUnpnJGptb+aAVfk=; b=Oj+lEywXhvzYpmAC69a0MLP2xMVxsLqhxCtIpHl4hujy5io4gHOYLOqI/qIKIsdtrc EhnIyQjQRERwpIWRqJqWCJoan1Sw9X8mQ7qBaD7k8ofnJE4KHckp7MutWdG0veDn1vNO FmKWuZCRmkoMjHxFl3gZ2Sl6IsrmaFXdjn4xU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ECkRNHKF/jOeFeZpVrDQYSO3mk9ZMzz/SfJioelE9Qlo2DGe+eq7XTcD0N8XFDO2aM 6tG2nZQBG7leIZHUuHb70KCxf3fF5yFs9LeeD0TFXNJ1jmVu86oc+CNElk4QDXR0O5BH szk8QvsE+04w/pX3N9ubGmSxQfNlr4Yctj5cs= MIME-Version: 1.0 Received: by 10.227.108.233 with SMTP id g41mr5446415wbp.22.1307391105529; Mon, 06 Jun 2011 13:11:45 -0700 (PDT) Received: by 10.227.137.75 with HTTP; Mon, 6 Jun 2011 13:11:45 -0700 (PDT) Date: Mon, 6 Jun 2011 16:11:45 -0400 Message-ID: From: Aaron Weeden To: freebsd-jail@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: NFS export of directory in jail 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: Mon, 06 Jun 2011 20:40:54 -0000 I am wondering if a parent can export NFS from a mount point inside of a jail running on that host. More specifically, here is the scenario: The parent, murphy, is FreeBSD 8.2-STABLE, running ezjail version 3.0. A jail, positron, is rooted on murphy in /usr/local/jails1/positron. positron has a directory, /clients. murphy will export this directory using NFS. murphy's /etc/exports looks like this: /usr/local/jails1/positron/clients -network 192.168 -mask 255.255.255.0 -maproot=root I have been told that funny things can happen if a parent tries to access part of a jail without using jexec. Will something weird happen to murphy or positron in the scenario described above? Thanks, Aaron From owner-freebsd-jail@FreeBSD.ORG Wed Jun 8 08:37:54 2011 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 689051065768 for ; Wed, 8 Jun 2011 08:37:54 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 116B88FC19 for ; Wed, 8 Jun 2011 08:37:53 +0000 (UTC) Received: from outgoing.leidinger.net (p4FC41CD9.dip.t-dialin.net [79.196.28.217]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 96237844015; Wed, 8 Jun 2011 10:18:52 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [IPv6:fd73:10c7:2053:1::3:102]) by outgoing.leidinger.net (Postfix) with ESMTP id D33063AEC; Wed, 8 Jun 2011 10:18:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1307521129; bh=5MsfDx4GHudiskpF1NpMuFIgnPfIYxUbmgtIuX/Lc38=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=w49+DwvA05eDcA7Mi3CnYX+wmTqAr92a1vUtUr/1BI++LErtk223/u3mf6jhbBgqF 18Z8ExIzFklYf2LShUYLFrUXLxh72y+hV+GnVM63XuEiOkMzrTNJpS5QOHsF1KR5ac x/lgNyp2JBKPbFv67wkFZX09cKl/4MB6tjr2luG5Vy/AJoe0YXavBkuFFHkiTNBTBW smAAz5tDswcFkMzcVMF4OLb3mUviNB5Oqfb9zknbwTMGFc+/zIrjkq3ISIobiFzB2f 7Ktc4QGDEJn2NG1vri0lxdIQsAP3u2JZM9rwsJELOsgf43I6JWXR8gkhKgli3wt4k5 8upMwyfzHcWTw== Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.14.4/Submit) id p588InfB060889; Wed, 8 Jun 2011 10:18:49 +0200 (CEST) (envelope-from Alexander@Leidinger.net) X-Authentication-Warning: webmail.leidinger.net: www set sender to Alexander@Leidinger.net using -f Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 08 Jun 2011 10:18:49 +0200 Message-ID: <20110608101849.46154sh8xynwxwtl@webmail.leidinger.net> Date: Wed, 08 Jun 2011 10:18:49 +0200 From: Alexander Leidinger To: Aaron Weeden References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.6) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 96237844015.AB237 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-0.023, required 6, autolearn=disabled, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, TW_ZJ 0.08) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1308125932.95311@RNM017uaR+P6Fi6dr0ytag X-EBL-Spam-Status: No Cc: freebsd-jail@freebsd.org Subject: Re: NFS export of directory in jail 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: Wed, 08 Jun 2011 08:37:54 -0000 Quoting Aaron Weeden (from Mon, 6 Jun 2011 16:11:45 -0400): > I am wondering if a parent can export NFS from a mount point inside of > a jail running on that host. More specifically, here is the scenario: > > The parent, murphy, is FreeBSD 8.2-STABLE, running ezjail version 3.0. > > A jail, positron, is rooted on murphy in /usr/local/jails1/positron. > > positron has a directory, /clients. murphy will export this directory > using NFS. > > murphy's /etc/exports looks like this: > /usr/local/jails1/positron/clients -network 192.168 -mask > 255.255.255.0 -maproot=root > > I have been told that funny things can happen if a parent tries to > access part of a jail without using jexec. > > Will something weird happen to murphy or positron in the scenario > described above? As long as ezjail does not automount/-unmount a part of this tree during start/stop: No. Bye, Alexander. -- The ripest fruit falls first. -- William Shakespeare, "Richard II" http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-jail@FreeBSD.ORG Thu Jun 9 09:19:13 2011 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 153131065673 for ; Thu, 9 Jun 2011 09:19:13 +0000 (UTC) (envelope-from andrey.groshev@yartv.ru) Received: from forward9.mail.yandex.net (forward9.mail.yandex.net [77.88.61.48]) by mx1.freebsd.org (Postfix) with ESMTP id BE0AD8FC1A for ; Thu, 9 Jun 2011 09:19:12 +0000 (UTC) Received: from smtp9.mail.yandex.net (smtp9.mail.yandex.net [77.88.61.35]) by forward9.mail.yandex.net (Yandex) with ESMTP id 4E3A9CE3107 for ; Thu, 9 Jun 2011 13:03:48 +0400 (MSD) Received: from greenx.yartelenet.ru (greenx.yartelenet.ru [94.158.8.2]) by smtp9.mail.yandex.net (Yandex) with ESMTPSA id 24EDA4BA009E for ; Thu, 9 Jun 2011 13:03:48 +0400 (MSD) Message-ID: <4DF08C73.6010308@yartv.ru> Date: Thu, 09 Jun 2011 13:03:47 +0400 From: Andrey Groshev User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.2.17) Gecko/20110504 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-jail@FreeBSD.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Yandex-Spam: 1 Cc: Subject: Changes in /etc/rc.d/jail 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: Thu, 09 Jun 2011 09:19:13 -0000 Hello All! The other day, looking in "/etc/rc.d/jail" saw the change that would not like to be ignored. After seeing comments in the CVS, I thought that people understand the addition of "&" how to add a parallel load prisons. This is done not for this! The fact is that last year I wrote a kern/139422. The essence is as follows: For example, a hacked jail. An attacker puts in jail is never ending start script (like while true ;....). The next time you restart the parent system, the subsystem will start after / etc / rc.d / jail did not start. # rcorder /etc/rc.d/* ...... 130 /etc/rc.d/jail 131 /etc/rc.d/localpkg 132 /etc/rc.d/securelevel 133 /etc/rc.d/power_profile 134 /etc/rc.d/othermta 135 /etc/rc.d/nfscbd 136 /etc/rc.d/natd 137 /etc/rc.d/msgs 138 /etc/rc.d/moused 139 /etc/rc.d/mixer 140 /etc/rc.d/inetd 141 /etc/rc.d/hostapd 142 /etc/rc.d/gptboot 143 /etc/rc.d/geli2 144 /etc/rc.d/ftpd 145 /etc/rc.d/ftp-proxy 146 /etc/rc.d/dhclient 147 /etc/rc.d/bsnmpd 148 /etc/rc.d/bridge 149 /etc/rc.d/bluetooth 150 /etc/rc.d/bgfsck 151 /etc/rc.d/addswap Ieparent system may not be workable. Therefore, IMHO, or should go back to the originally done (as in version 1.44), or default allow "parallel" booting, or come up with a plan "B". Best regards, Andrey Groshev aka GreenX. From owner-freebsd-jail@FreeBSD.ORG Fri Jun 10 12:01:32 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 6ECB61065672 for ; Fri, 10 Jun 2011 12:01:32 +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 29DE48FC17 for ; Fri, 10 Jun 2011 12:01:31 +0000 (UTC) Received: by qwc9 with SMTP id 9so1695682qwc.13 for ; Fri, 10 Jun 2011 05:01:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=zXeTGuxAG46V/AmQPsGVg8xdrSSpTzo4LjTpNBzF6PQ=; b=nWUNtAHWm4ojfeNPJXpXjjclq9N0dLCKtmoBczo+CCLQ3EvIHKIfiFMDtaVI3F53VQ 97yvGrJucCSmNGMU7Gm7ALFb8L7tIZDZv2aKy7ykSOTezT2ys3P7IeiD6Y4zzaHOiJF9 9dZ4n9E5R1keJwAu1t83w+12w8mx4+Vi1h45Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=BiPGTaEWg7Xf5d2z14DPPANA8D0fM+4nMZ4K6m0qgYWmqHlINb0GzGK9QGcmE6NiQX yjJlV77HC9mw5pWUjJIwShPh/zycrXnNpDVl9zxsV5c2ZNq+Etxq982ijWPQFYYP3r4I OmPcuxbrPOO4cxz66Jqs8sHu1YiIyFqntXoew= MIME-Version: 1.0 Received: by 10.229.46.67 with SMTP id i3mr1332207qcf.234.1307705819848; Fri, 10 Jun 2011 04:36:59 -0700 (PDT) Received: by 10.229.220.198 with HTTP; Fri, 10 Jun 2011 04:36:59 -0700 (PDT) Date: Fri, 10 Jun 2011 13:36:59 +0200 Message-ID: From: Redd Vinylene To: jail@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: 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 12:01:32 -0000 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? I have to umount it before I can delete it though. Anybody know? Thanks! 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 > From owner-freebsd-jail@FreeBSD.ORG Fri Jun 10 13:54:06 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 739E6106566C for ; Fri, 10 Jun 2011 13:54:06 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 27D158FC08 for ; Fri, 10 Jun 2011 13:54:05 +0000 (UTC) Received: by vxc34 with SMTP id 34so3140795vxc.13 for ; Fri, 10 Jun 2011 06:54:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=6O0AlpDx8fNQhkVeAHTsA14sDyVUhnYzYNQAdenjGLY=; b=AXEMeLFuZKy66+dF6YpNPSSCu7dKryCirVejv+u8l8bQPcncECSTD/19kkLdC7efmB Ma8dNbdMxqphbNbojTD1yubg7KUpyV/vkUqPrEwCIaWDickBEAnqTdSvgtrXNhazDhH3 9kW5hUAJWW6/SiCzvxGFRGD5JcfRw643uKP8A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=w6pJ3fCUagMThHqawHGZ9vV+zzUctECifC+lIBn+VaPRPOTOa9hk1Pf6Fx27LGjyti Fd8MjNMgElGB395LTMMgpnT7mmqLdfxiwRB0YiR1B26U87iDc+ph0Undx6G6cxiGy2BI mkBihO1Xwr4hKRbqNWstGbNh5EKJ3YYdtc1xo= Received: by 10.52.96.33 with SMTP id dp1mr2989463vdb.20.1307712162065; Fri, 10 Jun 2011 06:22:42 -0700 (PDT) Received: from schism.local (75-146-225-65-Philadelphia.hfc.comcastbusiness.net [75.146.225.65]) by mx.google.com with ESMTPS id t13sm990562vds.30.2011.06.10.06.22.40 (version=SSLv3 cipher=OTHER); Fri, 10 Jun 2011 06:22:41 -0700 (PDT) Message-ID: <4DF21A9F.3030509@gmail.com> Date: Fri, 10 Jun 2011 09:22:39 -0400 From: Glen Barber User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Redd Vinylene References: In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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:54:06 -0000 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 From owner-freebsd-jail@FreeBSD.ORG Sat Jun 11 12:01:47 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 E3D751065672 for ; Sat, 11 Jun 2011 12:01:47 +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 992EB8FC18 for ; Sat, 11 Jun 2011 12:01:47 +0000 (UTC) Received: by qwc9 with SMTP id 9so2387929qwc.13 for ; Sat, 11 Jun 2011 05:01:46 -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=/LbEY0JDDOC6Q09C8PZodk0X7Z3wXaNUk+XU8fmHPog=; b=ML7F08Wp+G2rdQlFGVnAU4mZq7DpghX8k1q/prtPn3Fvd4rVsLjpHFjoyVctYeasWZ /tWjHNdtGPYp6OAIdKx1ZbEU0EF3PNmmmPvjOWIae22RZqfMtd5Qvha3ujjLQPrqFMvj OppuEhPOBt1Lalno9K948EPMlZUiqcszrrVXw= 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=v5oblujCoDENN1v+OPHSlBfkpZqSj4sbBZnUHYV0tqYWUlFt9WyXT8x3rPyNGBUwj5 rRqzdJfoA0ntbJZ1Yafq0pyFdwJPTf49X3W1EZ3mfmIqzQPaTSYo0gHRovh/UBP0pVxt x0JVS7TTOT+KO54UzL3PjynPgZ6KYntVxWhUA= MIME-Version: 1.0 Received: by 10.229.78.166 with SMTP id l38mr2387478qck.120.1307793706754; Sat, 11 Jun 2011 05:01:46 -0700 (PDT) Received: by 10.229.220.198 with HTTP; Sat, 11 Jun 2011 05:01:46 -0700 (PDT) In-Reply-To: References: <4DF21A9F.3030509@gmail.com> Date: Sat, 11 Jun 2011 14:01:46 +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: Sat, 11 Jun 2011 12:01:48 -0000 Any idea Glen? On Fri, Jun 10, 2011 at 3:47 PM, Redd Vinylene wrote: > 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 >> > >