Fix nftables Salt state for oneshot service type #7
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-platform#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Plan
plan-2026-02-26-salt-host-management— Phase 3 bug fixRepo
pal-e-platform— Forgejo (private)User Story
As a platform operator
I need the firewall Salt state to run without false failures
So that highstate output is trustworthy
Acceptance Criteria
When I run
salt-call state.apply firewallThen all states succeed (0 failures)
And nftables rules are loaded
And the service is enabled for boot
Additional Information
nftables is
Type=oneshot— it loads rules and exits.service.runningreports false failure because the service is "dead" after loading. Fix: useservice.enabled+cmd.waitto reload on config change.See
bug-nftables-service-running-oneshotin pal-e-docs.Checklist
salt-call state.apply firewallRelated
bug-nftables-service-running-oneshotin pal-e-docs