BastilleBSD / bastille

Bastille is an open-source system for automating deployment and management of containerized applications on FreeBSD.
https://bastillebsd.org
BSD 3-Clause "New" or "Revised" License
783 stars 130 forks source link

[BUG] "bastille boostrap" gives spurious and wrong warning about "bastille_zfs_enable" #688

Open michael-o opened 3 months ago

michael-o commented 3 months ago

Describe the bug Running on a UFS-only host. Bootstrapping a new release (13.3-RELEASE):

# bastille bootstrap 13.3-RELEASE
$bastille_zfs_enable is not set properly - see rc.conf(5).
Bootstrapping FreeBSD distfiles...
$bastille_zfs_enable is not set properly - see rc.conf(5).
$bastille_zfs_enable is not set properly - see rc.conf(5).
/usr/local/bastille/cache/13.3-RELEASE/MANIFES        1046  B 9627 kBps    00s
/usr/local/bastille/cache/13.3-RELEASE/base.tx         205 MB 2116 kBps 01m39s
Validated checksum for 13.3-RELEASE: base.txz
MANIFEST: d10531d663cee5efeb7d696ca84ce90adacd1fae14dd249628fb74da0c7c2820
DOWNLOAD: d10531d663cee5efeb7d696ca84ce90adacd1fae14dd249628fb74da0c7c2820
Extracting FreeBSD 13.3-RELEASE base.txz.

Bootstrap successful.
See 'bastille --help' for available commands.

It is not clear why $bastille_zfs_enable is not set properly - see rc.conf(5). is displayed at all, but even if it carries out several problems.

Bastille and FreeBSD version 0.10.20231125 13.3-STABLE 13.3-STABLE 13.3-STABLE

How did you install bastille? (port/pkg/git) pkg

Root Cause

Fix