I tried this today, creating an 8.3-RELEASE jail for poudriere:
$ sudo poudriere jail -c -v 8.3-RELEASE -j releng_8_3 ====>> Creating releng_8_3 fs... done ====>> Fetching sets for FreeBSD 8.3-RELEASE amd64 fetch: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/8.3-RELEASE/base/CHECKSUM.SHA256: File unavailable (e.g., file not found, no access) fetch: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/8.3-RELEASE/base/CHECKSUM.SHA256: File unavailable (e.g., file not found, no access) ====>> Error: Failed to fetch from ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/8.3-RELEASE/base/CHECKSUM.SHA256 ====>> Error while creating jail, cleaning up. ====>> Removing releng_8_3 jail... done
It failed. But that’s not the point of this post.
I was concerned when I saw this:
$ ls /usr/local/poudriere/jails/ $
What? Where are my jails?
Here’s the problem (I have restricted the output of the command to those filesystems related to poudriere jails):
$ zfs mount system/poudriere /usr/local/poudriere system/poudriere/jails /usr/local/poudriere/jails system/poudriere/jails/releng_8_4 /usr/local/poudriere/jails/releng_8_4 system/poudriere/jails/releng_9_2 /usr/local/poudriere/jails/releng_9_2 system/usr/local/poudriere /usr/local/poudriere system/usr/local/poudriere/jails /usr/local/poudriere/jails
See the last two items? They overlap with the to two items.
I have no idea why that happened. Perhaps it’s this setting in /usr/local/etc/poudriere.conf:
# root of the poudriere zfs filesystem, by default /poudriere ZROOTFS=/usr/local/poudriere # The directory where poudriere will store jails and ports BASEFS=/usr/local/poudriere
I changed the ZROOTFS value to /poudriere and ran the command again. This time, no overlapping mount points.