From owner-freebsd-jail@FreeBSD.ORG Sun Oct 5 05:31:49 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 78F1B106568C; Sun, 5 Oct 2008 05:31:49 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id AD1448FC15; Sun, 5 Oct 2008 05:31:48 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id m955L37t049104; Sun, 5 Oct 2008 16:21:03 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 5 Oct 2008 16:21:03 +1100 (EST) From: Ian Smith To: Redd Vinylene In-Reply-To: Message-ID: <20081005154926.V49572@sola.nimnet.asn.au> References: <48E7B80F.8040602@gmail.com> <18663.48601.45230.57747@almost.alerce.com> <18663.49808.808955.271579@almost.alerce.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: wojtek@wojtek.tensor.gdynia.pl, questions@freebsd.org, hartzell@alerce.com, 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: Sun, 05 Oct 2008 05:31:49 -0000 On Sat, 4 Oct 2008, Redd Vinylene wrote: > 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? Having read the thread to date, I reckon you should: a) find(1) all schg files in your jails (was chpass the only one?) b) clear the schg flag on any such found as above (-R if you like) c) use mv as you originally intended (if they're still there :) d) chflags schg on all files that were originally set that way. If you do use cp instead of mv, make sure to use cp -p to preserve each file's owner/group/permissions/datestamp. e) make sure any and all symlinks still point to the right file/s. Personally I'd use cp -pR rather than mv in case I stuffed it up :) but then being perhaps overcautious I'd have started off with a 'ls -lR /usr/jail > listfile' (if I hadn't made a backup tar) to at least have a full list of what was where, with what user/perms etc .. Also read cp(1) re -R flag carefully .. if there are any hard linked files, as there may well be, then using tar to move these would be the safest bet anyway - plus you'd have a backup .. next time anyway :) Since it just failed to mv some files, you shouldn't need to rebuild if you can mv those files and reset their flags/permissions correctly. cheers, Ian From owner-freebsd-jail@FreeBSD.ORG Sun Oct 5 10:19:22 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 56F0B1065697; Sun, 5 Oct 2008 10:19:22 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id D10C08FC14; Sun, 5 Oct 2008 10:19:21 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id AA2EC19E023; Sun, 5 Oct 2008 12:03:02 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id A22DB19E019; Sun, 5 Oct 2008 12:02:59 +0200 (CEST) Message-ID: <48E890F5.70800@quip.cz> Date: Sun, 05 Oct 2008 12:03:33 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Ian Smith References: <48E7B80F.8040602@gmail.com> <18663.48601.45230.57747@almost.alerce.com> <18663.49808.808955.271579@almost.alerce.com> <20081005154926.V49572@sola.nimnet.asn.au> In-Reply-To: <20081005154926.V49572@sola.nimnet.asn.au> Content-Type: text/plain; charset=us-ascii; 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: Sun, 05 Oct 2008 10:19:22 -0000 Ian Smith wrote: > On Sat, 4 Oct 2008, Redd Vinylene wrote: > > 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? > > Having read the thread to date, I reckon you should: > > a) find(1) all schg files in your jails (was chpass the only one?) > b) clear the schg flag on any such found as above (-R if you like) > c) use mv as you originally intended (if they're still there :) > d) chflags schg on all files that were originally set that way. > > If you do use cp instead of mv, make sure to use cp -p to preserve > each file's owner/group/permissions/datestamp. > > e) make sure any and all symlinks still point to the right file/s. > > Personally I'd use cp -pR rather than mv in case I stuffed it up :) but > then being perhaps overcautious I'd have started off with a 'ls -lR > /usr/jail > listfile' (if I hadn't made a backup tar) to at least have a > full list of what was where, with what user/perms etc .. > > Also read cp(1) re -R flag carefully .. if there are any hard linked > files, as there may well be, then using tar to move these would be > the safest bet anyway - plus you'd have a backup .. next time anyway :) > > Since it just failed to mv some files, you shouldn't need to rebuild if > you can mv those files and reset their flags/permissions correctly. Yes, there are hardlinks, so "the best" way to move all files with preserving flags, permissions, links etc is something like this: [copy jails by tar (or use cpio if you prefer)] tar -cf - -C /usr/jail . | tar -xpf - -C /home/jail [remove flags from old jail files] chflags -R noschg /usr/jail [remove old jail files] rm -r /usr/jail But it applies only in case before you use chflags -R noschg on original files (as you post earlier - now you do not have flags anymore) Another way is to use getfacl/setfacl or mtree to get backup of original files permissions and restore them later. Miroslav Lachman From owner-freebsd-jail@FreeBSD.ORG Sun Oct 5 11:23:16 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 0A26F10656B0 for ; Sun, 5 Oct 2008 11:23:16 +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 7AC708FC17 for ; Sun, 5 Oct 2008 11:23:15 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so1986834mue.3 for ; Sun, 05 Oct 2008 04:23:13 -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=afPUfl5UYTn7hA+SQrg3SO010JAddKgmytbkhZ0RKc4=; b=DP+q1/muNhKhLN0CWJo+fSmrtK6Gmgsexu3Ttq3V2fmoiusSxvnamZwIMQOjMNqD/w jgMXdnnpo79RQkMTDNUSQr4EMuXjvAUeUBRwx0PHoJZM0gj5Dt9MTc9iGpY+vx/DVrPj 9ynnW3x85fEkPSyackBIzxFH1dobgCoefaLcg= 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=xE/PlRKgMSfJzqD/PxlSPKLBoTrr7YxkMORsu3h9/pG2MJAhxENg2/3w030TVb4iYJ GjMMrk/+Qas0hkNIzPoz/BhfbvNCMGyHb9nYWIqY1krxPfy3kINj/wwR2xwVjrcTvnZN VLFY9VDJkIyOdeVXO7GJDZsknLkiJUNGzzbd8= Received: by 10.103.114.14 with SMTP id r14mr1976260mum.120.1223205793689; Sun, 05 Oct 2008 04:23:13 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sun, 5 Oct 2008 04:23:13 -0700 (PDT) Message-ID: Date: Sun, 5 Oct 2008 13:23:13 +0200 From: "Redd Vinylene" To: "Miroslav Lachman" <000.fbsd@quip.cz> In-Reply-To: <48E890F5.70800@quip.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <18663.48601.45230.57747@almost.alerce.com> <18663.49808.808955.271579@almost.alerce.com> <20081005154926.V49572@sola.nimnet.asn.au> <48E890F5.70800@quip.cz> Cc: jail@freebsd.org, questions@freebsd.org, Ian Smith 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: Sun, 05 Oct 2008 11:23:16 -0000 Yes, this worked perfectly. Thank y'all so much. May this post be of help to others in the future as well. -- http://www.home.no/reddvinylene From owner-freebsd-jail@FreeBSD.ORG Mon Oct 6 11:06:57 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 6DAFF1065686 for ; Mon, 6 Oct 2008 11:06:57 +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 5C5318FC1D for ; Mon, 6 Oct 2008 11:06:57 +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 m96B6vl4035522 for ; Mon, 6 Oct 2008 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m96B6uxx035518 for freebsd-jail@FreeBSD.org; Mon, 6 Oct 2008 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 6 Oct 2008 11:06:56 GMT Message-Id: <200810061106.m96B6uxx035518@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-jail@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-jail@FreeBSD.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 11:06:57 -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 Oct 6 20:08: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 70F051065678 for ; Mon, 6 Oct 2008 20:08:54 +0000 (UTC) (envelope-from jose.amengual@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by mx1.freebsd.org (Postfix) with ESMTP id DFBC28FC23 for ; Mon, 6 Oct 2008 20:08:53 +0000 (UTC) (envelope-from jose.amengual@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so2791946wfg.7 for ; Mon, 06 Oct 2008 13:08: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:to:content-type :content-transfer-encoding:mime-version:subject:date:x-mailer:from; bh=divCJCmg3y8mBajgXa57K5sfRD/c794H6vFJ56LS7sk=; b=D+haidyESmXYxRVFYAEIN2WxFjp303Szbu1RiT64jY1eMZVYkzdrLJaxRHWT1h+EIG fX2Pt7jgGhwn2HuAUz/adm99srTOKs/GDXz4g+txrvAeUMrZIwcB5ffso6tRHkD0kSOL KGJiy/XbTz2Nlbwx35zSNlSwuo5nulcUND3QA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:to:content-type:content-transfer-encoding:mime-version :subject:date:x-mailer:from; b=ENSl/BbMD4hlGjNE52049BNGbNTzIXgo1g2z4qGz1nrJ1vwa93qF/t8Yt/hp40hDCM 1EqAa1FYYzR14SShSNtBkXDm1kC4rpDpjmN12yo6tYqfjaUdg2FRnx03F7YyAZHm4g/E qr3cKMpUM0QkRdDt1q3jzuULfhPIWBNfJGx/0= Received: by 10.140.226.14 with SMTP id y14mr3321393rvg.123.1223322489547; Mon, 06 Oct 2008 12:48:09 -0700 (PDT) Received: from ?192.168.188.244? (S01060002b6410102.vs.shawcable.net [70.71.235.254]) by mx.google.com with ESMTPS id c20sm16786151rvf.3.2008.10.06.12.48.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 06 Oct 2008 12:48:08 -0700 (PDT) Message-Id: <03D72289-28DD-4DA8-A4A2-3C15AF16E995@rdc.cl> To: freebsd-jail@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Mon, 6 Oct 2008 12:48:06 -0700 X-Mailer: Apple Mail (2.929.2) From: Jose Amengual M Subject: Performance and advice questions. X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 20:08:54 -0000 Hi all. I have been working with jail for a couple of years now with awesome results. At first time I try creating Jails with the instructions of the handbook and then I move to ezjail that give me great useland tools for admin my jails and so on. But like any other technology there is performances tuning and new features to research and test and because of that I came across different approaches to achieve better performance of "easy" administration, so here are my questions : 1.- There is any benefit to run jails in images or virtual disk ? ( http://www.the-labs.com/FreeBSD/JailTools/README.virtual_disks ) ( the reason that I ask this is because of comparing with vmware workstation that looks to run faster in a virtual disk that a hardisk ). 2.- There is any disadvantage to use lo0 for virtual interface aliases for my jails ? 3.- with vimage or similar tool can I create a virtual interface ( like test0 or something like it ) and ad it to a jail ? ( I'm asking this because I will like to have a virtual interface for my jails and over it make the alias for my jails, but no using a real interface, so I can have a kind of DMZ and maybe achieve better performance if is possible( like vswitch in vmware ) ). 4.- There is any disadvantage to store and run jails on a NFS server ( I mean the jail directory in a NFS) ? Thanks. Jose Amengual. From owner-freebsd-jail@FreeBSD.ORG Mon Oct 6 20:35:23 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 A32FD106568B for ; Mon, 6 Oct 2008 20:35:23 +0000 (UTC) (envelope-from scheidell@secnap.net) Received: from fl.us.spammertrap.net (fl.us.spammertrap.net [204.89.241.173]) by mx1.freebsd.org (Postfix) with ESMTP id 6E0588FC1B for ; Mon, 6 Oct 2008 20:35:23 +0000 (UTC) (envelope-from scheidell@secnap.net) Received: from localhost (localhost [127.0.0.1]) by fl.us.spammertrap.net (Postfix) with ESMTP id 1C1E4E605C for ; Mon, 6 Oct 2008 16:12:43 -0400 (EDT) X-Quarantine-ID: X-Virus-Scanned: SpammerTrap(r) SME-150 1.84 at secnap.com X-Amavis-Modified: Mail body modified (using disclaimer) by fl.us.spammertrap.net Received: from secnap3.secnap.com (secnap3.secnap.com [204.89.241.130]) by fl.us.spammertrap.net (Postfix) with ESMTP id B9359E601F for ; Mon, 6 Oct 2008 16:12:42 -0400 (EDT) Received: from mikes-laptop.secnap.com ([10.70.3.3]) by secnap3.secnap.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 6 Oct 2008 16:12:42 -0400 Message-ID: <48EA714B.50805@secnap.net> Date: Mon, 06 Oct 2008 16:12:59 -0400 From: Michael Scheidell User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Jose Amengual M References: <03D72289-28DD-4DA8-A4A2-3C15AF16E995@rdc.cl> In-Reply-To: <03D72289-28DD-4DA8-A4A2-3C15AF16E995@rdc.cl> X-OriginalArrivalTime: 06 Oct 2008 20:12:42.0912 (UTC) FILETIME=[E3CA4200:01C927EF] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-jail@freebsd.org Subject: Re: Performance and advice questions. X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 20:35:23 -0000 I would thing NFS performance depends on your applications. many don't like the NFS locking, so, look into generic NFS performance for each application. (I don't think I would run postfix on an NFS partition, I would not run most sql servers ../db files on NFS partition. I would not want ANY 'tmp' files on NFS.) -- Michael Scheidell, CTO Phone: 561-999-5000, x 1259 > *| *SECNAP Network Security Corporation * Certified SNORT Integrator * Everything Channel Hot Product of 2008 * Shaping Information Security Award 2008 * CRN Magazine Top 40 Emerging Security Vendors _________________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.spammertrap.com _________________________________________________________________________ From owner-freebsd-jail@FreeBSD.ORG Mon Oct 6 22:06:23 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 A3693106569B for ; Mon, 6 Oct 2008 22:06:23 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id 5F5718FC27 for ; Mon, 6 Oct 2008 22:06:22 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 2161B19E023; Tue, 7 Oct 2008 00:06:21 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id CBCB019E019; Tue, 7 Oct 2008 00:06:16 +0200 (CEST) Message-ID: <48EA8BF8.3020907@quip.cz> Date: Tue, 07 Oct 2008 00:06:48 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Jose Amengual M References: <03D72289-28DD-4DA8-A4A2-3C15AF16E995@rdc.cl> In-Reply-To: <03D72289-28DD-4DA8-A4A2-3C15AF16E995@rdc.cl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-jail@freebsd.org Subject: Re: Performance and advice questions. X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 22:06:23 -0000 Jose Amengual M wrote: > > Hi all. > > I have been working with jail for a couple of years now with awesome > results. > > At first time I try creating Jails with the instructions of the > handbook and then I move to ezjail that give me great useland tools for > admin my jails and so on. > > But like any other technology there is performances tuning and new > features to research and test and because of that I came across > different approaches to achieve better performance of "easy" > administration, so here are my questions : > > 1.- There is any benefit to run jails in images or virtual disk ? ( > http://www.the-labs.com/FreeBSD/JailTools/README.virtual_disks ) > ( the reason that I ask this is because of comparing with vmware > workstation that looks to run faster in a virtual disk that a hardisk ). > > 2.- There is any disadvantage to use lo0 for virtual interface aliases > for my jails ? > > 3.- with vimage or similar tool can I create a virtual interface ( like > test0 or something like it ) and ad it to a jail ? > ( I'm asking this because I will like to have a virtual interface for > my jails and over it make the alias for my jails, but no using a real > interface, so I can have a kind of DMZ and maybe achieve better > performance if is possible( like vswitch in vmware ) ). I am using jails on "virtual interface" - I have created lo1 with IPs from some private space (like 192.168.x.x) It can be created by hand by ifconfig create lo1, or from rc.conf at boot time: cloned_interfaces="lo1" ifconfig_lo1="inet 192.168.16.2 netmask 255.255.255.0" ifconfig_lo1_alias0="inet 192.168.16.3 netmask 255.255.255.255" ifconfig_lo1_alias1="inet 192.168.16.4 netmask 255.255.255.255" ... ifconfig_lo1_aliasX="inet 192.168.16.Y netmask 255.255.255.255" Then you can use those IPs for jails as usual. Or you can create more interfaces with single IP each, but I do not know the reason. > 4.- There is any disadvantage to store and run jails on a NFS server ( > I mean the jail directory in a NFS) ? I think that NFS is usable for low load jails or for storing read only portion of jail, but it will be the bottleneck for any high performance needs (databases, mailservers etc.) Miroslav Lachman From owner-freebsd-jail@FreeBSD.ORG Tue Oct 7 14:14:32 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 9E7311065690 for ; Tue, 7 Oct 2008 14:14:32 +0000 (UTC) (envelope-from jendries@planetpyramid.com) Received: from mail.planetpyramid.com (mail.planetpyramid.com [64.132.211.214]) by mx1.freebsd.org (Postfix) with ESMTP id 5BEEE8FC14 for ; Tue, 7 Oct 2008 14:14:32 +0000 (UTC) (envelope-from jendries@planetpyramid.com) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Tue, 7 Oct 2008 10:02:29 -0400 Message-ID: In-Reply-To: <03D72289-28DD-4DA8-A4A2-3C15AF16E995@rdc.cl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Performance and advice questions. Thread-Index: Ackn72FjnmoURl80TEq28h0vTPU3owAlcIXQ References: <03D72289-28DD-4DA8-A4A2-3C15AF16E995@rdc.cl> From: "Josh Endries" To: Subject: RE: Performance and advice questions. 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: Tue, 07 Oct 2008 14:14:32 -0000 Hello, > 1.- There is any benefit to run jails in images or virtual disk ? ( > http://www.the-labs.com/FreeBSD/JailTools/README.virtual_disks Sure there are benefits. You can easily move an image around, encrypt it, copy it for a backup, etc.. There are trade-offs, though. I don't have any tests but it seems to me that this would be more prone to corruption/loss since it's all based on one huge file. A system crash and you could be in for more trouble than usual. Also, and I did test this (it's easy), performance is significantly slower when using an image file than a real filesystem. I would suggest that you mount separate filesystems/disks for your jails instead of using an image file, if possible (hooray for ZFS). If you have a ton of RAM, I suppose you could make a memory-backed filesystem though, and take snapshots. :) It may be worth looking into using a read-only memory-backed fs as your root image (e.g. in ezjail, unionfs) and mount /usr/local or whatever from a real filesystem for r/w access. Josh From owner-freebsd-jail@FreeBSD.ORG Wed Oct 8 00:36:44 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 094DC106569A for ; Wed, 8 Oct 2008 00:36:44 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.237]) by mx1.freebsd.org (Postfix) with ESMTP id D08DB8FC0C for ; Wed, 8 Oct 2008 00:36:43 +0000 (UTC) (envelope-from alexus@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so3631282rvf.43 for ; Tue, 07 Oct 2008 17:36:43 -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=yCMmtPwBzBvP/5e0dHi0+tHiQKH9fqGz+GICF5b3rao=; b=R3v6rH5mdDnXUMHQHl2oj9XIt5T2WbgRqgNnYc6HhbHf07t37GTeV5hYvAQ73mwHgO +sV+L956Asu4zLw5JlZ2BxRy6JaP/SCI6yMqqjxPcccLWTycoMv+NCGyCRibTD25KMY8 ktR+MqIFAVmNDuJaxolYlhD0xvCqB/1x8EJto= 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=LTSZe3Hwtp/wOiu5JZqOTjQxGWtennIBojrZr9cJ6mfk3DxYHftNmR/MvrYde8wCC9 fjPCcoYnQJXqRSFOuc5kDixf/wo3Tn0WRoZ/vBUibyaek/hVj4qUsTghRLAHACCN44YQ 6hRzIVkQFDiX0J8Pb3GNXFkkavob2ieZae9bY= Received: by 10.143.28.7 with SMTP id f7mr3092078wfj.40.1223426202566; Tue, 07 Oct 2008 17:36:42 -0700 (PDT) Received: by 10.142.246.17 with HTTP; Tue, 7 Oct 2008 17:36:42 -0700 (PDT) Message-ID: <6ae50c2d0810071736x3cb8eb92j54cc96c8e883c0f@mail.gmail.com> Date: Tue, 7 Oct 2008 20:36:42 -0400 From: alexus To: "=?UTF-8?Q?Nejc_=C5=A0koberne?=" In-Reply-To: <48DC25A5.3010109@skoberne.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline References: <48DC25A5.3010109@skoberne.net> Cc: "Bjoern A. Zeeb" , freebsd-jail@freebsd.org Subject: Re: multi-/no-ipv4/6 patch for releng_7 X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 00:36:44 -0000 QmpvZXJuIEEuIFplZWIKCkkgd291bGQgbGlrZSB0byBzYXkgdGhhbmsgeW91IHNvIG11Y2ggZm9y IHlvdXIgZWZmb3J0cyEKCgoKCk9uIFRodSwgU2VwIDI1LCAyMDA4IGF0IDc6NTggUE0sIE5lamMg xaBrb2Jlcm5lIDxuZWpjQHNrb2Jlcm5lLm5ldD4gd3JvdGU6Cj4gSGVsbG8sCj4KPiBkb2VzIHRo aXMgcGF0Y2ggbWF5YmUgYWxzbyBhbGxvdyBzZXJ2aWNlcyBpbiBqYWlsIHRvIGxpc3RlbiBhdCBi cm9hZGNhc3QKPiBhZGRyZXNzZXM/IElmIG5vdCwgZG8geW91IG1heWJlIGtub3cgaXMgdGhlcmUg YW55IHdheSB0byBhY2hpZXZlIHRoaXM/Cj4KPiBUaGFua3MsCj4gTmVqYwo+IF9fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCj4gZnJlZWJzZC1qYWlsQGZyZWVi c2Qub3JnIG1haWxpbmcgbGlzdAo+IGh0dHA6Ly9saXN0cy5mcmVlYnNkLm9yZy9tYWlsbWFuL2xp c3RpbmZvL2ZyZWVic2QtamFpbAo+IFRvIHVuc3Vic2NyaWJlLCBzZW5kIGFueSBtYWlsIHRvICJm cmVlYnNkLWphaWwtdW5zdWJzY3JpYmVAZnJlZWJzZC5vcmciCj4KCgoKLS0gCmh0dHA6Ly9hbGV4 dXMub3JnLwo= From owner-freebsd-jail@FreeBSD.ORG Wed Oct 8 12:38:00 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 CDE9A106568D for ; Wed, 8 Oct 2008 12:38:00 +0000 (UTC) (envelope-from pvanguardia@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 7C7B88FC3B for ; Wed, 8 Oct 2008 12:38:00 +0000 (UTC) (envelope-from pvanguardia@gmail.com) Received: by gxk14 with SMTP id 14so7773521gxk.19 for ; Wed, 08 Oct 2008 05:37:59 -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=RwbWjQOjkeZdGi4E6OZX9uFgyn1JTMmJOK6Ac9IW3Rw=; b=BBHIYNY945LquRxK3vwQZc7xpRdZ39agRCiilIOLUKPfnWRhVqfd+22Sv1gD7ycR6V DMdviatpiNICFSY3LFw7w0e8VABqXSD0julMy3FGqhx9uIcgAez0dlrHtjBb1oSLkHCa ELuK7bTRsIbAMhrNbFzZQIMQe9Ynzir41bDw4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=E5OwdywW4Mja6XgdEU6aF5qwAoVdol/sC0OgDgkeww602LvnbpknYGLfKVZ/mBypqX 4mVuNQzFwFn0O88JYR/C2MfXduBf1UdeVNpwEJHDQu1uPWc9gBPRq0tYUURteErCr96B 2yFRwKBMzPlVK7yM0b+mXA+XqST05yirMJi5c= Received: by 10.150.146.1 with SMTP id t1mr2860842ybd.71.1223468092096; Wed, 08 Oct 2008 05:14:52 -0700 (PDT) Received: by 10.150.96.11 with HTTP; Wed, 8 Oct 2008 05:14:52 -0700 (PDT) Message-ID: <4f95f7db0810080514o4f510d79x486dc8f85792bfa2@mail.gmail.com> Date: Wed, 8 Oct 2008 20:14:52 +0800 From: "Patrick Vanguardia" 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: Patch problem X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 12:38:00 -0000 Hi, I downloaded the patch bz_jail7-20080920-01-at150161.diff and when i run # cd /usr/src # patch -p6 < bz_jail7-20080920-01-at150161.diff I'm getting a lot of below errors Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- //depot/vendor/freebsd_7/src/lib/libc/sys/cpuset_getaffinity.2 2008/07/25 18:10:49 |+++ //depot/user/bz/jail_7/src/lib/libc/sys/cpuset_getaffinity.2 2008/07/26 10:18:16 -------------------------- File to patch: Also i tried -p7and getting the same results. Any idea? Your help will be greatly appreciated. Thanks, Patrick From owner-freebsd-jail@FreeBSD.ORG Wed Oct 8 22:35: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 339B210656A6 for ; Wed, 8 Oct 2008 22:35: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 E06808FC15 for ; Wed, 8 Oct 2008 22:35: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 35C7A41C751; Thu, 9 Oct 2008 00: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 wFr6OMVT9+xg; Thu, 9 Oct 2008 00:35:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id D927B41C74D; Thu, 9 Oct 2008 00: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 BECA744487F; Wed, 8 Oct 2008 22:31:27 +0000 (UTC) Date: Wed, 8 Oct 2008 22:31:27 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Patrick Vanguardia In-Reply-To: <4f95f7db0810080514o4f510d79x486dc8f85792bfa2@mail.gmail.com> Message-ID: <20081008222808.G7528@maildrop.int.zabbadoz.net> References: <4f95f7db0810080514o4f510d79x486dc8f85792bfa2@mail.gmail.com> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-jail@freebsd.org Subject: Re: Patch problem X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 22:35:08 -0000 On Wed, 8 Oct 2008, Patrick Vanguardia wrote: > Hi, > > I downloaded the patch bz_jail7-20080920-01-at150161.diff and when i run > > # cd /usr/src > # patch -p6 < bz_jail7-20080920-01-at150161.diff > > I'm getting a lot of below errors > > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |--- //depot/vendor/freebsd_7/src/lib/libc/sys/cpuset_getaffinity.2 > 2008/07/25 18:10:49 > |+++ //depot/user/bz/jail_7/src/lib/libc/sys/cpuset_getaffinity.2 > 2008/07/26 10:18:16 > -------------------------- > File to patch: > > Also i tried -p7and getting the same results. > > Any idea? > > Your help will be greatly appreciated. What is in /usr/src ? A 7-STABLE? If the /usr/src is from 7.0-R it won't have that file. /bz PS: I am just on a stop here; I'll be gone for another day. In case this isn't a RELENG_7_0 vs. RENENG_7 problem let me know and I'll try to help you along with the others people mails in my inbox in a day or two. -- Bjoern A. Zeeb Stop bit received. Insert coin for new game. From owner-freebsd-jail@FreeBSD.ORG Fri Oct 10 23:33:11 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 0A40D106568E for ; Fri, 10 Oct 2008 23:33:11 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id B96358FC0C for ; Fri, 10 Oct 2008 23:33:10 +0000 (UTC) (envelope-from alexus@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so271722yxb.13 for ; Fri, 10 Oct 2008 16:33: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=qXIxXuH8M4dhZK8lZXn1w/6WhVGSZxs2Rf6yrF6pslY=; b=RVBji8lD/mQxPVEphYM1BHo7V9jhWFQybM/Ym9rcqozqYA03UMTfOMEfZzBulSenOu VVLjPzXLDqD5T+M6cY/bz8jKZTRHSGkmua4yM8mVgbOSHE2Aobh0zd37i4IF9nDlJ7QS 4D8Bnv0ug1cynzxGHQvF+Qr12fnOd/sJIwMMw= 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=dAP3dy6dmxUNtMJf0rOMxcIUDJVAgWDNYqqOdSet14pdEOQgG4ctLUQge13ELpdAPm /BCFc480dFgwQNXgWXxjGvEL/SZaFa/L6Pos61V6KfUIYGcpG2N6nFnyZSPHx5Z2RrHV DzYg5mG+ZC+9Zxl9yMh/yTmaCluzV2DcNJywI= Received: by 10.142.215.5 with SMTP id n5mr1116074wfg.131.1223681588816; Fri, 10 Oct 2008 16:33:08 -0700 (PDT) Received: by 10.142.246.17 with HTTP; Fri, 10 Oct 2008 16:33:08 -0700 (PDT) Message-ID: <6ae50c2d0810101633j389eb446y80cd885230421d5b@mail.gmail.com> Date: Fri, 10 Oct 2008 19:33:08 -0400 From: alexus To: "Bjoern A. Zeeb" In-Reply-To: <20081010163937.Q28777@maildrop.int.zabbadoz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6ae50c2d0810071746m4ebb5f47x507a76612a5db279@mail.gmail.com> <20081010163937.Q28777@maildrop.int.zabbadoz.net> Cc: freebsd-jail@freebsd.org Subject: Re: bz_jail7-20080920-01-at150161.diff X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 23:33:11 -0000 1. latest patch for 7.0-RELEASE isn't working 2. the only reason i'm on 7.0 is because 7.1 isn't out yet On Fri, Oct 10, 2008 at 12:41 PM, Bjoern A. Zeeb wrote: > On Tue, 7 Oct 2008, alexus wrote: > > Hi, > >> su-3.2# uname -a >> FreeBSD j.jothost.com 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #5: Sun >> Jul 13 18:43:46 EDT 2008 >> alexus@jot.jothost.com:/usr/obj/usr/src/sys/GENERIC i386 >> su-3.2# ls -ld /usr/local/src/bz_jail7-20080920-01-at150161.diff >> -rw-r--r-- 1 root wheel 125674 Sep 20 06:21 >> /usr/local/src/bz_jail7-20080920-01-at150161.diff >> su-3.2# >> >> would you please provide instructions on how to apply this patch to my >> system? >> >> Thank you in advance > > You cannot. The patch is for 7-STABLE (7.1-PRELEASE). > I have no up-to-date patch for 7.0-RELEASE anymore and I am not > plannign on any further. > > You can of course try to search the freebsd-jail list for the last > 7.0-RELEAS patch I had posted if you prefer to stay on 7.0. > > > Please direct further such questions to the freebsd-jail mailing list. > Thank you. > > > /bz > > -- > Bjoern A. Zeeb Stop bit received. Insert coin for new game. > -- http://alexus.org/ From owner-freebsd-jail@FreeBSD.ORG Fri Oct 10 23:45: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 1DEAA1065692 for ; Fri, 10 Oct 2008 23:45: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 CAA1B8FC15 for ; Fri, 10 Oct 2008 23:45: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 2ACF941C734; Sat, 11 Oct 2008 01:45: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 3PX9g6RKymwC; Sat, 11 Oct 2008 01:45:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id BC38F41C733; Sat, 11 Oct 2008 01:45: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 BE42244487F; Fri, 10 Oct 2008 23:44:53 +0000 (UTC) Date: Fri, 10 Oct 2008 23:44:53 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: alexus In-Reply-To: <6ae50c2d0810101633j389eb446y80cd885230421d5b@mail.gmail.com> Message-ID: <20081010234424.M28777@maildrop.int.zabbadoz.net> References: <6ae50c2d0810071746m4ebb5f47x507a76612a5db279@mail.gmail.com> <20081010163937.Q28777@maildrop.int.zabbadoz.net> <6ae50c2d0810101633j389eb446y80cd885230421d5b@mail.gmail.com> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-jail@freebsd.org Subject: Re: bz_jail7-20080920-01-at150161.diff X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 23:45:08 -0000 On Fri, 10 Oct 2008, alexus wrote: > 1. latest patch for 7.0-RELEASE isn't working so which patch was that? Have an URL or filename? /bz -- Bjoern A. Zeeb Stop bit received. Insert coin for new game. From owner-freebsd-jail@FreeBSD.ORG Sat Oct 11 18:06:32 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 0C8721065688 for ; Sat, 11 Oct 2008 18:06:32 +0000 (UTC) (envelope-from pvanguardia@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id BB2688FC0A for ; Sat, 11 Oct 2008 18:06:31 +0000 (UTC) (envelope-from pvanguardia@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so312112ywe.13 for ; Sat, 11 Oct 2008 11:06:30 -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=iQed/iUcm1sW6eXr7YnncoT6P7A3eot3dOOa4apZEyM=; b=akHieObd/RgIbnzvA43ISpW1WLGNFtThbM+j/fcVsjMbFW1S472MMMuaroXvNZKjGz enQmMOne7OJO+3jpcmiJ+vLKe4NITyJWmwv69fAJfcnx7lAKQMargmVw3vu8uvBfy+St D7lkEPmTeHJJESzeh12yyK8kR+aUo3Tu/AcaI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=kQS6norhwhGXXGZOwx1f3fcU8SlcZ732JZRQT2mzwDjBp6T1uZWf6uv+5IRFE7jCKE JAZpGEuWG5pIOQkQAXAKR7hOu27A8GG05s5hCc4JscbkJakKxmeehlV1cr58dBBZJvud E3fiUheUyVZI1dRThbzCRuodi/4GRPlLih75g= Received: by 10.151.142.16 with SMTP id u16mr4665985ybn.78.1223748390790; Sat, 11 Oct 2008 11:06:30 -0700 (PDT) Received: by 10.150.96.11 with HTTP; Sat, 11 Oct 2008 11:06:30 -0700 (PDT) Message-ID: <4f95f7db0810111106k76d21a1cmebdc444304ccfd4a@mail.gmail.com> Date: Sun, 12 Oct 2008 02:06:30 +0800 From: "Patrick Vanguardia" 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: Question X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 18:06:32 -0000 Hi, I was wondering if i stay to 7.0-RELEASE and just update my source to 7.1-PRERELEASE then patch it with the latest jail patch for 7.1-PRERELEASE without doing any make installworld, installkernel and buildkernel only make buildworld does it inherit the patch after doing a make installworld make distribution in my jail? Or it requires to recompile the kernel for it to work? Thanks Patrick