-
Notifications
You must be signed in to change notification settings - Fork 143
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
Default value for bastille_network_pf_table is ignored[BUG] #681
Comments
This can probably be closed. @bmac2 The default value is mentioned because "bastille.conf" sets if for you. By commenting out that line you are essentially removing the default value. |
I just did not comment out that line. That line was missing from my I thought the default value for |
Ah I see what you are saying. I think there were some issues regarding the pf setup that have since been resolved by adding those lines. As far as what you are saying
These lines should do that. They are found in
|
The syntax that is used in My guess is that the problem is not how the default value for variable For example, if I set the
|
I suppose it could be that /usr/local/bin/bastille is not sourced by the start.sh file. I'm not really sure. |
I think it would be best to simply define it inside "common.sh" and have all the other files source it. |
[MANDATORY] Describe the bug [MANDATORY]
When variable
bastille_network_pf_table
is not initialized inbastille.conf
, then default valuejails
is not used.[MANDATORY] Bastille and FreeBSD version (paste
bastille -v && freebsd-version -kru
output)0.10.20231125
13.2-RELEASE-p10
13.2-RELEASE-p10
13.2-RELEASE-p10
[MANDATORY] How did you install bastille? (port/pkg/git)
pkg
[optional] Steps to reproduce?
bastille.conf
comment out the linebastille_network_pf_table="jails" ## default: "jails"
bastille start svelte
This gives output:
pfctl: Invalid argument. [svelte]: svelte: created
pfctl -t jails -T show
is empty.
[optional] Expected behavior
The output of the command
bastille start ..
must not give a warning frompfctl
and tablejails
should not be empty.[optional] Screenshots
If applicable, add screenshots to help explain your problem.
[optional] Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: