bastille icon indicating copy to clipboard operation
bastille copied to clipboard

[BUG] Bastille does not work with cbsd jails anymore

Open jpoa opened this issue 4 years ago • 0 comments

[MANDATORY] Describe the bug [MANDATORY] Bastille used to work fine with cbsd, now after the latest update it does not work.

[MANDATORY] Bastille and FreeBSD version (paste bastille -v && freebsd-version -kru output) bastille -v 0.8.20210115

freebsd-version -kru 12.2-RELEASE-p3 12.2-RELEASE-p3 12.2-RELEASE-p3

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

[optional] Steps to reproduce? Run bastille template against a jail created with cbsd. Bastille will complain that the target was not found.

[optional] Expected behavior Bastille should apply the template to the existing jail created with cbsd as it did before the update.

[optional] Additional context Commenting the check in these lines solved the issue for now (it still fails doing cp later on): https://github.com/BastilleBSD/bastille/blob/f7ef58cc19aad6400a5f85db6bf59f9d26f56081/usr/local/bin/bastille#L165

jpoa avatar Feb 16 '21 18:02 jpoa