From owner-freebsd-questions@FreeBSD.ORG Fri Apr 4 12:44:06 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 2CAEF8C2 for ; Fri, 4 Apr 2014 12:44:06 +0000 (UTC) Received: from forward6l.mail.yandex.net (forward6l.mail.yandex.net [84.201.143.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DC74C9E0 for ; Fri, 4 Apr 2014 12:44:05 +0000 (UTC) Received: from smtp13.mail.yandex.net (smtp13.mail.yandex.net [95.108.130.68]) by forward6l.mail.yandex.net (Yandex) with ESMTP id CB23B14E122F; Fri, 4 Apr 2014 16:44:02 +0400 (MSK) Received: from smtp13.mail.yandex.net (localhost [127.0.0.1]) by smtp13.mail.yandex.net (Yandex) with ESMTP id 319BEE40018; Fri, 4 Apr 2014 16:44:02 +0400 (MSK) Received: from 46.38.38.120.tel.ru (46.38.38.120.tel.ru [46.38.38.120]) by smtp13.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id KC5AKRapHh-hts8EB8b; Fri, 4 Apr 2014 16:43:55 +0400 (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: c5f60219-bba3-4bbe-8529-e8367cea2873 Message-ID: <533EA907.7040109@passap.ru> Date: Fri, 04 Apr 2014 16:43:51 +0400 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Peter Harrison , questions@freebsd.org Subject: Re: Poudriere problem References: <20140404174112.GA1815@thinkpad.piggybox> In-Reply-To: <20140404174112.GA1815@thinkpad.piggybox> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 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 12:44:06 -0000 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. > 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 -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve