From owner-freebsd-jail@FreeBSD.ORG Sun Sep 28 19:31:01 2008 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 C2C701065692 for ; Sun, 28 Sep 2008 19:31:01 +0000 (UTC) (envelope-from coco@executive-computing.de) Received: from mail.moehre.org (mail.moehre.org [195.96.32.7]) by mx1.freebsd.org (Postfix) with ESMTP id 7D6B88FC19 for ; Sun, 28 Sep 2008 19:31:01 +0000 (UTC) (envelope-from coco@executive-computing.de) Received: from localhost (unknown [195.96.32.7]) by mail.moehre.org (Postfix) with ESMTP id 651E44D4481 for ; Sun, 28 Sep 2008 21:12:30 +0200 (CEST) X-Spam-Flag: NO X-Spam-Score: -4.156 X-Spam-Level: X-Spam-Status: No, score=-4.156 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1.8, AWL=0.243, BAYES_00=-2.599] Received: from mail.moehre.org ([195.96.32.7]) by localhost (mail.moehre.org [195.96.32.7]) (amavisd-new, port 10024) with ESMTP id w2wItqvVr1Ju for ; Sun, 28 Sep 2008 21:12:27 +0200 (CEST) Received: from [192.168.100.35] (p54B0C2BD.dip.t-dialin.net [84.176.194.189]) (Authenticated sender: coco@executive-computing.de) by mail.moehre.org (Postfix) with ESMTP id CB5B94D447E for ; Sun, 28 Sep 2008 21:12:26 +0200 (CEST) Message-ID: <48DFD6A3.80706@executive-computing.de> Date: Sun, 28 Sep 2008 21:10:27 +0200 From: Marco Steinbach User-Agent: Thunderbird 1.5.0.14 (Windows/20071210) MIME-Version: 1.0 To: freebsd-jail@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: request for (security) comments on this setup 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: Sun, 28 Sep 2008 19:31:01 -0000 Randy Schultz wrote: > Heya, > > I'm mounting some iSCSI storage in a jail. It's mounting in the jail via > fstab.. When the jail is up and I'm logged into the jail I > can cd > to the mount point, r/w etc., everything seems to work. What's weird > tho' is, > while a df on the parent shows the partion mounted as expected, a df inside > the jail shows the local disk but not the iSCSI mount. A tad bit late, I realize. If you're not using any applications in need of being able to enumerate all mounted filesystems from within the jail, I'd leave security.jail.enforce_statfs alone, and simply use df . MfG CoCo From owner-freebsd-jail@FreeBSD.ORG Mon Sep 29 11:06:53 2008 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 25367106569A for ; Mon, 29 Sep 2008 11:06:53 +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 1481C8FC27 for ; Mon, 29 Sep 2008 11:06:53 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8TB6q1f040843 for ; Mon, 29 Sep 2008 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8TB6qGI040839 for freebsd-jail@FreeBSD.org; Mon, 29 Sep 2008 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 29 Sep 2008 11:06:52 GMT Message-Id: <200809291106.m8TB6qGI040839@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, 29 Sep 2008 11:06:53 -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/126368 jail [jail] Running ktrace/kdump in jail leads to stale jai o kern/120753 jail [jail] Zombie jails (jailed child process exits while 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 kern/97071 jail [jail] [patch] add security.jail.jid sysctl o kern/89989 jail [jail] [patch] Add option -I (ASCII 73) PID to specif s kern/89528 jail [jail] [patch] impossible to kill a jail o kern/84215 jail [jail] [patch] wildcard ip (INADDR_ANY) should not bin o kern/74314 jail [resolver] [jail] DNS resolver broken under certain ja o kern/72498 jail [libc] [jail] timestamp code on jailed SMP machine gen o kern/68192 jail [quotas] [jail] Cannot use quotas on jailed systems o bin/32828 jail [jail] w(1) incorrectly handles stale utmp slots with 12 problems total. From owner-freebsd-jail@FreeBSD.ORG Mon Sep 29 23:28:26 2008 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 7782B1065696 for ; Mon, 29 Sep 2008 23:28:26 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from exhub015-2.exch015.msoutlookonline.net (exhub015-2.exch015.msoutlookonline.net [207.5.72.94]) by mx1.freebsd.org (Postfix) with ESMTP id 61E398FC1F for ; Mon, 29 Sep 2008 23:28:26 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from philip.hq.rws (74.93.213.161) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.1.278.0; Mon, 29 Sep 2008 16:18:23 -0700 Message-ID: <48E1623D.6020309@p6m7g8.com> Date: Mon, 29 Sep 2008 19:18:21 -0400 From: "Philip M. Gollucci" Organization: P6 Web Applications Inc. User-Agent: Thunderbird 2.0.0.12 (X11/20080414) MIME-Version: 1.0 To: "Bjoern A. Zeeb" References: <20080801171343.M88849@maildrop.int.zabbadoz.net> In-Reply-To: <20080801171343.M88849@maildrop.int.zabbadoz.net> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-jail@freebsd.org Subject: Re: Multiple IPs 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, 29 Sep 2008 23:28:26 -0000 Bjoern A. Zeeb wrote: >>> # make world DESTDIR=$D > > that should be make installworld DESTDIR=$D If thats true, the jail(8) man page is wrong. Though both should work ? From owner-freebsd-jail@FreeBSD.ORG Wed Oct 1 11:52:21 2008 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 87BDC1065686 for ; Wed, 1 Oct 2008 11:52:21 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.228]) by mx1.freebsd.org (Postfix) with ESMTP id E03F68FC14 for ; Wed, 1 Oct 2008 11:52:20 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: by wx-out-0506.google.com with SMTP id s17so112599wxc.7 for ; Wed, 01 Oct 2008 04:52:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=8G2EKj/fPF72KqWypC+5e3Yh97I3QwG47dcvZuitoro=; b=wd9WUj542AohMZ7ygGOjKOzSoJup4UPWUFiATtWf37ZqrON3VrlDZJRfhktl2BHdgY e53qRBrustj2Cd7FrPBi91Sx15Og4pPxVH0J65s9mcHU1VY0TIMVL6CYZP01ruftD6nk dU7gugoeYxb+GzF0lr3yIKdLulNyiWeqPG9g8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=YzZn23cnU18UbdY28dnSA4E6boCBppXU7R0MbwazAANXfi5zLC4wMR4uv7BJzMsVak aamthZhpcw4rYhSW6aVazdpbSX5L2rDU++nr3xcI6AF1/swLyOjcBumtJ4wmEiusCR24 ceP2bctasHxE/SwAzOxX5SnfCvZ3EiQay+yT4= Received: by 10.151.12.4 with SMTP id p4mr11858910ybi.183.1222860062967; Wed, 01 Oct 2008 04:21:02 -0700 (PDT) Received: by 10.151.141.7 with HTTP; Wed, 1 Oct 2008 04:21:02 -0700 (PDT) Message-ID: Date: Wed, 1 Oct 2008 13:21:02 +0200 From: "Sami Halabi" To: freebsd-jail@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Multiple IPS - Freebsd 7.1 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, 01 Oct 2008 11:52:21 -0000 hi everyone, I saw a lot of messages about this so here is it - i just patched it (took me a day but okay :) i just downloaded the latest src using this sup file - cvsup: http://www.royalshells.com/download/freebsd/stable-supfile # cvsup stable-supfile i applied the following patch (which i changed to get to work with the current src): http://www.royalshells.com/download/freebsd/bz_jail7-20080727-11-at146062-Fixed_By_Sody_1.10.08.diff to patch do: # cd /usr/src # patch -p6 < bz_jail7-20080727-11-at146062-Fixed_By_Sody_1.10.08.diff after done re-compile the kernel: # cp /usr/src/sys/netinet/in_pcb.h /usr/include/netinet/ # cp /usr/src/sys/sys/jail.h /usr/include/sys/ clean obj dir: ------------------- # rm -Rf /usr/obj/* compile jail and jls: ---------------------------- # cd /usr/src/usr.sbin/jail/ # make clean && make depend && make install # cd /usr/src/usr.sbin/jls/ # make clean && make depend && make install compile the kernel: ----------------------------- # cd /usr/src # make buildworld # make buildkernel KERNCONF=GENERIC # make installworld # make installkernel KERNCONF=GENERIC # mergemaster -U after reboot: # uname -a FreeBSD server.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Tue Sep 30 20:03:00 UTC 2008 root@34.loyalness.com:/usr/obj/usr/src/sys/GENERIC i386 # check the patch: # jail usage: jail [-hi] [-n jailname] [-J jid_file] [-s securelevel] [-l -u username | -U username] path hostname [ip[,..]] command ... # Enjoy. Sami From owner-freebsd-jail@FreeBSD.ORG Wed Oct 1 11:58:54 2008 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 2BECF1065698 for ; Wed, 1 Oct 2008 11:58:54 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from mail.tnode.com (common.tnode.com [91.185.203.243]) by mx1.freebsd.org (Postfix) with ESMTP id DBF2A8FC26 for ; Wed, 1 Oct 2008 11:58:53 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from localhost (mail.jail [10.1.1.10]) by mail.tnode.com (Postfix) with ESMTP id 0D01021FC05D; Wed, 1 Oct 2008 13:58:52 +0200 (CEST) Received: from mail.tnode.com ([10.1.1.10]) by localhost (mail.tnode.com [10.1.1.10]) (amavisd-maia, port 10024) with ESMTP id 27423-07; Wed, 1 Oct 2008 13:58:51 +0200 (CEST) Received: from [192.168.15.2] (lk.84.20.249.154.dc.cable.static.lj-kabel.net [84.20.249.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: nejc@skoberne.net) by mail.tnode.com (Postfix) with ESMTPSA id 3A6A421FBFCE; Wed, 1 Oct 2008 13:58:51 +0200 (CEST) Message-ID: <48E365FB.10104@skoberne.net> Date: Wed, 01 Oct 2008 13:58:51 +0200 From: =?ISO-8859-1?Q?Nejc_S=28koberne?= User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Sami Halabi References: In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard Cc: freebsd-jail@freebsd.org Subject: Re: Multiple IPS - Freebsd 7.1 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, 01 Oct 2008 11:58:54 -0000 Hello, > I saw a lot of messages about this so here is it - i just patched it (took > me a day but okay :) does this patch maybe also makes it possible for a jail to listen at a broadcast address? Thanks, Nejc From owner-freebsd-jail@FreeBSD.ORG Wed Oct 1 12:06:40 2008 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 3280D106568F for ; Wed, 1 Oct 2008 12:06:40 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id C95938FC1C for ; Wed, 1 Oct 2008 12:06:39 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: by gxk14 with SMTP id 14so32914gxk.19 for ; Wed, 01 Oct 2008 05:06:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=kY6ZmyLYoPm/h7XfTowcNBZiSfT2AFJVGCd2C9YThJY=; b=c7H7JxteySeJOdcfgyGCKCUMo9/3ysBwFaJNR3yIiooqpFRhNkOhW/VczVP3pVx57f D+NAQvl/rRyTlaM2oYO2pfzMk1GB2ZreZAQHHWYmo3VGRCt5z9nLQno7fLefHLojbMYo RcGG+UqAaunussr53cbmLUDz1FrI3Ql45mWdc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=OjSJZp+uTn17rrVNabU3C7qAcMxT1mXoL4XNhtTmGVQ7NtQxpycny4NDEYKobUmuPq d/+AR9stkF6hWULUe1PhwXJI++r0mXjwrXBTOAt5yYejZ/xfwejZ/L3Rho7NCQIbEU7H /FCWBzwiBuoPqPXTAd/sahtZ+tiXssAN0LU3Q= Received: by 10.150.122.13 with SMTP id u13mr11907247ybc.233.1222862798563; Wed, 01 Oct 2008 05:06:38 -0700 (PDT) Received: by 10.151.141.7 with HTTP; Wed, 1 Oct 2008 05:06:38 -0700 (PDT) Message-ID: Date: Wed, 1 Oct 2008 14:06:38 +0200 From: "Sami Halabi" To: "Steven Hartland" In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-jail@freebsd.org Subject: Re: Multiple IPS - Freebsd 7.1 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, 01 Oct 2008 12:06:40 -0000 hi, i didn't try it. i just saw a new path from bz and tried it, now compiling, here is it: http://people.freebsd.org/~bz/bz_jail7-20080920-01-at150161.diff Sami royalshells.com, loyalness.com, On Wed, Oct 1, 2008 at 1:56 PM, Steven Hartland wrote: > I would dearly like to see this make the 7.1 release, multi IP's in order > to support backend interfaces in jails, is something that we hit against > all the time. > > Regards > Steve > ----- Original Message ----- From: "Sami Halabi" > To: > Sent: Wednesday, October 01, 2008 12:21 PM > Subject: Multiple IPS - Freebsd 7.1 > > > hi everyone, >> >> I saw a lot of messages about this so here is it - i just patched it (took >> me a day but okay :) >> >> i just downloaded the latest src using this sup file - cvsup: >> http://www.royalshells.com/download/freebsd/stable-supfile >> >> # cvsup stable-supfile >> >> >> i applied the following patch (which i changed to get to work with the >> current src): >> >> http://www.royalshells.com/download/freebsd/bz_jail7-20080727-11-at146062-Fixed_By_Sody_1.10.08.diff >> >> to patch do: >> # cd /usr/src >> # patch -p6 < bz_jail7-20080727-11-at146062-Fixed_By_Sody_1.10.08.diff >> >> after done re-compile the kernel: >> # cp /usr/src/sys/netinet/in_pcb.h /usr/include/netinet/ >> # cp /usr/src/sys/sys/jail.h /usr/include/sys/ >> >> clean obj dir: >> ------------------- >> # rm -Rf /usr/obj/* >> >> compile jail and jls: >> ---------------------------- >> # cd /usr/src/usr.sbin/jail/ >> # make clean && make depend && make install >> # cd /usr/src/usr.sbin/jls/ >> # make clean && make depend && make install >> >> compile the kernel: >> ----------------------------- >> # cd /usr/src >> # make buildworld >> # make buildkernel KERNCONF=GENERIC >> # make installworld >> # make installkernel KERNCONF=GENERIC >> # mergemaster -U >> >> after reboot: >> # uname -a >> FreeBSD server.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Tue Sep 30 >> 20:03:00 UTC 2008 root@34.loyalness.com:/usr/obj/usr/src/sys/GENERIC >> i386 >> # >> >> check the patch: >> # jail >> usage: jail [-hi] [-n jailname] [-J jid_file] [-s securelevel] [-l -u >> username | -U username] path hostname [ip[,..]] command ... >> # >> >> Enjoy. >> >> Sami >> _______________________________________________ >> freebsd-jail@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-jail >> To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org" >> >> > ================================================ > This e.mail is private and confidential between Multiplay (UK) Ltd. and the > person or entity to whom it is addressed. In the event of misdirection, the > recipient is prohibited from using, copying, printing or otherwise > disseminating it or any information contained in it. > In the event of misdirection, illegible or incomplete transmission please > telephone +44 845 868 1337 > or return the E.mail to postmaster@multiplay.co.uk. > > From owner-freebsd-jail@FreeBSD.ORG Wed Oct 1 12:10:08 2008 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 484591065686 for ; Wed, 1 Oct 2008 12:10:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 016558FC22 for ; Wed, 1 Oct 2008 12:10:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 2668741C711; Wed, 1 Oct 2008 14:10:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id lEN+zdXT7Ulh; Wed, 1 Oct 2008 14:10:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id ADE4B41C733; Wed, 1 Oct 2008 14:10:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 4BAA444487F; Wed, 1 Oct 2008 12:09:45 +0000 (UTC) Date: Wed, 1 Oct 2008 12:09:45 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: =?ISO-8859-1?Q?Nejc_S=28koberne?= In-Reply-To: <48E365FB.10104@skoberne.net> Message-ID: <20081001120836.X7528@maildrop.int.zabbadoz.net> References: <48E365FB.10104@skoberne.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-jail@freebsd.org Subject: Re: jail/broadcast IP [was: Multiple IPS - Freebsd 7.1] 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, 01 Oct 2008 12:10:08 -0000 On Wed, 1 Oct 2008, Nejc S(koberne wrote: Hi, > does this patch maybe also makes it possible for a jail to listen at a broadcast address? So before you are going to post this to another thread -- what are you trying to achive? -- Bjoern A. Zeeb Stop bit received. Insert coin for new game. From owner-freebsd-jail@FreeBSD.ORG Wed Oct 1 12:10:08 2008 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 4B27F106568C for ; Wed, 1 Oct 2008 12:10:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 051568FC25 for ; Wed, 1 Oct 2008 12:10:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 3CE9741C72C; Wed, 1 Oct 2008 14:10:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id BHAiA8fgCbYI; Wed, 1 Oct 2008 14:10:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id A7DDF41C70C; Wed, 1 Oct 2008 14:10:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id B213C44487F; Wed, 1 Oct 2008 12:08:24 +0000 (UTC) Date: Wed, 1 Oct 2008 12:08:22 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Sami Halabi In-Reply-To: Message-ID: <20081001120010.Q7528@maildrop.int.zabbadoz.net> References: X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-jail@freebsd.org Subject: Re: Multiple IPS - Freebsd 7.1 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, 01 Oct 2008 12:10:08 -0000 On Wed, 1 Oct 2008, Sami Halabi wrote: Hi, > i applied the following patch (which i changed to get to work with the > current src): > http://www.royalshells.com/download/freebsd/bz_jail7-20080727-11-at146062-Fixed_By_Sody_1.10.08.diff I do not know what the "Fixed_By_Sody_1.10.08" part is but it's at least based on a backlevel patch of mine so I hope someone fixed the locking for 7.1-PRE. I had posted a patch for 7-STABLE (7.1-PRE) last month http://people.freebsd.org/~bz/bz_jail7-20080920-01-at150161.diff so taking that one you could have save yourself a lot of time I guess. In case you have changes it would be good to know what you did or what I do not have so the do not have forks as my version will hit HEAD soon and has changed (also the user space) since July. /bz -- Bjoern A. Zeeb Stop bit received. Insert coin for new game. From owner-freebsd-jail@FreeBSD.ORG Wed Oct 1 12:16:13 2008 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 9EED01065686 for ; Wed, 1 Oct 2008 12:16:13 +0000 (UTC) (envelope-from prvs=11607a9d0c=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 187728FC19 for ; Wed, 1 Oct 2008 12:16:12 +0000 (UTC) (envelope-from prvs=11607a9d0c=killing@multiplay.co.uk) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=multiplay.co.uk; s=Multiplay; t=1222862182; x=1223466982; q=dns/txt; h=Received: Message-ID:From:To:References:Subject:Date:MIME-Version: Content-Type:Content-Transfer-Encoding; bh=NiH7sF6kUz1zREJypI/IH 438/QZ4ys2s/idqv51F6A4=; b=X/Rx64ZaBFCbEcruYcdI+700tG6BhTpPRorWV E7298fU6tzoUSswQXB2ipji1aYYOqLfZA4D5gvZarLqcpVUvgpmMnJBq66lOCymX SybSIl1YDnvvcTS6uxK96ulPgy9JwqtCz4jUohkVkzp0SiWfQ9afPX6Zdrqh8oZZ /7pD6g= X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-14.7 required=6.0 tests=BAYES_00, FORGED_MUA_OUTLOOK, USER_IN_WHITELIST,USER_IN_WHITELIST_TO autolearn=ham version=3.1.8 Received: from r2d2 by mail1.multiplay.co.uk (MDaemon PRO v9.6.6) with ESMTP id md50006271792.msg for ; Wed, 01 Oct 2008 12:56:21 +0100 X-Authenticated-Sender: Killing@multiplay.co.uk X-MDRemoteIP: 85.236.106.102 X-Return-Path: prvs=11607a9d0c=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-jail@freebsd.org Message-ID: From: "Steven Hartland" To: "Sami Halabi" , References: Date: Wed, 1 Oct 2008 12:56:14 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Spam-Processed: mail1.multiplay.co.uk, Wed, 01 Oct 2008 12:56:21 +0100 X-MDAV-Processed: mail1.multiplay.co.uk, Wed, 01 Oct 2008 12:56:22 +0100 Cc: Subject: Re: Multiple IPS - Freebsd 7.1 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, 01 Oct 2008 12:16:13 -0000 I would dearly like to see this make the 7.1 release, multi IP's in order to support backend interfaces in jails, is something that we hit against all the time. Regards Steve ----- Original Message ----- From: "Sami Halabi" To: Sent: Wednesday, October 01, 2008 12:21 PM Subject: Multiple IPS - Freebsd 7.1 > hi everyone, > > I saw a lot of messages about this so here is it - i just patched it (took > me a day but okay :) > > i just downloaded the latest src using this sup file - cvsup: > http://www.royalshells.com/download/freebsd/stable-supfile > > # cvsup stable-supfile > > > i applied the following patch (which i changed to get to work with the > current src): > http://www.royalshells.com/download/freebsd/bz_jail7-20080727-11-at146062-Fixed_By_Sody_1.10.08.diff > > to patch do: > # cd /usr/src > # patch -p6 < bz_jail7-20080727-11-at146062-Fixed_By_Sody_1.10.08.diff > > after done re-compile the kernel: > # cp /usr/src/sys/netinet/in_pcb.h /usr/include/netinet/ > # cp /usr/src/sys/sys/jail.h /usr/include/sys/ > > clean obj dir: > ------------------- > # rm -Rf /usr/obj/* > > compile jail and jls: > ---------------------------- > # cd /usr/src/usr.sbin/jail/ > # make clean && make depend && make install > # cd /usr/src/usr.sbin/jls/ > # make clean && make depend && make install > > compile the kernel: > ----------------------------- > # cd /usr/src > # make buildworld > # make buildkernel KERNCONF=GENERIC > # make installworld > # make installkernel KERNCONF=GENERIC > # mergemaster -U > > after reboot: > # uname -a > FreeBSD server.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Tue Sep 30 > 20:03:00 UTC 2008 root@34.loyalness.com:/usr/obj/usr/src/sys/GENERIC > i386 > # > > check the patch: > # jail > usage: jail [-hi] [-n jailname] [-J jid_file] [-s securelevel] [-l -u > username | -U username] path hostname [ip[,..]] command ... > # > > Enjoy. > > Sami > _______________________________________________ > freebsd-jail@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org" > ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-jail@FreeBSD.ORG Wed Oct 1 12:22:54 2008 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 6C521106568C for ; Wed, 1 Oct 2008 12:22:54 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id 0D14C8FC1B for ; Wed, 1 Oct 2008 12:22:53 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: by gxk14 with SMTP id 14so43594gxk.19 for ; Wed, 01 Oct 2008 05:22:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=XjEasOFQXPDS4lVQ1++OtX2DZRUvzUa7P4hSmsWITVY=; b=e4ngP1mvbY1lutAVA8AvAxAcjvOAHHuQ5SoGHBY+WQzjPsh6KA59fx++GSEnPkTvVD pXYvRS5y4vb2gN/+K7ySsgufhhIqpitCBNlGZktCtEdMfOI1+Ymjg2/CFKYXJ2UZ7lwo K+9FBG++8mqQDCAiKTCbPIntKzWWOoU8fZxbI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=WF3qd8rxkVIDinyoFLWQlXmdSMlkSLEbc7GBfJcummvhcnkPy0OEzcMmgl2l1h9c7S NYaLzz03CbLL8YPsgqk0pva5bjczLdYg7/tAq4aYfN6IlHZF85QixX+z85+X2zmd9dRl EmUQV6CImn1/vsqOP37gg4GfUncZVpayM0QRE= Received: by 10.150.202.8 with SMTP id z8mr11965454ybf.166.1222863772223; Wed, 01 Oct 2008 05:22:52 -0700 (PDT) Received: by 10.151.141.7 with HTTP; Wed, 1 Oct 2008 05:22:52 -0700 (PDT) Message-ID: Date: Wed, 1 Oct 2008 14:22:52 +0200 From: "Sami Halabi" To: "Bjoern A. Zeeb" In-Reply-To: <20081001120010.Q7528@maildrop.int.zabbadoz.net> MIME-Version: 1.0 References: <20081001120010.Q7528@maildrop.int.zabbadoz.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-jail@freebsd.org Subject: Re: Multiple IPS - Freebsd 7.1 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, 01 Oct 2008 12:22:54 -0000 bz, your right. i've posted that link :) Sami On Wed, Oct 1, 2008 at 2:08 PM, Bjoern A. Zeeb < bzeeb-lists@lists.zabbadoz.net> wrote: > On Wed, 1 Oct 2008, Sami Halabi wrote: > > Hi, > > i applied the following patch (which i changed to get to work with the >> current src): >> >> http://www.royalshells.com/download/freebsd/bz_jail7-20080727-11-at146062-Fixed_By_Sody_1.10.08.diff >> > > I do not know what the "Fixed_By_Sody_1.10.08" part is but > it's at least based on a backlevel patch of mine so I hope > someone fixed the locking for 7.1-PRE. > > I had posted a patch for 7-STABLE (7.1-PRE) last month > http://people.freebsd.org/~bz/bz_jail7-20080920-01-at150161.diff > so taking that one you could have save yourself a lot of time I guess. > > In case you have changes it would be good to know what you did > or what I do not have so the do not have forks as my version will hit > HEAD soon and has changed (also the user space) since July. > > /bz > > -- > Bjoern A. Zeeb Stop bit received. Insert coin for new game. > From owner-freebsd-jail@FreeBSD.ORG Wed Oct 1 12:35:07 2008 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 171DA1065699 for ; Wed, 1 Oct 2008 12:35:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id C3B9A8FC08 for ; Wed, 1 Oct 2008 12:35:06 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 0BFB541C67E; Wed, 1 Oct 2008 14:35:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id SqBD1lBbs69N; Wed, 1 Oct 2008 14:35:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id B216241C679; Wed, 1 Oct 2008 14:35:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id D202A44487F; Wed, 1 Oct 2008 12:33:35 +0000 (UTC) Date: Wed, 1 Oct 2008 12:33:35 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Sami Halabi In-Reply-To: Message-ID: <20081001122959.M7528@maildrop.int.zabbadoz.net> References: <20081001120010.Q7528@maildrop.int.zabbadoz.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-jail@freebsd.org Subject: Re: Multiple IPS - Freebsd 7.1 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, 01 Oct 2008 12:35:07 -0000 On Wed, 1 Oct 2008, Sami Halabi wrote: Hi, > your right. > i've posted that link :) Yes, seen it, your mail came in, when mine was out. UUCP works so fine;) You want to read the comments from then though as at least jls user space and some kernel stuff had changed: http://lists.freebsd.org/pipermail/freebsd-jail/2008-September/000459.html http://lists.freebsd.org/pipermail/freebsd-jail/2008-September/000468.html In case you have any problems, etc. let me know. /bz -- Bjoern A. Zeeb Stop bit received. Insert coin for new game. From owner-freebsd-jail@FreeBSD.ORG Wed Oct 1 12:40:06 2008 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 7DD8A1065694 for ; Wed, 1 Oct 2008 12:40:06 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 371728FC08 for ; Wed, 1 Oct 2008 12:40:06 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 6ACED41C6DB; Wed, 1 Oct 2008 14:40:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id 3HHzjCGidxo7; Wed, 1 Oct 2008 14:40:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 1E9AA41C6BB; Wed, 1 Oct 2008 14:40:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 1C2EE44487F; Wed, 1 Oct 2008 12:39:14 +0000 (UTC) Date: Wed, 1 Oct 2008 12:39:13 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Steven Hartland In-Reply-To: Message-ID: <20081001123437.K7528@maildrop.int.zabbadoz.net> References: X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-jail@freebsd.org Subject: Re: Multiple IPS - Freebsd 7.1 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, 01 Oct 2008 12:40:06 -0000 On Wed, 1 Oct 2008, Steven Hartland wrote: Hi, > I would dearly like to see this make the 7.1 release, multi IP's in order > to support backend interfaces in jails, is something that we hit against > all the time. Whatever your wishes or backends are, the multi-IP jail patches will NOT be in 7.1-RELEASE. full stop. You will need the patch. full stop. So I am trying to get it into HEAD at the moment and in 2 months or so once 7.1-R is out and things have settled in HEAD we can waste thoughts on MFCing it to 7-STABLE so it could be in 7.2-R. I cannot garantuee it will happen as the patch is intrusive and cannot keep the KPI. The best thing you can do until then is to actually take the patch, test it, report problems, ... /bz -- Bjoern A. Zeeb Stop bit received. Insert coin for new game. From owner-freebsd-jail@FreeBSD.ORG Wed Oct 1 13:56:17 2008 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 C0A6D106569F for ; Wed, 1 Oct 2008 13:56:17 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 6F63D8FC2A for ; Wed, 1 Oct 2008 13:56:17 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p5DC5FBA6.dip.t-dialin.net [93.197.251.166]) by redbull.bpaserver.net (Postfix) with ESMTP id 6DEBA2E1BC; Wed, 1 Oct 2008 15:37:10 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 828BA13C896; Wed, 1 Oct 2008 15:37:07 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m91Db6SB044729; Wed, 1 Oct 2008 15:37:06 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 01 Oct 2008 15:37:06 +0200 Message-ID: <20081001153706.169043ug9vlsaim8@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 01 Oct 2008 15:37:06 +0200 From: "Alexander Leidinger" To: "Scott Lambert" References: <20080702202235.GA16820@sysmon.tcworks.net> In-Reply-To: <20080702202235.GA16820@sysmon.tcworks.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.2) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 6DEBA2E1BC.7F27B X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.546, required 6, BAYES_00 -15.00, MR_NOT_ATTRIBUTED_IP 0.20, RDNS_DYNAMIC 0.10, TW_ZF 0.08, TW_ZJ 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-jail@FreeBSD.org Subject: Re: Migration of Jail from one host to another? 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, 01 Oct 2008 13:56:17 -0000 Quoting "Scott Lambert" (from Wed, 2 Jul 2008 =20 15:22:35 -0500): > I'm probably doing this completely wrong. I setup a couple of jails > using simple image files because I thought that would make migration > to another server more straightforward. I am now trying to migrate my > first jail. A little bit late, but I moved 2 ezjails today (on 8-current). It was =20 setup inside a ZFS, not in an image. It worked without problems (I =20 transferred the ZFS data (zfs send | zfs receive), the fstab file, and =20 the ezjail config file). > /usr/local/etc/rc.d/ezjail.sh start > ezjailConfiguring jails:. > Starting jails: testnetmount: /home/ezjails/migrate.jail.device : =20 > Operation not permitted You have a problem here. You may want to look into ezjail what the =20 testnetmount is doing. I assume there's some problem with creating the =20 md device. > df: /home/ezjails/migrate.jail/dev: No such file or directory > mount: /home/ezjails/migrate.jail/dev: No such file or directory I think this and the rest are followup errors of the failed mount of =20 the disk image. Bye, Alexander. --=20 You may get an opportunity for advancement today. Watch it! http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-jail@FreeBSD.ORG Thu Oct 2 17:36:13 2008 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 0C38210657C3 for ; Thu, 2 Oct 2008 17:36:13 +0000 (UTC) (envelope-from bseklecki@collaborativefusion.com) Received: from collaborativefusion.com (mx01.pub.collaborativefusion.com [206.210.89.201]) by mx1.freebsd.org (Postfix) with ESMTP id 85C388FC0A for ; Thu, 2 Oct 2008 17:36:12 +0000 (UTC) (envelope-from bseklecki@collaborativefusion.com) Received: from Internal Mail-Server by mx01 (envelope-from bseklecki@collaborativefusion.com) with SMTP; 2 Oct 2008 13:08:09 -0400 From: "Brian A. Seklecki" To: "Bjoern A. Zeeb" In-Reply-To: <20081001123437.K7528@maildrop.int.zabbadoz.net> References: <20081001123437.K7528@maildrop.int.zabbadoz.net> Content-Type: text/plain Organization: Collaborative Fusion, Inc. Date: Thu, 02 Oct 2008 13:08:09 -0400 Message-Id: <1222967289.22435.94.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Content-Transfer-Encoding: 7bit Cc: freebsd-jail@freebsd.org Subject: Re: Multiple IPS - Freebsd 7.1 X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bseklecki@collaborativefusion.com List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 17:36:13 -0000 On Wed, 2008-10-01 at 12:39 +0000, Bjoern A. Zeeb wrote: > thoughts on MFCing it to 7-STABLE so it could be in 7.2-R. I cannot Someone might be encouraged by the idea of a nice 21 year scotch under the Christmas tree. Although I'm not holding my breath (Bjoern -- I have to talk to you about that FAST_IPSEC NAT-T patch for FreeBSD), I'm just glad that this wont involve / require a full pullup of Julian Elischer's Vimage and FIB+Multi-Routing-Table changes. Chances of those making way into 7.x are low like Skylab. -- Brian A. Seklecki Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. From owner-freebsd-jail@FreeBSD.ORG Fri Oct 3 08:25:07 2008 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 E9AD21065691 for ; Fri, 3 Oct 2008 08:25:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id A05D88FC26 for ; Fri, 3 Oct 2008 08:25:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id ED5E141C678; Fri, 3 Oct 2008 10:25:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id cI1NclToPhND; Fri, 3 Oct 2008 10:25:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 8FF2441C677; Fri, 3 Oct 2008 10:25:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id C051C44487F; Fri, 3 Oct 2008 08:21:53 +0000 (UTC) Date: Fri, 3 Oct 2008 08:21:53 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: =?ISO-8859-1?Q?Nejc_S=28koberne?= In-Reply-To: <48E36B2F.1070707@skoberne.net> Message-ID: <20081003081218.J7528@maildrop.int.zabbadoz.net> References: <48E365FB.10104@skoberne.net> <20081001120836.X7528@maildrop.int.zabbadoz.net> <48E36B2F.1070707@skoberne.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-jail@freebsd.org Subject: Re: samba inside jails [was: jail/broadcast IP [was: ...]] 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, 03 Oct 2008 08:25:08 -0000 On Wed, 1 Oct 2008, Nejc S(koberne wrote: Hi, Cc:ing freebsd-jail again. > I would like to make Samba, running in jail, to listen at a broadcast address. > Normally Samba would listen on *.138 and *.137 (UDP), but when in jail, it can > just listens at IP.138 and IP.137, which makes it unable to "see" the requests. So it listens on INADDR_ANY which is not the broadcast address. However the windows world is (was) high on broadcasts. If you have multiple IPs it does listen on *:{port} again but that's only partly the same as what you are probably thinking about. You can still run samba inside a (multi-IP) jail. Back in 2006, about this multi-IP patch, and samba from then I found the following: 1) samba does not respond from the same IP the packet was directed to but from your "Primary IP". This is interesting if you have multiple IPs from the same subnet on the same link and jail. 2) with the multi-IP jail patch I preserve the primary IP (the first IP given for each address family) as such. So you can actually tell a jail what the "primary"/fallback IP would be in case the introduced source address selection does not find any better. 3) In samba it used to be the interfaces = config option that you would set to the (primary) IP of your jail. With the above you should be able to address the samba server inside the jail and exchange files and all that. At least I was able to back then. Things may have changed. Depending on your setup browsing via good old braodcast stuff might not work but in any modern setup that should no longer be needed imho. Good luck. /bz -- Bjoern A. Zeeb Stop bit received. Insert coin for new game. From owner-freebsd-jail@FreeBSD.ORG Fri Oct 3 09:41:14 2008 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 46693106569D for ; Fri, 3 Oct 2008 09:41:14 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id D022F8FC20 for ; Fri, 3 Oct 2008 09:41:13 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so1184302uge.39 for ; Fri, 03 Oct 2008 02:41:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=fmMNGv3eL0lCYHM9k+yad7/49usgkTU16PuFZwX6cdc=; b=KgIwVS+bWcIByKwtM2Fzo7KYMvJvHu6zJK82k8d9YZGA30ot3M0N6cJH66R2DSoeI9 4MZIXeAJEcSLPdq4GtQexoQaHE9ssmy/Mv9HnWvUg1OPa2p7KDhtmVY9WyCXDk/deJ4K bvIl0B8tBiXbCKxFYLX2qtzCNCNvSl9hwtT8w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=Yu+VHUSPVdYndFz7poLea64WZ48L/lfkJubSa7cB/AzmX4cqudZcg3sv2ybmnIK/JQ Gwl68/n9Xu0zn6uhGccxk2q/HO3n5R6GYVH33jl6/jv5TEMv4kxPe3o8d23APevNYRbY x8LKl1TYnABzblU7pJP7gSSZrJppju8pcP488= Received: by 10.103.243.7 with SMTP id v7mr483743mur.24.1223025117454; Fri, 03 Oct 2008 02:11:57 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Fri, 3 Oct 2008 02:11:57 -0700 (PDT) Message-ID: Date: Fri, 3 Oct 2008 11:11:57 +0200 From: "Redd Vinylene" To: questions@freebsd.org, jail@freebsd.org, pf@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Jail, pf and ftpd: Connection refused 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, 03 Oct 2008 09:41:14 -0000 Greetings ladies and gentlemen! Why does the below pf.conf (run from box1) give me "getpeername(control_sock): Transport endpoint is not connected, Socket error (Connection refused) - reconnecting" when trying to log onto box3 via passive FTP? Active FTP gives me "425 Can't build data connection: Connection refused." (box2 and box3 are jails running off box1) - root@box1# cat /etc/pf.conf box1 = "80.203.2.2" box2 = "80.203.2.3" box3 = "{ 80.203.2.4 [...] 80.203.2.127 }" ext_if = "rl0" set block-policy return set skip on { lo0 } scrub in pass out keep state block in pass in on $ext_if inet proto tcp from any to any port { 22 } keep state pass in on $ext_if inet proto tcp from any to $box2 port { 25, 53, 80, 110 } keep state pass in on $ext_if inet proto udp from any to $box2 port 53 keep state pass in on $ext_if inet proto tcp from any to $box3 port { 20, 21, 113 } keep state pass in on $ext_if inet proto icmp from any to any keep state - root@box3# cat /etc/inetd.conf ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l - I hope I've been verbose enough. Thank you! -- http://www.home.no/reddvinylene From owner-freebsd-jail@FreeBSD.ORG Fri Oct 3 10:08:46 2008 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 429FF106569E for ; Fri, 3 Oct 2008 10:08:46 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.freebsd.org (Postfix) with ESMTP id CA5E98FC1D for ; Fri, 3 Oct 2008 10:08:45 +0000 (UTC) (envelope-from max@love2party.net) Received: from vampire.homelinux.org (dslb-088-066-021-211.pools.arcor-ip.net [88.66.21.211]) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis) id 0ML29c-1KlhOL0OXy-0001me; Fri, 03 Oct 2008 11:56:09 +0200 Received: (qmail 48763 invoked from network); 3 Oct 2008 09:56:08 -0000 Received: from fbsd8.laiers.local (192.168.4.151) by router.laiers.local with SMTP; 3 Oct 2008 09:56:08 -0000 From: Max Laier Organization: FreeBSD To: freebsd-pf@freebsd.org Date: Fri, 3 Oct 2008 11:56:07 +0200 User-Agent: KMail/1.10.1 (FreeBSD/8.0-CURRENT; KDE/4.1.1; i386; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810031156.07623.max@love2party.net> X-Provags-ID: V01U2FsdGVkX18+WyG02UG9kMoOJ7d0bj8vh15CUesR/KFHC2v q++6oKTIhATmIOwm2gtmTQ2YpiouTHwmwM66G/cmU1QTkgPM+A 7fKjzGgof2CTlrNpOmvNQ== Cc: jail@freebsd.org, questions@freebsd.org, pf@freebsd.org Subject: Re: Jail, pf and ftpd: Connection refused 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, 03 Oct 2008 10:08:46 -0000 On Friday 03 October 2008 11:11:57 Redd Vinylene wrote: > Greetings ladies and gentlemen! > > Why does the below pf.conf (run from box1) give me > "getpeername(control_sock): Transport endpoint is not connected, > Socket error (Connection refused) - reconnecting" when trying to log > onto box3 via passive FTP? Active FTP gives me "425 Can't build data > connection: Connection refused." (box2 and box3 are jails running off > box1) See ftp-proxy(8). Note that active works with the ruleset you provided (due to the "pass out keep state"-rule), but there is obviously a firewall problem on the client preventing that. > - > > root@box1# cat /etc/pf.conf > > box1 = "80.203.2.2" > > box2 = "80.203.2.3" > > box3 = "{ 80.203.2.4 [...] 80.203.2.127 }" > > ext_if = "rl0" > > set block-policy return > > set skip on { lo0 } > > scrub in > > pass out keep state > > block in > > pass in on $ext_if inet proto tcp from any to any port { 22 } keep state > > pass in on $ext_if inet proto tcp from any to $box2 port { 25, 53, 80, > 110 } keep state > > pass in on $ext_if inet proto udp from any to $box2 port 53 keep state > > pass in on $ext_if inet proto tcp from any to $box3 port { 20, 21, 113 > } keep state > > pass in on $ext_if inet proto icmp from any to any keep state > > - > > root@box3# cat /etc/inetd.conf > > ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l > > - > > I hope I've been verbose enough. Thank you! -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News From owner-freebsd-jail@FreeBSD.ORG Fri Oct 3 12:03:07 2008 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 E7A99106568B for ; Fri, 3 Oct 2008 12:03:07 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 98FE78FC21 for ; Fri, 3 Oct 2008 12:03:07 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p5DC5D74D.dip.t-dialin.net [93.197.215.77]) by redbull.bpaserver.net (Postfix) with ESMTP id 9C8172E219; Fri, 3 Oct 2008 14:02:58 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id ECEC713BD8F; Fri, 3 Oct 2008 14:02:55 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m93C2tMc043121; Fri, 3 Oct 2008 14:02:55 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Fri, 03 Oct 2008 14:02:55 +0200 Message-ID: <20081003140255.40813qif4rznqaec@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 03 Oct 2008 14:02:55 +0200 From: "Alexander Leidinger" To: "Bjoern A. Zeeb" References: <48E365FB.10104@skoberne.net> <20081001120836.X7528@maildrop.int.zabbadoz.net> <48E36B2F.1070707@skoberne.net> <20081003081218.J7528@maildrop.int.zabbadoz.net> In-Reply-To: <20081003081218.J7528@maildrop.int.zabbadoz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.2) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 9C8172E219.36BB8 X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.7, required 6, BAYES_00 -15.00, MR_NOT_ATTRIBUTED_IP 0.20, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-jail@freebsd.org Subject: Re: samba inside jails [was: jail/broadcast IP [was: ...]] 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, 03 Oct 2008 12:03:08 -0000 Quoting "Bjoern A. Zeeb" (from Fri, 3 =20 Oct 2008 08:21:53 +0000 (UTC)): > 3) In samba it used to be the > =09interfaces =3D > config option that you would set to the (primary) IP of your jail. > > With the above you should be able to address the samba server inside > the jail and exchange files and all that. At least I was able to back > then. Things may have changed. I have samba running in a jail (8-current from a month or two ago, no =20 multi-IP patch). No problems here. > Depending on your setup browsing via good old braodcast stuff might > not work but in any modern setup that should no longer be needed imho. I use it with network drives, so I'm not sure about broadcasts... Bye, Alexander. --=20 Truth never comes into the world but like a bastard, to the ignominy of him that brought her birth. =09=09-- Milton http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-jail@FreeBSD.ORG Sat Oct 4 10:24:11 2008 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 86ECC106568E for ; Sat, 4 Oct 2008 10:24:11 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.184]) by mx1.freebsd.org (Postfix) with ESMTP id 127008FC22 for ; Sat, 4 Oct 2008 10:24:10 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so1603988mue.3 for ; Sat, 04 Oct 2008 03:24:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Rpfn7u4i7E8A8+WFpRIySp8orkSa42k5jPc15q9Ju18=; b=MRN7wZFTYGV/DdMk5/hu6R3AkZRrQSyHliwLpSLPRX/X9RQLh4CmwUdf1dXEM6dAa4 q3Np83H1SArbKE4pc9Ndpk3jN0p/HrSSefbNjEnuuYpUe/zWg2UPyjEJ/8tm4qFDLxQY 6y3+dtnIFf8iREYKmAq8qLz99yyfaKWk3GI54= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=stR06iLGL+/9QW1uY1Yc5aCjrFEnqNc5nnlvUSc279JQ7TujbYNxLyRVvmsSausqrX nxDAV4+d9iZyzliCrrOIO0WpwhWj2H7SmwfddeoonvjoYGo95YBMciqGD0hX0dKKETST E/QUG9RgMOVTX64sXIKrKNbAvisqVDHqnbNfU= Received: by 10.103.46.9 with SMTP id y9mr1333976muj.107.1223115849726; Sat, 04 Oct 2008 03:24:09 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 03:24:09 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 12:24:09 +0200 From: "Redd Vinylene" To: "Max Laier" In-Reply-To: <200810031156.07623.max@love2party.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200810031156.07623.max@love2party.net> Cc: jail@freebsd.org, questions@freebsd.org, pf@freebsd.org Subject: Re: Jail, pf and ftpd: Connection refused 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, 04 Oct 2008 10:24:11 -0000 On Fri, Oct 3, 2008 at 11:56 AM, Max Laier wrote: > > See ftp-proxy(8). > > Note that active works with the ruleset you provided (due to the "pass out > keep state"-rule), but there is obviously a firewall problem on the client > preventing that. > Are you sure I need ftp-proxy? I opened the datarange 49152:65535 and now I no longer get a connection refused. I seem to be able to list, download, you know the usual stuff. I still get the "getpeername(control_sock): Transport endpoint is not connected" though. If I do need ftp-proxy, I take it it's the "FTP Server Protected by an External PF Firewall Running NAT" at http://www.openbsd.org/faq/pf/ftp.html that applies to my setup? I can't quite comprehend the nat/rdr rules in that example, as I ain't really got an int_if. As I stated earlier, I have a FreeBSD server running pf and two jails, and I'm trying to get ftpd running smoothly inside one of those jails. Thank you so much. -- http://www.home.no/reddvinylene From owner-freebsd-jail@FreeBSD.ORG Sat Oct 4 12:51:54 2008 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 8FF5C1065696 for ; Sat, 4 Oct 2008 12:51:54 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id 1DD998FC24 for ; Sat, 4 Oct 2008 12:51:53 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1303298fgb.35 for ; Sat, 04 Oct 2008 05:51:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=cFkcfljadRDu0UN73lkelR0atsl45eFUI+l0kLYvYVM=; b=hXSyEJX0QKHuMOJTcU4wg9umZJMjIe2Y+rc3EMeLce3Zp2bu5DoXkp2QmI4zoljKSj FJIq/oKoBbn622iM3hVj5gPY4+7NGc9OWXWKdpiuAWoFTMWQg7KYgPjte4k6/d2PxwAJ /sGDBMU5Ci9XiR58Jxa02LV5SOZRNPoTcH02U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ngHTukprDZqiuCFFyw36Y6NkEGHfoqhdvjU/JYXp1mXXUGAT3NH3Jb0nTIUyxhMJPy aZ2WGmYVoiRjOVOsAiY8fSLBBh+AmbIGF8fpSWt4yv6TDm5aWtdGbTWAvARrbw9eQ8t6 vHd7Andim9EhOZH077a+iabH1qV8nTR+Piyc0= Received: by 10.103.172.9 with SMTP id z9mr1407939muo.122.1223124712000; Sat, 04 Oct 2008 05:51:52 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 05:51:51 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 14:51:51 +0200 From: "Redd Vinylene" To: "Max Laier" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200810031156.07623.max@love2party.net> Cc: jail@freebsd.org, questions@freebsd.org, pf@freebsd.org Subject: Re: Jail, pf and ftpd: Connection refused 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, 04 Oct 2008 12:51:54 -0000 > On Fri, Oct 3, 2008 at 11:56 AM, Max Laier wrote: > > See ftp-proxy(8). > > Note that active works with the ruleset you provided (due to the "pass out > keep state"-rule), but there is obviously a firewall problem on the client > preventing that. > Nevermind, I think the "Transport endpoint is not connected" is most likely due to lftp. Nonetheless, much obliged for the assistance! -- http://www.home.no/reddvinylene From owner-freebsd-jail@FreeBSD.ORG Sat Oct 4 18:35:33 2008 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 0AA95106569F for ; Sat, 4 Oct 2008 18:35:33 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.186]) by mx1.freebsd.org (Postfix) with ESMTP id F26418FC0A for ; Sat, 4 Oct 2008 18:35:29 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so1734990mue.3 for ; Sat, 04 Oct 2008 11:35:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=sp2BMwvjqd0YhtqxUcZi39kUeK1K0gk3fXt/0aHI340=; b=G/5IPAj1NbO50+Bo3G3ho6zikMW7acPNLycza+3jlfKXHHLIoqzlIyXChU3hwaQKZn zEYujZIh03Fi5fhk3OyO8G9w4tGnvAAwWTHft6C9EvQaGGfO383O8G6KwzDur+qYa+FR 1YwId1xJknfmY5X1NvNmVHjv5vBw25LnDFf44= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=fSLhZOb4JP71OADZ+e9donYT0lxFiYYgbgmqdj4ECfmgP4lengaE/LBaRC5tyyAh3a TWFa6I4WFBmBaPAfU9WX/BC1utZ3TSKxpFtT9rLw++M8cntmgGvwIRJwC0ZolM2jskXU C5m3Fwfz7Mn3hcN9YICLPzN+84er8cP46AO2w= Received: by 10.103.233.4 with SMTP id k4mr1627961mur.48.1223145327648; Sat, 04 Oct 2008 11:35:27 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 11:35:27 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 20:35:27 +0200 From: "Redd Vinylene" To: jail@freebsd.org, questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Problems moving my jails (mv: Operation not permitted) 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, 04 Oct 2008 18:35:33 -0000 Hello hello! I need to move my jails from /usr/jail to /home/jail. The latter is where all my diskspace is. Not all files seem to want to move though? # mv /usr/jail /home mv: /usr/jail/camel/var/spool/postfix/private/scache is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/rewrite is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/bounce is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/defer is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/trace is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/verify is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/proxymap is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/proxywrite is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/smtp is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/relay is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/error is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/retry is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/discard is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/local is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/virtual is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/lmtp is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/anvil is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/tlsmgr is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/public/cleanup is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/public/flush is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/public/showq is a socket (not copied). mv: /usr/jail/box/usr/bin/chpass: Operation not permitted mv: /usr/jail/box/usr/bin/chfn: Operation not permitted mv: /usr/jail/box/usr/bin/chsh: Operation not permitted mv: /usr/jail/box/usr/bin/ypchpass: Operation not permitted mv: /usr/jail/box/usr/bin/ypchfn: Operation not permitted mv: /usr/jail/box/usr/bin/ypchsh: Operation not permitted mv: /usr/jail/box/usr/bin/login: Operation not permitted mv: /usr/jail/box/usr/bin/opieinfo: Operation not permitted mv: /usr/jail/box/usr/bin/opiepasswd: Operation not permitted mv: /usr/jail/box/usr/bin/passwd: Operation not permitted mv: /usr/jail/box/usr/bin/yppasswd: Operation not permitted mv: /usr/jail/box/usr/bin/rlogin: Operation not permitted mv: /usr/jail/box/usr/bin/rsh: Operation not permitted mv: /usr/jail/box/usr/bin/su: Operation not permitted mv: /usr/jail/box/usr/bin/crontab: Operation not permitted mv: /usr/jail/box/usr/bin: Directory not empty mv: /usr/jail/box/usr/lib/libkse.so.3: Operation not permitted mv: /usr/jail/box/usr/lib/librt.so.1: Operation not permitted mv: /usr/jail/box/usr/lib: Directory not empty mv: /usr/jail/box/usr/sbin/sliplogin: Operation not permitted mv: /usr/jail/box/usr/sbin: Directory not empty mv: /usr/jail/box/usr: Directory not empty mv: /usr/jail/box/var/empty: Operation not permitted mv: /usr/jail/box/var: Directory not empty mv: /usr/jail/box/bin/rcp: Operation not permitted mv: /usr/jail/box/bin: Directory not empty mv: /usr/jail/box/dev/fd: Operation not supported mv: /usr/jail/box/dev: Device busy mv: /usr/jail/box/lib/libc.so.7: Operation not permitted mv: /usr/jail/box/lib/libcrypt.so.4: Operation not permitted mv: /usr/jail/box/lib/libthr.so.3: Operation not permitted mv: /usr/jail/box/lib: Directory not empty mv: /usr/jail/box/libexec/ld-elf.so.1: Operation not permitted mv: /usr/jail/box/libexec: Directory not empty mv: /usr/jail/box/sbin/init: Operation not permitted mv: /usr/jail/box/sbin: Directory not empty mv: /usr/jail/box: Directory not empty mv: /usr/jail/camel/usr/bin/chpass: Operation not permitted mv: /usr/jail/camel/usr/bin/chfn: Operation not permitted mv: /usr/jail/camel/usr/bin/chsh: Operation not permitted mv: /usr/jail/camel/usr/bin/ypchpass: Operation not permitted mv: /usr/jail/camel/usr/bin/ypchfn: Operation not permitted mv: /usr/jail/camel/usr/bin/ypchsh: Operation not permitted mv: /usr/jail/camel/usr/bin/login: Operation not permitted mv: /usr/jail/camel/usr/bin/opieinfo: Operation not permitted mv: /usr/jail/camel/usr/bin/opiepasswd: Operation not permitted mv: /usr/jail/camel/usr/bin/passwd: Operation not permitted mv: /usr/jail/camel/usr/bin/yppasswd: Operation not permitted mv: /usr/jail/camel/usr/bin/rlogin: Operation not permitted mv: /usr/jail/camel/usr/bin/rsh: Operation not permitted mv: /usr/jail/camel/usr/bin/su: Operation not permitted mv: /usr/jail/camel/usr/bin/crontab: Operation not permitted mv: /usr/jail/camel/usr/bin: Directory not empty mv: /usr/jail/camel/usr/lib/libkse.so.3: Operation not permitted mv: /usr/jail/camel/usr/lib/librt.so.1: Operation not permitted mv: /usr/jail/camel/usr/lib: Directory not empty mv: /usr/jail/camel/usr/sbin/sliplogin: Operation not permitted mv: /usr/jail/camel/usr/sbin: Directory not empty mv: /usr/jail/camel/usr: Directory not empty mv: /usr/jail/camel/bin/rcp: Operation not permitted mv: /usr/jail/camel/bin: Directory not empty mv: /usr/jail/camel/dev/fd: Operation not supported mv: /usr/jail/camel/dev: Device busy mv: /usr/jail/camel/lib/libc.so.7: Operation not permitted mv: /usr/jail/camel/lib/libcrypt.so.4: Operation not permitted mv: /usr/jail/camel/lib/libthr.so.3: Operation not permitted mv: /usr/jail/camel/lib: Directory not empty mv: /usr/jail/camel/libexec/ld-elf.so.1: Operation not permitted mv: /usr/jail/camel/libexec: Directory not empty mv: /usr/jail/camel/sbin/init: Operation not permitted mv: /usr/jail/camel/sbin: Directory not empty mv: /usr/jail/camel/var/empty: Operation not permitted mv: /usr/jail/camel/var: Directory not empty mv: /usr/jail/camel: Directory not empty mv: /usr/jail: Directory not empty mv: /bin/rm /usr/jail: terminated with 1 (non-zero) status I guess I ain't gotta worry about the sockets but what about the rest? -- http://www.home.no/reddvinylene From owner-freebsd-jail@FreeBSD.ORG Sat Oct 4 18:40:56 2008 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 A54DD106568A for ; Sat, 4 Oct 2008 18:40:56 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.187]) by mx1.freebsd.org (Postfix) with ESMTP id 3368A8FC14 for ; Sat, 4 Oct 2008 18:40:55 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so1736313mue.3 for ; Sat, 04 Oct 2008 11:40:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=jewb5QCd94kAj3/SH1V4+6bfiXwzCG99NpAbATeBEhw=; b=nSddvuGcpo3U0Neq+FpXkaQEokzvLSfm2DidrEh/59QejIK4mJXmj2vKBE75oTbjiE jfXpXjbiXEs1cJ1o9tViCLAL/TQEeZMnxJVlncL+OdRdOLYujSbzs2oBGymwjhWRlhIL ohrNzmqnAYztX1RGBum0BfjxgSMxabTkqlJGA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=uaX4VjG6B/fD4Q9pS5mwOyN2lHZXYfMAOp093loNldQnvyF2AniNPn+TM5cFtp7tNK N+v0ODIQCq5u3GAj9GMrOZpb51OrEJ5+JWL71gWANe0HUGgzktmZ+S8zIbKcx7+vj4Th k0s9bSpZmCG6wsnHVU0dPEHAwDk4Yx0b1jWsU= Received: by 10.103.171.6 with SMTP id y6mr1610440muo.101.1223145654809; Sat, 04 Oct 2008 11:40:54 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 11:40:54 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 20:40:54 +0200 From: "Redd Vinylene" To: "Rodrigo Gonzalez" In-Reply-To: <48E7B80F.8040602@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48E7B80F.8040602@gmail.com> Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) 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, 04 Oct 2008 18:40:56 -0000 On Sat, Oct 4, 2008 at 8:38 PM, Rodrigo Gonzalez wrote: > > Are the jails stopped? > > Yes, they are. Sorry, I should have mentioned this. -- http://www.home.no/reddvinylene From owner-freebsd-jail@FreeBSD.ORG Sat Oct 4 18:53:42 2008 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 A24F5106568B for ; Sat, 4 Oct 2008 18:53:42 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.190]) by mx1.freebsd.org (Postfix) with ESMTP id 2253E8FC0A for ; Sat, 4 Oct 2008 18:53:41 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so1739762mue.3 for ; Sat, 04 Oct 2008 11:53:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=r67XTBG+1lCl/QPUrpxFFruyWhkvMYdG6MtjjJtvELw=; b=CC1u5l02XmZI3osb95WpUFjGf70jXQxWw+SlzuzQPMMNakzPXf+P7Zo1dQABoHkyKD SqtFf9KbthmxQo1S5L4n8c1PJsfzEO37m7NDPyuuUYM1YWqIHvhQBXeZ6G6GSNjumgdF 5c2gqU702kZzXLZgsaMEjbaHt9pBD7bgDckOs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ubwUQxRauJIalBBWCUJQ+jSgb0KQe+6+T1gP3ANsuWwfN6upXaFbfTmyJCCpM04Cm/ kyvwFEqcNxl45APcpdhTvvQvLJbmdTPNrHBTEGynHFhDjdP7QImZ70Fzz1S1bfjr6YFb w/ed4uNiTlIw0W0dD73qO0VOGNKx2dcfyZXhs= Received: by 10.103.24.11 with SMTP id b11mr1615461muj.98.1223146420644; Sat, 04 Oct 2008 11:53:40 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 11:53:40 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 20:53:40 +0200 From: "Redd Vinylene" To: "Rodrigo Gonzalez" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48E7B80F.8040602@gmail.com> Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) 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, 04 Oct 2008 18:53:42 -0000 On Sat, Oct 4, 2008 at 8:40 PM, Redd Vinylene wrote: > On Sat, Oct 4, 2008 at 8:38 PM, Rodrigo Gonzalez wrote: >> >> Are the jails stopped? >> >> > > Yes, they are. Sorry, I should have mentioned this. > > -- > http://www.home.no/reddvinylene > Should I just do like this? cp /usr/jail/box/usr/bin/chpass /home/jail/box/usr/bin/chpass cp /usr/jail/box/usr/bin/chfn /home/jail/box/usr/bin/chfn cp /usr/jail/box/usr/bin/chsh /home/jail/box/usr/bin/chsh cp /usr/jail/box/usr/bin/ypchpass /home/jail/box/usr/bin/ypchpass cp /usr/jail/box/usr/bin/ypchfn /home/jail/box/usr/bin/ypchfn cp /usr/jail/box/usr/bin/ypchsh /home/jail/box/usr/bin/ypchsh cp /usr/jail/box/usr/bin/login /home/jail/box/usr/bin/login cp /usr/jail/box/usr/bin/opieinfo /home/jail/box/usr/bin/opieinfo cp /usr/jail/box/usr/bin/opiepasswd /home/jail/box/usr/bin/opiepasswd cp /usr/jail/box/usr/bin/passwd /home/jail/box/usr/bin/passwd cp /usr/jail/box/usr/bin/yppasswd /home/jail/box/usr/bin/yppasswd cp /usr/jail/box/usr/bin/rlogin /home/jail/box/usr/bin/rlogin cp /usr/jail/box/usr/bin/rsh /home/jail/box/usr/bin/rsh cp /usr/jail/box/usr/bin/su /home/jail/box/usr/bin/su cp /usr/jail/box/usr/bin/crontab /home/jail/box/usr/bin/crontab cp /usr/jail/box/usr/lib/libkse.so.3 /home/jail/box/usr/lib/libkse.so.3 cp /usr/jail/box/usr/lib/librt.so.1 /home/jail/box/usr/lib/librt.so.1 cp /usr/jail/box/usr/sbin/sliplogin /home/jail/box/usr/sbin/sliplogin cp /usr/jail/box/var/empty /home/jail/box/var/empty cp /usr/jail/box/bin/rcp /home/jail/box/bin/rcp cp /usr/jail/box/dev/fd /home/jail/box/dev/fd cp /usr/jail/box/lib/libc.so.7 /home/jail/box/lib/libc.so.7 cp /usr/jail/box/lib/libcrypt.so.4 /home/jail/box/lib/libcrypt.so.4 cp /usr/jail/box/lib/libthr.so.3 /home/jail/box/lib/libthr.so.3 cp /usr/jail/box/libexec/ld-elf.so.1 /home/jail/box/libexec/ld-elf.so.1 cp /usr/jail/box/sbin/init /home/jail/box/sbin/init cp /usr/jail/camel/usr/bin/chpass /home/jail/camel/usr/bin/chpass cp /usr/jail/camel/usr/bin/chfn /home/jail/camel/usr/bin/chfn cp /usr/jail/camel/usr/bin/chsh /home/jail/camel/usr/bin/chsh cp /usr/jail/camel/usr/bin/ypchpass /home/jail/camel/usr/bin/ypchpass cp /usr/jail/camel/usr/bin/ypchfn /home/jail/camel/usr/bin/ypchfn cp /usr/jail/camel/usr/bin/ypchsh /home/jail/camel/usr/bin/ypchsh cp /usr/jail/camel/usr/bin/login /home/jail/camel/usr/bin/login cp /usr/jail/camel/usr/bin/opieinfo /home/jail/camel/usr/bin/opieinfo cp /usr/jail/camel/usr/bin/opiepasswd /home/jail/camel/usr/bin/opiepasswd cp /usr/jail/camel/usr/bin/passwd /home/jail/camel/usr/bin/passwd cp /usr/jail/camel/usr/bin/yppasswd /home/jail/camel/usr/bin/yppasswd cp /usr/jail/camel/usr/bin/rlogin /home/jail/camel/usr/bin/rlogin cp /usr/jail/camel/usr/bin/rsh /home/jail/camel/usr/bin/rsh cp /usr/jail/camel/usr/bin/su /home/jail/camel/usr/bin/su cp /usr/jail/camel/usr/bin/crontab /home/jail/camel/usr/bin/crontab cp /usr/jail/camel/usr/lib/libkse.so.3 /home/jail/camel/usr/lib/libkse.so.3 cp /usr/jail/camel/usr/lib/librt.so.1 /home/jail/camel/usr/lib/librt.so.1 cp /usr/jail/camel/usr/sbin/sliplogin /home/jail/camel/usr/sbin/sliplogin cp /usr/jail/camel/bin/rcp /home/jail/camel/bin/rcp cp /usr/jail/camel/dev/fd /home/jail/camel/dev/fd cp /usr/jail/camel/lib/libc.so.7 /home/jail/camel/lib/libc.so.7 cp /usr/jail/camel/lib/libcrypt.so.4 /home/jail/camel/lib/libcrypt.so.4 cp /usr/jail/camel/lib/libthr.so.3 /home/jail/camel/lib/libthr.so.3 cp /usr/jail/camel/libexec/ld-elf.so.1 /home/jail/camel/libexec/ld-elf.so.1 cp /usr/jail/camel/sbin/init /home/jail/camel/sbin/init cp /usr/jail/camel/var/empty /home/jail/camel/var/empty rm -rf /usr/jail -- http://www.home.no/reddvinylene From owner-freebsd-jail@FreeBSD.ORG Sat Oct 4 18:56:54 2008 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 E90EE1065689 for ; Sat, 4 Oct 2008 18:56:54 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id 72D918FC0C for ; Sat, 4 Oct 2008 18:56:54 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1381321fgb.35 for ; Sat, 04 Oct 2008 11:56:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=eIigcsYFD6Wofi17e4ijsCRjgbPH+R3qs5zStvVPj28=; b=bGc2lVvtY4zoPG3ZXw1ot7VUzVbL8dJ02Lx8Uy/ljVVIEB1bTNdLEcZwPPg+MXewEY KVNfri09S6RiOI71NpdpQ3xyj+ZNLd5o6Wqf+ek/cmeTQkHyTyZp72XoD7N0R5TcVVgA LvbyAfSEphtPqbyD1MEVxUGDGFsDgksV3tYYE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=I3g4WVqjwfWpqkK1JQMFJm/eQegowaAODb+6hgk6lf8Y8IbjM/sgUeW2GVsjQUbMpG BXeF1My7gBeF1wpvDTYRTJbr5azQn0lMBOKrV5yG6lERm/w0supqJwkkgB8izYamS4L0 mzYtLG0I4DPaOZcivcMuDT/VX+5EoKVjy/iE0= Received: by 10.103.233.12 with SMTP id k12mr1631755mur.54.1223146612829; Sat, 04 Oct 2008 11:56:52 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 11:56:52 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 20:56:52 +0200 From: "Redd Vinylene" To: "Rodrigo Gonzalez" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48E7B80F.8040602@gmail.com> Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) 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, 04 Oct 2008 18:56:55 -0000 On Sat, Oct 4, 2008 at 8:53 PM, Redd Vinylene wrote: > On Sat, Oct 4, 2008 at 8:40 PM, Redd Vinylene wrote: >> On Sat, Oct 4, 2008 at 8:38 PM, Rodrigo Gonzalez wrote: >>> >>> Are the jails stopped? >>> >>> >> >> Yes, they are. Sorry, I should have mentioned this. >> >> -- >> http://www.home.no/reddvinylene >> > > Should I just do like this? > > cp /usr/jail/box/usr/bin/chpass /home/jail/box/usr/bin/chpass > cp /usr/jail/box/usr/bin/chfn /home/jail/box/usr/bin/chfn > cp /usr/jail/box/usr/bin/chsh /home/jail/box/usr/bin/chsh > [...] > rm -rf /usr/jail > > -- > http://www.home.no/reddvinylene > My bad, that's not permitted either. -- http://www.home.no/reddvinylene From owner-freebsd-jail@FreeBSD.ORG Sat Oct 4 19:04:36 2008 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 151E910656A7 for ; Sat, 4 Oct 2008 19:04:36 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.186]) by mx1.freebsd.org (Postfix) with ESMTP id 92A4B8FC14 for ; Sat, 4 Oct 2008 19:04:35 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so1548470fkk.11 for ; Sat, 04 Oct 2008 12:04:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=PBMYBzeBHQvPKd3mwNqSzJl0mO1pZV25Rh3/emTWpoA=; b=oBsfQdPe4N/Dj7g7RUKyetYciFUlp1NuL0DRU7C8hwA+mGRIU5IibEveiNfD+XI/je /DcjSL4KF/OAkbyaWuU0UdZNGINrWHEBrJpk0UuU8mQCCIswBnblX9vmgv4mQEcTb2CN 9c2JdYO6FDOO29vFLXPS0nhGv7ih51Dl6P3Nc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=dvTj3AC8K7nLiQRPCevPtfYvx+MpIYk52Cwac86TwxQokg90ATJL66K4ws4wCnyt2P 7AjNiWUnF24NT3e3zQWZE09bYsrqYNU+yLDqLFGNaCJ+lgmnvQh1EcHDUguflyG/2qU8 K8iEJrf0iVGiNFxolVfQVtPXpEku2LDtp4bnA= Received: by 10.103.240.5 with SMTP id s5mr1635381mur.62.1223147073253; Sat, 04 Oct 2008 12:04:33 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 12:04:33 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 21:04:33 +0200 From: "Redd Vinylene" To: hartzell@alerce.com In-Reply-To: <18663.48601.45230.57747@almost.alerce.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48E7B80F.8040602@gmail.com> <18663.48601.45230.57747@almost.alerce.com> Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) 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, 04 Oct 2008 19:04:36 -0000 On Sat, Oct 4, 2008 at 9:02 PM, George Hartzell wrote: > > If you do an ls -lo /home/jail/box/usr/bin/chpass, you'll probably see > the schg flag set. Man chflags for more info and instructions on how > to unset it > > g. > Yes: -r-sr-xr-x 6 root wheel schg 18468 Aug 2 19:47 /usr/jail/box/usr/bin/chpass So I'd simply have to "chflags noschg /usr/jail/box/usr/bin/chpass" and then "cp /usr/jail/box/usr/bin/chpass /home/jail/box/usr/bin/chpass"? -- http://www.home.no/reddvinylene From owner-freebsd-jail@FreeBSD.ORG Sat Oct 4 19:05:20 2008 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 D2EE41065699; Sat, 4 Oct 2008 19:05:20 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id C9C568FC1F; Sat, 4 Oct 2008 19:05:19 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m94J4qEp001572; Sat, 4 Oct 2008 21:04:52 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m94J4q4N001569; Sat, 4 Oct 2008 21:04:52 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 4 Oct 2008 21:04:52 +0200 (CEST) From: Wojciech Puchar To: Redd Vinylene In-Reply-To: Message-ID: <20081004210436.N1546@wojtek.tensor.gdynia.pl> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) 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, 04 Oct 2008 19:05:20 -0000 > mv: /usr/jail/camel/sbin: Directory not empty > mv: /usr/jail/camel/var/empty: Operation not permitted > mv: /usr/jail/camel/var: Directory not empty > mv: /usr/jail/camel: Directory not empty > mv: /usr/jail: Directory not empty > mv: /bin/rm /usr/jail: terminated with 1 (non-zero) status > > I guess I ain't gotta worry about the sockets but what about the rest? > you need chflags -R noschg yourdir From owner-freebsd-jail@FreeBSD.ORG Sat Oct 4 19:07:37 2008 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 C6F5B1065691 for ; Sat, 4 Oct 2008 19:07:37 +0000 (UTC) (envelope-from rjgonzale@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 7C1E58FC14 for ; Sat, 4 Oct 2008 19:07:37 +0000 (UTC) (envelope-from rjgonzale@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so488648qwb.7 for ; Sat, 04 Oct 2008 12:07:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=OqUqPOYGjQ2mWJStCTKqccoYdOXnzcR0mgPP3pvp+So=; b=uXgu5sCzF6dqvD/4YnkSW4+4ZkgF0GFThWjRMhhUYVyETLv1A7TWiWEPOW7+iYCBDY 4HJY8gjZuunhfeIQqdatTCU6nnHFZ61no1uHBMsWrGoPSBFbuq8ZEC3LtiXB4H7p4aLx PCQJpT5X9JN9JJtuel1rrwfRHz1lDxQHUYAqE= 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:content-type:content-transfer-encoding; b=IrXCXqZowHp0FrFmy7l1LqBd0Es6r4T6YGpX7hSLPU9yw3zfCmS2PnS01ngQfNz9DI cmhMPd6bx6/9tLbUdUeADuaJ42OqJGsSox6Ono/rYz6LsBWLmGUw2ocuKiM56wNXIbdN LA63J6tBxDhRtVViZ3yK02+URvkkgFjSH4TXs= Received: by 10.215.15.18 with SMTP id s18mr3883320qai.50.1223145493598; Sat, 04 Oct 2008 11:38:13 -0700 (PDT) Received: from ?201.231.77.160? (160-77-231-201.fibertel.com.ar [201.231.77.160]) by mx.google.com with ESMTPS id 30sm5090587yxk.4.2008.10.04.11.38.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 04 Oct 2008 11:38:12 -0700 (PDT) Message-ID: <48E7B80F.8040602@gmail.com> Date: Sat, 04 Oct 2008 15:38:07 -0300 From: Rodrigo Gonzalez User-Agent: Thunderbird 2.0.0.16 (X11/20080902) MIME-Version: 1.0 To: Redd Vinylene References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) 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, 04 Oct 2008 19:07:38 -0000 Redd Vinylene wrote: > Hello hello! I need to move my jails from /usr/jail to /home/jail. The > latter is where all my diskspace is. Not all files seem to want to > move though? > > # mv /usr/jail /home > mv: /usr/jail/camel/var/spool/postfix/private/scache is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/rewrite is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/bounce is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/defer is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/trace is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/verify is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/proxymap is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/proxywrite is a socket > (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/smtp is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/relay is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/error is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/retry is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/discard is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/local is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/virtual is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/lmtp is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/anvil is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/tlsmgr is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/public/cleanup is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/public/flush is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/public/showq is a socket (not copied). > mv: /usr/jail/box/usr/bin/chpass: Operation not permitted > mv: /usr/jail/box/usr/bin/chfn: Operation not permitted > mv: /usr/jail/box/usr/bin/chsh: Operation not permitted > mv: /usr/jail/box/usr/bin/ypchpass: Operation not permitted > mv: /usr/jail/box/usr/bin/ypchfn: Operation not permitted > mv: /usr/jail/box/usr/bin/ypchsh: Operation not permitted > mv: /usr/jail/box/usr/bin/login: Operation not permitted > mv: /usr/jail/box/usr/bin/opieinfo: Operation not permitted > mv: /usr/jail/box/usr/bin/opiepasswd: Operation not permitted > mv: /usr/jail/box/usr/bin/passwd: Operation not permitted > mv: /usr/jail/box/usr/bin/yppasswd: Operation not permitted > mv: /usr/jail/box/usr/bin/rlogin: Operation not permitted > mv: /usr/jail/box/usr/bin/rsh: Operation not permitted > mv: /usr/jail/box/usr/bin/su: Operation not permitted > mv: /usr/jail/box/usr/bin/crontab: Operation not permitted > mv: /usr/jail/box/usr/bin: Directory not empty > mv: /usr/jail/box/usr/lib/libkse.so.3: Operation not permitted > mv: /usr/jail/box/usr/lib/librt.so.1: Operation not permitted > mv: /usr/jail/box/usr/lib: Directory not empty > mv: /usr/jail/box/usr/sbin/sliplogin: Operation not permitted > mv: /usr/jail/box/usr/sbin: Directory not empty > mv: /usr/jail/box/usr: Directory not empty > mv: /usr/jail/box/var/empty: Operation not permitted > mv: /usr/jail/box/var: Directory not empty > mv: /usr/jail/box/bin/rcp: Operation not permitted > mv: /usr/jail/box/bin: Directory not empty > mv: /usr/jail/box/dev/fd: Operation not supported > mv: /usr/jail/box/dev: Device busy > mv: /usr/jail/box/lib/libc.so.7: Operation not permitted > mv: /usr/jail/box/lib/libcrypt.so.4: Operation not permitted > mv: /usr/jail/box/lib/libthr.so.3: Operation not permitted > mv: /usr/jail/box/lib: Directory not empty > mv: /usr/jail/box/libexec/ld-elf.so.1: Operation not permitted > mv: /usr/jail/box/libexec: Directory not empty > mv: /usr/jail/box/sbin/init: Operation not permitted > mv: /usr/jail/box/sbin: Directory not empty > mv: /usr/jail/box: Directory not empty > mv: /usr/jail/camel/usr/bin/chpass: Operation not permitted > mv: /usr/jail/camel/usr/bin/chfn: Operation not permitted > mv: /usr/jail/camel/usr/bin/chsh: Operation not permitted > mv: /usr/jail/camel/usr/bin/ypchpass: Operation not permitted > mv: /usr/jail/camel/usr/bin/ypchfn: Operation not permitted > mv: /usr/jail/camel/usr/bin/ypchsh: Operation not permitted > mv: /usr/jail/camel/usr/bin/login: Operation not permitted > mv: /usr/jail/camel/usr/bin/opieinfo: Operation not permitted > mv: /usr/jail/camel/usr/bin/opiepasswd: Operation not permitted > mv: /usr/jail/camel/usr/bin/passwd: Operation not permitted > mv: /usr/jail/camel/usr/bin/yppasswd: Operation not permitted > mv: /usr/jail/camel/usr/bin/rlogin: Operation not permitted > mv: /usr/jail/camel/usr/bin/rsh: Operation not permitted > mv: /usr/jail/camel/usr/bin/su: Operation not permitted > mv: /usr/jail/camel/usr/bin/crontab: Operation not permitted > mv: /usr/jail/camel/usr/bin: Directory not empty > mv: /usr/jail/camel/usr/lib/libkse.so.3: Operation not permitted > mv: /usr/jail/camel/usr/lib/librt.so.1: Operation not permitted > mv: /usr/jail/camel/usr/lib: Directory not empty > mv: /usr/jail/camel/usr/sbin/sliplogin: Operation not permitted > mv: /usr/jail/camel/usr/sbin: Directory not empty > mv: /usr/jail/camel/usr: Directory not empty > mv: /usr/jail/camel/bin/rcp: Operation not permitted > mv: /usr/jail/camel/bin: Directory not empty > mv: /usr/jail/camel/dev/fd: Operation not supported > mv: /usr/jail/camel/dev: Device busy > mv: /usr/jail/camel/lib/libc.so.7: Operation not permitted > mv: /usr/jail/camel/lib/libcrypt.so.4: Operation not permitted > mv: /usr/jail/camel/lib/libthr.so.3: Operation not permitted > mv: /usr/jail/camel/lib: Directory not empty > mv: /usr/jail/camel/libexec/ld-elf.so.1: Operation not permitted > mv: /usr/jail/camel/libexec: Directory not empty > mv: /usr/jail/camel/sbin/init: Operation not permitted > mv: /usr/jail/camel/sbin: Directory not empty > mv: /usr/jail/camel/var/empty: Operation not permitted > mv: /usr/jail/camel/var: Directory not empty > mv: /usr/jail/camel: Directory not empty > mv: /usr/jail: Directory not empty > mv: /bin/rm /usr/jail: terminated with 1 (non-zero) status > > I guess I ain't gotta worry about the sockets but what about the rest? > > Are the jails stopped? From owner-freebsd-jail@FreeBSD.ORG Sat Oct 4 19:10:28 2008 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 4121D106568F for ; Sat, 4 Oct 2008 19:10:28 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id C22B48FC0A for ; Sat, 4 Oct 2008 19:10:27 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1384046fgb.35 for ; Sat, 04 Oct 2008 12:10:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=U8Fir3oWN6aw1pNwwCNC9QlK/v4xK+c5FTYnixuQEQE=; b=idR7LtBwAPzmVaMpHy4Ihw+n8jfZMKYHA16ak4P40+oykAcQFDZLByW07/5aqoge+v d61KUfeMWta7Gq8yYzZN8ftajC0uyDeroYhx7PFcbVVvH/YVUghruzXP1/eDz2nnF1fb V5VVbEu3OBpyKpf86esLiCz9VUfHPsfknwQYI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=lgJXfFcLns/ky0jliYOHc3TAeAo31Mgmk0XhUoXQ3LWxOyKd2dexL/wVvRcsTfAuTC lDQ7KB6BBwteBvxgJFLSRv8AtjxXLxelm8xFG5orvgpjDPwCB8UgHzZsCFkQmETNdgip ObYEdGPekr0LOsmswDfskngJH/u40Bpt7qhg0= Received: by 10.103.172.7 with SMTP id z7mr1647898muo.31.1223147426440; Sat, 04 Oct 2008 12:10:26 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 12:10:26 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 21:10:26 +0200 From: "Redd Vinylene" To: "Wojciech Puchar" In-Reply-To: <20081004210436.N1546@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081004210436.N1546@wojtek.tensor.gdynia.pl> Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) 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, 04 Oct 2008 19:10:28 -0000 On Sat, Oct 4, 2008 at 9:04 PM, Wojciech Puchar wrote: >> mv: /usr/jail/camel/sbin: Directory not empty >> mv: /usr/jail/camel/var/empty: Operation not permitted >> mv: /usr/jail/camel/var: Directory not empty >> mv: /usr/jail/camel: Directory not empty >> mv: /usr/jail: Directory not empty >> mv: /bin/rm /usr/jail: terminated with 1 (non-zero) status >> >> I guess I ain't gotta worry about the sockets but what about the rest? >> > you need > > chflags -R noschg yourdir > So just "chflags -R /usr/jail" and then copy things the normal way? Sure that won't mess up my jails? -- http://www.home.no/reddvinylene From owner-freebsd-jail@FreeBSD.ORG Sat Oct 4 19:16:33 2008 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 19CC21065688 for ; Sat, 4 Oct 2008 19:16:33 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 9D4C78FC16 for ; Sat, 4 Oct 2008 19:16:32 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1385285fgb.35 for ; Sat, 04 Oct 2008 12:16:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=vhZM/Ivp4cS7v8Yx6ksb9jBwLWam8wynkmMXxaTo4x8=; b=nGw9LPINpFFxSwbHvhcL4GqKrmRNnGSGvXy79cc/9k4ZiklWmGlMzhuPdv2NCnGfDD V8mRR5h2n/5q3TaMjNg1tpjLUNB8UyApQTza0XgHN0KnrK6yKxYy/YDAnUiTJtEhVyP0 76kveJySOubunnHCfKoxSXcK17Dfoe9bIY100= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=vKqPAe7cb2c8ScVOiDytpZaTHSAVDMxQYkbyG6hknROBlyg7/7CmAR8ZQ8cWTm6rMl hEKUXpLGIIOnxASiU4K2ciN3iqgFOuCg7CMZYvwloaB74S94zzlAnqN+OUc27iAD6Yw0 zIzHYA0+fgRel8+vCaZmEb+kn4XJo9Wwychtg= Received: by 10.103.173.5 with SMTP id a5mr1620710mup.117.1223147790809; Sat, 04 Oct 2008 12:16:30 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 12:16:30 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 21:16:30 +0200 From: "Redd Vinylene" To: "Wojciech Puchar" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081004210436.N1546@wojtek.tensor.gdynia.pl> Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) 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, 04 Oct 2008 19:16:33 -0000 On Sat, Oct 4, 2008 at 9:10 PM, Redd Vinylene wrote: > On Sat, Oct 4, 2008 at 9:04 PM, Wojciech Puchar > wrote: >>> mv: /usr/jail/camel/sbin: Directory not empty >>> mv: /usr/jail/camel/var/empty: Operation not permitted >>> mv: /usr/jail/camel/var: Directory not empty >>> mv: /usr/jail/camel: Directory not empty >>> mv: /usr/jail: Directory not empty >>> mv: /bin/rm /usr/jail: terminated with 1 (non-zero) status >>> >>> I guess I ain't gotta worry about the sockets but what about the rest? >>> >> you need >> >> chflags -R noschg yourdir >> > > So just "chflags -R /usr/jail" and then copy things the normal way? > Sure that won't mess up my jails? Sorry, what I meant to write was "chflags -R noschg /usr/jail". I apologize for the inconvenience. -- http://www.home.no/reddvinylene From owner-freebsd-jail@FreeBSD.ORG Sat Oct 4 19:27:15 2008 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 C79241065686; Sat, 4 Oct 2008 19:27:15 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (merlin.alerce.com [64.62.142.94]) by mx1.freebsd.org (Postfix) with ESMTP id AE9048FC18; Sat, 4 Oct 2008 19:27:15 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id BE9F033C6C; Sat, 4 Oct 2008 12:03:10 -0700 (PDT) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id 5CB2733C64; Sat, 4 Oct 2008 12:03:10 -0700 (PDT) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18663.48601.45230.57747@almost.alerce.com> Date: Sat, 4 Oct 2008 12:02:49 -0700 To: "Redd Vinylene" In-Reply-To: References: <48E7B80F.8040602@gmail.com> X-Mailer: VM 7.19 under Emacs 22.1.50.1 X-Virus-Scanned: ClamAV using ClamSMTP Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 19:27:15 -0000 Redd Vinylene writes: > On Sat, Oct 4, 2008 at 8:53 PM, Redd Vinylene wrote: > > On Sat, Oct 4, 2008 at 8:40 PM, Redd Vinylene wrote: > >> On Sat, Oct 4, 2008 at 8:38 PM, Rodrigo Gonzalez wrote: > >>> > >>> Are the jails stopped? > >>> > >>> > >> > >> Yes, they are. Sorry, I should have mentioned this. > >> > >> -- > >> http://www.home.no/reddvinylene > >> > > > > Should I just do like this? > > > > cp /usr/jail/box/usr/bin/chpass /home/jail/box/usr/bin/chpass > > cp /usr/jail/box/usr/bin/chfn /home/jail/box/usr/bin/chfn > > cp /usr/jail/box/usr/bin/chsh /home/jail/box/usr/bin/chsh > > [...] > > rm -rf /usr/jail > > > > -- > > http://www.home.no/reddvinylene > > > > My bad, that's not permitted either. If you do an ls -lo /home/jail/box/usr/bin/chpass, you'll probably see the schg flag set. Man chflags for more info and instructions on how to unset it g. From owner-freebsd-jail@FreeBSD.ORG Sat Oct 4 19:31:17 2008 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 E3036106568D for ; Sat, 4 Oct 2008 19:31:17 +0000 (UTC) (envelope-from peter.stosz@mentat.hu) Received: from mx8.datanet.hu (mx8.datanet.hu [194.149.13.161]) by mx1.freebsd.org (Postfix) with ESMTP id 9F2DF8FC08 for ; Sat, 4 Oct 2008 19:31:17 +0000 (UTC) (envelope-from peter.stosz@mentat.hu) Received: from septimus.mentat.hu (mail.mentat.hu [195.56.52.190]) by mx8.datanet.hu (DataNet) with ESMTP id 12D03EBEA6; Sat, 4 Oct 2008 20:58:22 +0200 (CEST) In-Reply-To: References: <48E7B80F.8040602@gmail.com> To: "Redd Vinylene" MIME-Version: 1.0 X-Mailer: Lotus Notes Release 8.0.1 February 07, 2008 Message-ID: From: peter.stosz@mentat.hu Date: Sat, 4 Oct 2008 20:58:23 +0200 X-MIMETrack: Serialize by Router on Septimus/Mentat(Release 7.0.2|September 26, 2006) at 10/04/2008 08:58:21 PM, Serialize complete at 10/04/2008 08:58:21 PM Content-Type: text/plain; charset="US-ASCII" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-jail@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) 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, 04 Oct 2008 19:31:18 -0000 man chflags From owner-freebsd-jail@FreeBSD.ORG Sat Oct 4 20:27:11 2008 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 AE6A31065686 for ; Sat, 4 Oct 2008 20:27:11 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.191]) by mx1.freebsd.org (Postfix) with ESMTP id 3844D8FC14 for ; Sat, 4 Oct 2008 20:27:11 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so1573095fkk.11 for ; Sat, 04 Oct 2008 13:27:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=zdjczz2OiKufU53GzrbWh7uyVKC1EJziLfijWyxYOJQ=; b=vDDzKlOpVUFNGH4GxvSLg0Q9UWWipREGunwOKTsN4xYDmzIqfgooQ2MRFutmEcYWBt /CYNAkICzy70sz5PzOBURFJ0avGY6NV7FRBaIVw7zRLF0UbxOvqiIiHeML6rgfGrt3iX pkN3GdHTUXxF+RDnEaRxPp8CluGY4QvVgFRCQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=D1t6I0rmgl/hpAjZ64RXKrmYzKCWcrzZBlM6RTBpvizFq8z25Z6Zr/GZMMRZMWkOaY EK3C2D6QFy4HQn7DJcNfRD816D/vRRrbB0jqBr206z9Wme/PsRwZ+U3ybXeKqinzTG5t FUrMe8fYowTgBany0w/Y/oryxEUVwSE2fAuEE= Received: by 10.103.227.10 with SMTP id e10mr1681747mur.38.1223152029213; Sat, 04 Oct 2008 13:27:09 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 13:27:09 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 22:27:09 +0200 From: "Redd Vinylene" To: hartzell@alerce.com, peter.stosz@mentat.hu, wojtek@wojtek.tensor.gdynia.pl In-Reply-To: <18663.49808.808955.271579@almost.alerce.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48E7B80F.8040602@gmail.com> <18663.48601.45230.57747@almost.alerce.com> <18663.49808.808955.271579@almost.alerce.com> Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) 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, 04 Oct 2008 20:27:11 -0000 On Sat, Oct 4, 2008 at 9:22 PM, George Hartzell wrote: > Redd Vinylene writes: > > On Sat, Oct 4, 2008 at 9:02 PM, George Hartzell wrote: > > > > > > If you do an ls -lo /home/jail/box/usr/bin/chpass, you'll probably see > > > the schg flag set. Man chflags for more info and instructions on how > > > to unset it > > > > > > g. > > > > > > > Yes: > > > > -r-sr-xr-x 6 root wheel schg 18468 Aug 2 19:47 /usr/jail/box/usr/bin/chpass > > > > So I'd simply have to "chflags noschg /usr/jail/box/usr/bin/chpass" > > and then "cp /usr/jail/box/usr/bin/chpass > > /home/jail/box/usr/bin/chpass"? > > I think that you ought to be able to cp it as is. You're just not > allowed to change the original (e.g. remove it), which is why your mv > and rm failed. > > g. > I've been told that changing flags might seriously mess things up. Is there any way to copy the remaining files from /usr/jail into /home/jail, or do I have to rebuild everything from scratch? Much obliged. -- http://www.home.no/reddvinylene From owner-freebsd-jail@FreeBSD.ORG Sat Oct 4 20:39:09 2008 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 F321E1065687 for ; Sat, 4 Oct 2008 20:39:09 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189]) by mx1.freebsd.org (Postfix) with ESMTP id 788B38FC1A for ; Sat, 4 Oct 2008 20:39:09 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so1766603mue.3 for ; Sat, 04 Oct 2008 13:39:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=8ABQWsxheZvlt0pBXUzvstFkqXZCY7Sao980iaVwn1Q=; b=wF4qWkQfTrtuTS/zvoMxMJIB7FeEmfoYBoXyftpICWWzAqaBLzaxj8Hg6g/jy/ImK+ ajk3J2eMHmQn/6hYraEXlXaQeEFAqZeh9THHZ7YyVZk5n1IuV3bi3u3LHwgYpLhhchNd KkTq6pimK65orpUGYV0gQosbLkhQpSQ9MFgTU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=A//IMzTBruS1kG34dZbDkbEzeyy7jLOaO8BqqMHOTjbbCG2D1APbksHNBh2XMBS60T 8POkyMEQ6Lk/m0juN6xJ2HeJAAadR7Ox7UxeXtJBhnREvP6xumGacpOlxxvaN23cCDen 8v3jrwBPAzQgNmI+yecmDcG8NFBQvX85SjzJk= Received: by 10.102.253.6 with SMTP id a6mr1669314mui.92.1223152748345; Sat, 04 Oct 2008 13:39:08 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 13:39:08 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 22:39:08 +0200 From: "Redd Vinylene" To: peter.stosz@mentat.hu In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48E7B80F.8040602@gmail.com> <18663.48601.45230.57747@almost.alerce.com> <18663.49808.808955.271579@almost.alerce.com> Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) 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, 04 Oct 2008 20:39:10 -0000 On Sat, Oct 4, 2008 at 10:36 PM, wrote: > > 1st of all, (re)design your system. > 2nd, create separate partition for your jail(s) > 3rd, if (I were you, and) the jail is not too complex, recreate from > scratch. (You get a clean jail :)) ) > Actually I can't do that. I use Bjoern A. Zeeb's multi-IP patch which currently doesn't compile, so. Besides my ISP charges way too much for a reinstall and I can't afford that. -- http://www.home.no/reddvinylene From owner-freebsd-jail@FreeBSD.ORG Sat Oct 4 21:06:59 2008 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 26076106568A for ; Sat, 4 Oct 2008 21:06:59 +0000 (UTC) (envelope-from peter.stosz@mentat.hu) Received: from mx6.datanet.hu (mx6.datanet.hu [194.149.13.165]) by mx1.freebsd.org (Postfix) with ESMTP id A28988FC13 for ; Sat, 4 Oct 2008 21:06:58 +0000 (UTC) (envelope-from peter.stosz@mentat.hu) Received: from septimus.mentat.hu (mail.mentat.hu [195.56.52.190]) by mx6.datanet.hu (DataNet) with ESMTP id 647F3130D9C; Sat, 4 Oct 2008 22:36:05 +0200 (CEST) In-Reply-To: References: <48E7B80F.8040602@gmail.com> <18663.48601.45230.57747@almost.alerce.com> <18663.49808.808955.271579@almost.alerce.com> To: "Redd Vinylene" MIME-Version: 1.0 X-Mailer: Lotus Notes Release 8.0.1 February 07, 2008 Message-ID: From: peter.stosz@mentat.hu Date: Sat, 4 Oct 2008 22:36:05 +0200 X-MIMETrack: Serialize by Router on Septimus/Mentat(Release 7.0.2|September 26, 2006) at 10/04/2008 10:36:04 PM, Serialize complete at 10/04/2008 10:36:04 PM Content-Type: text/plain; charset="US-ASCII" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: jail@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) 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, 04 Oct 2008 21:06:59 -0000 1st of all, (re)design your system. 2nd, create separate partition for your jail(s) 3rd, if (I were you, and) the jail is not too complex, recreate from scratch. (You get a clean jail :)) ) "Redd Vinylene" wrote on 2008.10.04 22:27:09: > > > > I think that you ought to be able to cp it as is. You're just not > > allowed to change the original (e.g. remove it), which is why your mv > > and rm failed. > > > > g. > > > > I've been told that changing flags might seriously mess things up. Is > there any way to copy the remaining files from /usr/jail into > /home/jail, or do I have to rebuild everything from scratch? > > Much obliged. > > -- > http://www.home.no/reddvinylene From owner-freebsd-jail@FreeBSD.ORG Sat Oct 4 21:34:12 2008 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 737A110656A0 for ; Sat, 4 Oct 2008 21:34:12 +0000 (UTC) (envelope-from oliver@nemesis.charlie.mouhaha.de) Received: from nemesis.charlie.mouhaha.de (nemesis.charlie.mouhaha.de [78.47.10.193]) by mx1.freebsd.org (Postfix) with ESMTP id 2EC998FC08 for ; Sat, 4 Oct 2008 21:34:11 +0000 (UTC) (envelope-from oliver@nemesis.charlie.mouhaha.de) Received: from localhost (nemesis.charlie.mouhaha.de [78.47.10.193]) by nemesis.charlie.mouhaha.de (Postfix) with ESMTP id CB1C75A37A; Sat, 4 Oct 2008 22:14:48 +0100 (BST) X-Virus-Scanned: amavisd-new at mouhaha.de Received: from nemesis.charlie.mouhaha.de ([78.47.10.193]) by localhost (nemesis.charlie.mouhaha.de [78.47.10.193]) (amavisd-new, port 10024) with ESMTP id dBi4TDPbVcL0; Sat, 4 Oct 2008 22:14:45 +0100 (BST) Received: by nemesis.charlie.mouhaha.de (Postfix, from userid 1001) id C7DE75A36E; Sat, 4 Oct 2008 22:14:45 +0100 (BST) Date: Sat, 4 Oct 2008 22:14:45 +0100 From: Oliver Peter To: Redd Vinylene Message-ID: <20081004211445.GE84710@nemesis.frida.mouhaha.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 7.0-RELEASE-p3 amd64 User-Agent: Mutt/1.5.18 (2008-05-17) Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) 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, 04 Oct 2008 21:34:12 -0000 On Sat, Oct 04, 2008 at 08:35:27PM +0200, Redd Vinylene wrote: > Hello hello! I need to move my jails from /usr/jail to /home/jail. The > latter is where all my diskspace is. Not all files seem to want to > move though? Maybe the whole case is worth it to give ezjail a try. The newest release has some nice features to move/backup jails. http://www.freshports.org/sysutils/ezjail/ -- Oliver PETER, email: oliver@peter.de.com, ICQ# 113969174 "If it feels good, you're doing something wrong." -- Coach McTavish