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] Jail fails to create on OPNSense #674

Closed CyberCois closed 4 months ago

CyberCois commented 4 months ago

[MANDATORY] Describe the bug [MANDATORY] A clear and concise description of what the bug is. I'm attempting to get bastille working on opnsense with zfs. When running the create command, the jail fails to actually create.

[MANDATORY] Bastille and FreeBSD version (paste bastille -v && freebsd-version -kru output) 3a4ebc63bb84b66d456713e608be86e4cba3b637 13.2-RELEASE-p9 13.2-RELEASE-p9 13.2-RELEASE-p9

zfs-2.1.9-FreeBSD_g92e0d9d18 zfs-kmod-2.1.9-FreeBSD_g92e0d9d18

[MANDATORY] How did you install bastille? (port/pkg/git) git [optional] Steps to reproduce? bastille create -T -B test 13.2-RELEASE 192.168.0.96/24 bridge0

[optional] Expected behavior The bootstrap command executes successfully, creates the datasets, and pulls down the release.

[optional] Screenshots If applicable, add screenshots to help explain your problem.

root@fire:~ # bastille create -T -B test 13.2-RELEASE 192.168.0.96/24 bridge0 Valid: (192.168.0.96/24). Valid: (bridge0).

Creating a thickjail. This may take a while...

cp: etc/localtime: No such file or directory touch: etc/fstab: No such file or directory sed: etc/crontab: No such file or directory no IP address found for not set [test]: jail: test: mount.devfs: /usr/local/bastille/jails/test/root/dev: No such file or directory

[test]: Not started. See 'bastille start test'. [test]: Not started. See 'bastille start test'. no IP address found for not set [test]: jail: test: mount.devfs: /usr/local/bastille/jails/test/root/dev: No such file or directory

[optional] Additional context I have not been able to find any kind of solution for the issue. It would be cool to get this working so I can document and help others install bastille on opnsense.