Bug 240118 - ports-mgmt/poudriere: Gives BASEFS error but goes ahead to create its directories
Summary: ports-mgmt/poudriere: Gives BASEFS error but goes ahead to create its directo...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Bryan Drewery
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2019-08-26 06:41 UTC by Christopher Hall
Modified: 2020-06-20 21:34 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (bdrewery)
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Hall 2019-08-26 06:41:43 UTC
# poudriere jail -c -j 12_0-amd64 -m http -v 12.0-RELEASE
realpath: /usr/local/poudriere: No such file or directory
[00:00:00] Error: Please provide a BASEFS variable in your poudriere.conf

from zfs list:
...
zroot/poudriere                           712K   781G    88K  /zroot/poudriere
zroot/poudriere/data                      624K   781G    96K  /data
zroot/poudriere/data/.m                    88K   781G    88K  /data/.m
zroot/poudriere/data/cache                 88K   781G    88K  /data/cache
zroot/poudriere/data/images                88K   781G    88K  /data/images
zroot/poudriere/data/logs                  88K   781G    88K  /data/logs
zroot/poudriere/data/packages              88K   781G    88K  /data/packages
zroot/poudriere/data/wrkdirs               88K   781G    88K  /data/wrkdirs

Unfortunately I already have a /data so poudriere gets mounted over it.
This happens with both poudriere and poudriere-devel ports.

setting BASEFS=/data/poudriere is the same, it appears I have to:
# zfs create zroot/data/poudriere

So workaround is to always create the BASFS as a zfs dataset before initial jail create.