Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Apr 2014 15:51:58 +0100
From:      Arthur Chance <freebsd@qeng-ho.org>
To:        Boris Samorodov <bsam@passap.ru>, Peter Harrison <four.harrisons@googlemail.com>, questions@freebsd.org
Subject:   Re: Poudriere problem
Message-ID:  <533EC70E.3010103@qeng-ho.org>
In-Reply-To: <533EA907.7040109@passap.ru>
References:  <20140404174112.GA1815@thinkpad.piggybox> <533EA907.7040109@passap.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?533EC70E.3010103>