Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] CONFIG template hook is NOT idempotent. #693

Open
louwe opened this issue Apr 8, 2024 · 0 comments
Open

[BUG] CONFIG template hook is NOT idempotent. #693

louwe opened this issue Apr 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@louwe
Copy link

louwe commented Apr 8, 2024

[MANDATORY] Describe the bug [MANDATORY]
CONFIG template hook is NOT idempotent.

[MANDATORY] Bastille and FreeBSD version (paste bastille -v && freebsd-version -kru output)
0.10.20231125
14.0-RELEASE-p6
14.0-RELEASE-p6
14.0-RELEASE-p6

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

[optional] Steps to reproduce?

  • Create a template with any CONFIG directive (ie. CONFIG set allow.mount;).
  • Run the template more than once (ie. twice).

[optional] Expected behavior
The jail.conf file should only have 1 entry of allow.mount;, but it will have 2 entries instead.

@louwe louwe added the bug Something isn't working label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant