netlabel-config(8)

πŸ“¦
version 0.30.0 Β· 3 versions
, in centos-stream 10, debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ 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.rules into 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 🌸✨πŸ’