{"record":{"id":"1278fdd97f613881","repo":"netbirdio/netbird","slug":"acl-manager-init-w","errorCode":null,"errorMessage":"acl manager init: %w","messagePattern":"acl manager init: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"client/firewall/nftables/manager_linux.go","lineNumber":195,"sourceCode":"\nfunc (m *Manager) initFirewall() (err error) {\n\tworkTable, err := m.createWorkTable()\n\tif err != nil {\n\t\treturn fmt.Errorf(\"create work table: %w\", err)\n\t}\n\n\tdefer func() {\n\t\tif err != nil {\n\t\t\tm.rollbackInit()\n\t\t}\n\t}()\n\n\tif err := m.router.init(workTable); err != nil {\n\t\treturn fmt.Errorf(\"router init: %w\", err)\n\t}\n\n\tif err := m.aclManager.init(workTable); err != nil {\n\t\treturn fmt.Errorf(\"acl manager init: %w\", err)\n\t}\n\n\tif m.hasIPv6() {\n\t\tif err := m.initIPv6(); err != nil {\n\t\t\t// Peer has a v6 address: v6 firewall MUST work or we risk fail-open.\n\t\t\treturn fmt.Errorf(\"init IPv6 firewall (required because peer has IPv6 address): %w\", err)\n\t\t}\n\t}\n\n\tif err := m.initNoTrackChains(workTable); err != nil {\n\t\tlog.Warnf(\"raw priority chains not available, notrack rules will be disabled: %v\", err)\n\t}\n\n\treturn nil\n}\n\n// persistState saves the current interface state for potential recreation on restart.\n// Unlike iptables, which requires tracking individual rules, nftables maintains","sourceCodeStart":177,"sourceCodeEnd":213,"githubUrl":"https://github.com/netbirdio/netbird/blob/93e97f4bf1ad715072dcb3fb6cdb1763431b5a9c/client/firewall/nftables/manager_linux.go#L177-L213","documentation":"The IPv4 ACL manager failed to initialize its nftables containers on the work table. As with the router step, initFirewall responds by rolling back all previously initialized components, since an ACL manager that never came up would otherwise leave filtering rules without their supporting infrastructure.","triggerScenarios":"Thrown at client/firewall/nftables/manager_linux.go:195 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the inner error for the chain creation failure","Verify nftables availability and privileges","Restart the daemon to retry initialization"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"93e97f4bf1ad715072dcb3fb6cdb1763431b5a9c","analyzedAt":"2026-08-16T03:09:19.136Z","contentChangedAt":"2026-08-16T03:09:19.136Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}