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

Default value for bastille_network_pf_table is ignored[BUG] #681

Open
voh9eepah opened this issue Feb 19, 2024 · 0 comments
Open

Default value for bastille_network_pf_table is ignored[BUG] #681

voh9eepah opened this issue Feb 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@voh9eepah
Copy link

[MANDATORY] Describe the bug [MANDATORY]
When variable bastille_network_pf_table is not initialized in bastille.conf, then default value jails 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?

  1. From bastille.conf comment out the line
    bastille_network_pf_table="jails" ## default: "jails"
  2. Start the jail:
    bastille start svelte
    This gives output:
    pfctl: Invalid argument. [svelte]: svelte: created
  3. Output from
    pfctl -t jails -T show
    is empty.

[optional] Expected behavior
The output of the command bastille start .. must not give a warning from pfctl and table jails 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.

@voh9eepah voh9eepah added the bug Something isn't working label Feb 19, 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