{"record":{"id":"92a431434f236851","repo":"netbirdio/netbird","slug":"create-v6-work-table-w","errorCode":null,"errorMessage":"create v6 work table: %w","messagePattern":"create v6 work table: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"client/firewall/nftables/manager_linux.go","lineNumber":128,"sourceCode":"\tm.router6.ipFwdState = m.router.ipFwdState\n\n\tm.aclManager6, err = newAclManager(workTable6, wgIface, chainNameRoutingFw)\n\tif err != nil {\n\t\treturn fmt.Errorf(\"create v6 acl manager: %w\", err)\n\t}\n\n\treturn nil\n}\n\n// hasIPv6 reports whether the manager has IPv6 components initialized.\nfunc (m *Manager) hasIPv6() bool {\n\treturn m.router6 != nil\n}\n\nfunc (m *Manager) initIPv6() error {\n\tworkTable6, err := m.createWorkTableFamily(nftables.TableFamilyIPv6)\n\tif err != nil {\n\t\treturn fmt.Errorf(\"create v6 work table: %w\", err)\n\t}\n\n\tif err := m.router6.init(workTable6); err != nil {\n\t\treturn fmt.Errorf(\"v6 router init: %w\", err)\n\t}\n\n\tif err := m.aclManager6.init(workTable6); err != nil {\n\t\treturn fmt.Errorf(\"v6 acl manager init: %w\", err)\n\t}\n\n\treturn nil\n}\n\n// Init nftables firewall manager\nfunc (m *Manager) Init(stateManager *statemanager.Manager) error {\n\tif err := m.initFirewall(); err != nil {\n\t\treturn err\n\t}","sourceCodeStart":110,"sourceCodeEnd":146,"githubUrl":"https://github.com/netbirdio/netbird/blob/93e97f4bf1ad715072dcb3fb6cdb1763431b5a9c/client/firewall/nftables/manager_linux.go#L110-L146","documentation":"initIPv6 could not create the IPv6-family work table in the kernel (createWorkTableFamily). This is at Init time, after the manager was constructed — table creation is the first kernel-programming step for v6.","triggerScenarios":"Thrown at client/firewall/nftables/manager_linux.go:128 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify nftables v6 table creation works as root (nft add table ip6 nb-test)","Check daemon capabilities","Clean stale tables from a previous unclean shutdown and restart the daemon"],"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"}