You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever bastille_zfs_prefix is set to a dataset using zfs native encryption, attempting to create a thick jail fails:
# bastille create -T testjail 14.2-RELEASE 10.0.0.1/24 bge0
Valid: (10.0.0.1/24).
Valid: (bge0).
Creating a thickjail. This may take a while...
cannot send zroot/encrypted/bastille/releases/14.2-RELEASE@bastille-2025-02-10-213329: encrypted dataset zroot/encrypted/bastille/releases/14.2-RELEASE may not be sent with properties without the raw flag
warning: cannot send 'zroot/encrypted/bastille/releases/14.2-RELEASE@bastille-2025-02-10-213329': backup failed
cannot receive: failed to read from stream
cannot open 'zroot/encrypted/bastille/jails/testjail/root': dataset does not exist
cannot open 'zroot/encrypted/bastille/jails/testjail/root': dataset does not exist
cannot open 'zroot/encrypted/bastille/jails/testjail/root': dataset does not exist
Deleting Jail: testjail.
cannot unmount '/srv/enc/bastille/jails/testjail': pool or dataset is busy
rm: /srv/enc/bastille/jails/testjail: Device busy
Failed release base replication. Please retry create!
Output by Bastille 0.13.20250126 (installed via pkg) on FreeBSD 14.2-RELEASE-p1.
Whenever
bastille_zfs_prefix
is set to a dataset usingzfs
native encryption, attempting to create a thick jail fails:Output by Bastille 0.13.20250126 (installed via
pkg
) on FreeBSD 14.2-RELEASE-p1.In order to reproduce the bug:
zfs
:bastille
dataset underneath:/usr/local/etc/bastille/bastille.conf
accordingly;bastille bootstrap 14.2-RELEASE update
&&bastille create -T testjail 14.2-RELEASE 10.0.0.1/24 bge0
I see that the issue was mentioned in #375 some years back. Thanks a bunch to whoever looks into this!
The text was updated successfully, but these errors were encountered: