Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Apr 2015 19:19:00 +0200
From:      Stefan Ehmann <shoesoft@gmx.net>
To:        "ports@freebsd.org" <ports@freebsd.org>
Cc:        bdrewery@freebsd.org
Subject:   poudriere 3.1.2: bulk fails and deletes jail
Message-ID:  <551D7A04.6090806@gmx.net>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?551D7A04.6090806>