poudriere 3.1.2: bulk fails and deletes jail

Bryan Drewery bdrewery at FreeBSD.org
Thu Apr 2 17:24:43 UTC 2015


On 4/2/2015 12:19 PM, Stefan Ehmann wrote:
> The following commands work as expected with poudriere 3.1.1:
> 
> # poudriere jail -c -v 10.1-RELEASE -a amd64 -j 101amd64
> # poudriere bulk -j 10amd64 ports-mgmt/poudriere
> 
> 
> After upgrade to 3.1.2 it fails:
> 
> # poudriere bulk -j 101amd64 ports-mgmt/poudriere
> [00:00:00] ====>> Creating the reference
> jail.../usr/local/share/poudriere/bulk.sh: cannot create
> /usr/local/poudriere/jails/101amd64/usr/.cpignore: No such file or
> directory
> /usr/local/share/poudriere/bulk.sh: cannot create
> /usr/local/poudriere/jails/101amd64/usr/lib/.cpignore: No such file or
> directory
>  done
> [00:00:04] ====>> Mounting system devices for 101amd64-default
> [00:00:04] ====>> Mounting ports/packages/distfiles
> [00:00:04] ====>> Stashing existing package repository
> [00:00:04] ====>> Mounting packages from:
> /usr/local/poudriere/data/packages/101amd64-default
> [00:00:04] ====>> Copying /var/db/ports from:
> /usr/local/etc/poudriere.d/options
> /usr/local/share/poudriere/bulk.sh: cannot create
> /usr/local/poudriere/data/.m/101amd64-default/ref/etc/make.conf: No such
> file or directory
> [00:00:04] ====>> Cleaning up
> [00:00:04] ====>> Umounting file systems
> 
> And worse: The contents of the jail are deleted:
> # du -sh /usr/local/poudriere/jails/101amd64/
> 4.0K    /usr/local/poudriere/jails/101amd64/
> 
> 
> The problem probably only occurs in specific configurations. Otherwise,
> I would have expected several reports by now.
> 
> # diff poudriere.conf.sample poudriere.conf | grep \>
>> NO_ZFS=yes
>> USE_TMPFS=all
>> CHECK_CHANGED_DEPS=yes
>> PARALLEL_JOBS=1
>> ALLOW_MAKE_JOBS=yes

I'll get a fix out later today or tomorrow.

-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20150402/7d97493e/attachment.sig>


More information about the freebsd-ports mailing list