From owner-freebsd-questions@FreeBSD.ORG Sat Mar 31 15:04:21 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 5F6A816A404 for ; Sat, 31 Mar 2007 15:04:21 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from shanshito.webanoide.org (shanshito.webanoide.org [150.101.108.110]) by mx1.freebsd.org (Postfix) with ESMTP id BE19413C469 for ; Sat, 31 Mar 2007 15:04:20 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from [172.26.4.33] (bakita.hba.navalradio.cl [172.26.4.33]) (authenticated bits=0) by shanshito.webanoide.org (8.13.8/8.13.8) with ESMTP id l2VER41n080930 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 31 Mar 2007 14:27:04 GMT (envelope-from mikhailg@webanoide.org) Message-ID: <460E6FA0.1020405@webanoide.org> Date: Sun, 01 Apr 2007 00:26:40 +1000 From: Mikhail Goriachev Organization: Webanoide User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Jonathan Horne References: <20070331090326.5c0a836d.freebsd@dfwlp.com> In-Reply-To: <20070331090326.5c0a836d.freebsd@dfwlp.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: updating a jail 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: Sat, 31 Mar 2007 15:04:21 -0000 Jonathan Horne wrote: > im still working on updating 2 jails. i nullfs mounted /usr/src /usr/obj from my host into my jails, and tried to installworld, but got this error: > > ===> lib/libcrypt (install) > install -C -o root -g wheel -m 444 libcrypt.a /usr/lib > install -C -o root -g wheel -m 444 libcrypt_p.a /usr/lib > install -s -o root -g wheel -m 444 -fschg -S libcrypt.so.3 /lib > install: rename: /lib/INS@eggs to /lib/libcrypt.so.3: Operation not permitted > *** Error code 71 > > Stop in /usr/src/lib/libcrypt. > *** Error code 1 > > Stop in /usr/src/lib. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > the jail manpage is easy enough to follow, but IMO mastering management and maintenance is much more difficult to learn without good documented guidance. i know many have recommended that i try ezjail and such, but im one of those guys who refuses to pay someone to fix my own car until i fully understand why such an operation is too far above my head. same glutton for pain stance for me on computer stuff too... i force myself to understand the canonical methods first, before i start taking advantage of shortcuts. > > so... how do i get over or past this error? You can installworld directly from host: host# setenv D /usr/local/jail/JAILNAME host# /etc/rc.d/jail stop JAILNAME host# cd /usr/src host# make installworld DESTDIR=$D host# /etc/rc.d/jail start JAILNAME Don't forget all other mergemaster related steps and the rest of the things mentioned in /usr/src/Makefile. Hopefully this points into the right direction. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: mikhailg@webanoide.org Web: www.webanoide.org