From owner-freebsd-questions@FreeBSD.ORG Fri Apr 4 15:21:24 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C87BA3BD for ; Fri, 4 Apr 2014 15:21:24 +0000 (UTC) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 32483C26 for ; Fri, 4 Apr 2014 15:21:23 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.7/8.14.5) with ESMTP id s34Epwou002512; Fri, 4 Apr 2014 15:52:00 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <533EC70E.3010103@qeng-ho.org> Date: Fri, 04 Apr 2014 15:51:58 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Boris Samorodov , Peter Harrison , questions@freebsd.org Subject: Re: Poudriere problem References: <20140404174112.GA1815@thinkpad.piggybox> <533EA907.7040109@passap.ru> In-Reply-To: <533EA907.7040109@passap.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2014 15:21:24 -0000 On 04/04/2014 13:43, Boris Samorodov wrote: > 04.04.2014 21:41, Peter Harrison пишет: >> Hello list. >> >> I'm experimenting with poudriere for the first time, so that I can avoid building updates on my laptop and build them on my server instead. >> >> So I've installed poudriere and set up a jail: >> >> # poudriere jail -l >> JAILNAME VERSION ARCH METHOD >> laptop 9.2-RELEASE i386 ftp > > Great. So you have a jail with FreeBSD version 9.2-RELEASE. > >> Now I want to update it: > > Do you really want to update the jail? I.e. to change a version > if FreeBSD in the jail? The jail has version 9.0-RELEASE and > imo can not be upgraded. If you need to update to the latest > STABLE vesion you should use "-v stable/9" option while creating > a jail. > >> # poudriere jail -u -j laptop >> cat: /usr/local/share/poudriere/../../etc/poudriere.d/jails/laptop/fs: No such file or directory >> ====>> Error: Unable to update jail laptop: it is running >> >> OK, so I'll stop the jail then: >> >> # poudriere jail -k -j laptop >> cat: /usr/local/share/poudriere/../../etc/poudriere.d/jails/laptop/fs: No such file or directory >> ====>> Jail laptop-default not running, but cleaning up anyway >> ====>> Umounting file systems > > Are you sure that the jail is running? (Use "jls" to ensure). > Ususally poudriere juns jails only while port building. And > stops jails while finished. On rare occasions when I've interrupted poudriere it has left a jail running. Under those circumstances it needed jail -r to kill the jail and manual unmounting of the relevant file systems. However, it is very rare and hasn't happened in a while now, so maybe I hit problems with the earlier versions of poudriere - I was a fairly early adopter. >> And I still can't update it, or delete it or anything: >> >> # poudriere jail -d -j laptop >> cat: /usr/local/share/poudriere/../../etc/poudriere.d/jails/laptop/fs: No such file or directory >> ====>> Error: Unable to delete jail laptop: it is running >> >> What am I doing wrong, and how can properly administer this (update, delete etc.) now that I've got it running. >> >> Thanks, > > More information you may get from POUDRIERE(8) and here: > https://wiki.freebsd.org/PkgPrimer#Using_poudriere >