From owner-freebsd-questions@FreeBSD.ORG Wed Mar 21 20:58:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4F52A16A41A for ; Wed, 21 Mar 2007 20:58:46 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from pollux.dfwlp.com (rrcs-64-183-212-242.sw.biz.rr.com [64.183.212.242]) by mx1.freebsd.org (Postfix) with ESMTP id E4FF313C4C2 for ; Wed, 21 Mar 2007 20:58:45 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from pollux.dfwlp.com (localhost [127.0.0.1]) by pollux.dfwlp.com (8.13.8/8.13.8) with ESMTP id l2LKwgAO017924 for ; Wed, 21 Mar 2007 15:58:42 -0500 (CDT) (envelope-from freebsd@dfwlp.com) Received: (from www@localhost) by pollux.dfwlp.com (8.13.8/8.13.8/Submit) id l2LKwgF0017923; Wed, 21 Mar 2007 15:58:42 -0500 (CDT) (envelope-from freebsd@dfwlp.com) X-Authentication-Warning: pollux.dfwlp.com: www set sender to freebsd@dfwlp.com using -f Received: from 167.246.36.14 (SquirrelMail authenticated user jhorne) by webmail.dfwlp.org with HTTP; Wed, 21 Mar 2007 15:58:42 -0500 (CDT) Message-ID: <49413.167.246.36.14.1174510722.squirrel@webmail.dfwlp.org> In-Reply-To: <4601626B.1070702@scls.lib.wi.us> References: <42991.167.246.36.14.1174490156.squirrel@webmail.dfwlp.org> <4601501C.3060605@gmail.com> <10072.167.246.36.14.1174492472.squirrel@webmail.dfwlp.org> <20070321121031.d95cadf6.wmoran@potentialtech.com> <46015BFD.4060806@scls.lib.wi.us> <20070321122852.8eaa2663.wmoran@potentialtech.com> <4601626B.1070702@scls.lib.wi.us> Date: Wed, 21 Mar 2007 15:58:42 -0500 (CDT) From: "Jonathan Horne" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.8 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pollux.dfwlp.com Subject: Re: started playing with jails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2007 20:58:46 -0000 > Bill Moran wrote: >> In response to Greg Barniskis : >> >>> Bill Moran wrote: >>> >>>> I've had trouble getting programs that use shared memory (such as Postgres) >>>> to run inside a jail, but it's been a while since I've tried. >>> Postgres needs this in the host rc.conf: >>> >>> jail_sysvipc_allow="YES" >> >> My experiments with Postgres in jail predate the existence of that setting. >> When I was working with it, you had to frob a sysctl via /etc/sysctl.conf >> >> But even then, I couldn't seem to get it to work -- the Postgres in the >> jail would corrupt the shared memory of the postgres outside the jail. >> It was ugly. Imagine big, wet tears rolling down my cheeks. >> >> I haven't had the need to try it in a while, so it might work OK now, I >> just don't know. >> > > Ah, now that you mention it I do recall discussions of multiple > instances peeing in each others pools so to speak. I also thought > there was discussion of how to fix it, but have no idea where that > went if anywhere... > > A single instance inside a jail does work quite happily if the knob > above is set. > > -- > Greg Barniskis, Computer Systems Integrator > South Central Library System (SCLS) > Library Interchange Network (LINK) > , (608) 266-6348 what is the best method for backup? just back up the whole thing as if it were "files" on my host? thanks, jonathan