From owner-freebsd-questions@FreeBSD.ORG Mon Feb 8 21:09:59 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9375E106566B for ; Mon, 8 Feb 2010 21:09:59 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pz0-f194.google.com (mail-pz0-f194.google.com [209.85.222.194]) by mx1.freebsd.org (Postfix) with ESMTP id 4A1DB8FC0A for ; Mon, 8 Feb 2010 21:09:59 +0000 (UTC) Received: by pzk32 with SMTP id 32so421798pzk.27 for ; Mon, 08 Feb 2010 13:09:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=UiFPXR2vySlkUXtNuAKOk+tcjJrYGyJNYyZYo3lM+Xw=; b=lGo0Wzn2aeIKEyTX+NfVS6dybw2VviiC8lI3bMExnp8urk3WbzIK9CGQd6Q9sgRlA9 gvsBnxaujV8WDLcqMHgKwD/YIszJP6MTmybZ9ZafNqWnss8O7vvj6fC0y8hWU0UD1Sr+ 1Wv5eXFxAqkHhl4KJ/pVzn8YIppZ2sCJN4SKU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=sbE2YpzElL8mPxx9wS/yLGLS8NC05R3EASoVy4RXbTwFjeVxRgO4jc+AGERqaLF8oE 0C0M5qi56Tt+27QWnpHzZcqHJQSaTqs9i5YCNJZJHbE0l9Y23x8IxCeqECEothUmVtDo yQrKJxs2TOH/Rprjn1u8OzrRqRP6mTFM3tO1c= MIME-Version: 1.0 Received: by 10.142.117.25 with SMTP id p25mr4631098wfc.301.1265663397933; Mon, 08 Feb 2010 13:09:57 -0800 (PST) In-Reply-To: <32433176.107.1265661327344.JavaMail.root@goblin> References: <12972016.97.1265661043611.JavaMail.root@goblin> <32433176.107.1265661327344.JavaMail.root@goblin> Date: Mon, 8 Feb 2010 15:09:57 -0600 Message-ID: <6201873e1002081309m6a2d4916u828d39f1e0c9c2a@mail.gmail.com> From: Adam Vande More To: "Richard L. Houston" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Updating packages in 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: Mon, 08 Feb 2010 21:09:59 -0000 On Mon, Feb 8, 2010 at 2:35 PM, Richard L. Houston wrote: > Hi everyone, > > First off I am new to FreeBSD. I use Linux professorially and really > looking forward to getting some FreeBSD boxes in production as well. My > apologies if my questions are noobish and I have tried Googling for some of > them but with limited results so I figure I would ask for help from the > Alpha dogs of FreeBSD on this list. > > So with hat in had I humbly request help in managing jails. I have set up a > FreeBSD 8.0 install and patched it with freebsd-update. I then created a > jail based on the instructions from the latest BSDMagazine. It seems to work > great. Now my issue come in once I try to update the Jail with > Freebsd-update. FYI, I installed the jail from sysinstall using the minimal > distribution option. when I run Freebsd-update I was getting: > > Installing updates...chflags: ///libexec/ld-elf.so.1: Operation not > permitted > > but after restarting the jail I now get "Cannot identify running kernel" > The Apache server running on the jail seems to be working fine as is the ssh > server. Any thought on this issue? Is there a preferred way to update the > jail env? Remember, noob here, please go easy on me. :) > > Also is there issues with mixing the install of ports from source and via > pkg_add? Good / bad to mix or no big deal. This is more of a general > knowledge question, not implying I would be mixing the two types :) > > Thanks all and look forward to being a part of the FreeBSD community. > Use this as a starting point http://www.freebsd.org/doc/handbook/jails.html Anyways, host and jail need to run the exact same kernel. Normally I'll build my kernel and install it into the base as well as each individual jail so everything is consistent. Also check out /usr/ports/sysutils/ezjail -- Adam Vande More