netlabel-config(8)
β¨ netlabel-config β¨
ok so bestie, we're in section 8 of the NetLabel Documentation and this little cutie is called netlabel-config β the NetLabel configuration utility π
π NAME π
netlabel-config β NetLabel configuration utility. that's it, that's the name, short and iconic π
πΈ SYNOPSIS πΈ
netlabel-config reset| load
π¦ DESCRIPTION π¦
okay so here's the tea β the NetLabel configuration utility, netlabel-config, is a script β yes, a script, we love a script β and it exists to make life easier for system administrators who wanna create, manage, and use complex NetLabel configurations. main character energy fr fr π
the way it works is: the netlabel-config script uses the netlabelctl(8) tool and the /etc/netlabel.rules configuration file to load a saved NetLabel configuration into the kernel, and also to reset the kernel's NetLabel configuration back to the default state whenever that's needed. like a lil reset button but make it NetLabel π
resetβ Removes any NetLabel configuration loaded into the kernel and resets the kernel's NetLabel state to the default. it's giving "factory reset but for your NetLabel vibes" πloadβ Loads the NetLabel configuration specified by/etc/netlabel.rulesinto the kernel. read the rules file, push the rules, slay β¨
π EXIT STATUS π
Returns zero on success, errno values on failure. so like, 0 = we ate π, anything else = errno said no π
π§ NOTES π§
okay important lore drop, no cap:
- The NetLabel subsystem is supported on Linux Kernels version 2.6.19 and later.
- The static, or fallback, labels are only supported on Linux Kernels version 2.6.25 and later.
- The domain mapping address selectors are only supported on Linux Kernels 2.6.28 and later.
- and CALIPSO/RFC5570 is only supported on Linux Kernels 4.8.0 and later.
so like, check your kernel bestie. older kernel = some of these features literally do not exist for you and that's just the situation π
The NetLabel project site, with more information including the source code repository, can be found at https://github.com/netlabel. Please report any bugs at the project site or directly to the author. bug reports are a love language π«Ά
π AUTHOR π
Paul Moore <paul@paul-moore.com>
π SEE ALSO π
ok that's the whole page, you're so welcome π this was written by paul@paul-moore.com, dated 31 May 2013, and it's the netlabel-config(8) page β go forth and configure those labels, bestie, you got this πΈβ¨π
π¦ where this page comes from
- centos-stream 10: netlabel_tools 0.30.0-21.el10 Β· GPL-2.0-only
- debian bookworm: netlabel-tools 0.30.0-1+b1 Β· GPL-2.0-only
- debian trixie: netlabel-tools 0.30.0-1+b1 Β· GPL-2.0-only
- ubuntu jammy: netlabel-tools 0.30.0-1 Β· GPL-2.0-only
- ubuntu noble: netlabel-tools 0.30.0-1 Β· GPL-2.0-only
- ubuntu resolute: netlabel-tools 0.30.0-1build1 Β· GPL-2.0-only
- ubuntu stonking: netlabel-tools 0.30.0-1build1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms