netlabel-config(8)

netlabel-config8

Netlabel configuration utility

Usage

netlabel-config {reset | load}

Overview

The NetLabel configuration utility, netlabel-config, is a script designed to make it easier for system administratiors to create, manage, and use complex NetLabel configurations. The netlabel-config script uses the netlabelctl(8) tool and /etc/netlabel.rules configuration file to load a saved NetLabel configuration into the kernel and reset the kernel's NetLabel configuration to the default state when needed.

reset

Removes any NetLabel configuration loaded into the kernel and resets the kernel's NetLabel state to the default.

load

Loads the NetLabel configuration specified by /etc/netlabel.rules into the kernel.

Exit status

Returns zero on success, errno values on failure.

Notes

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.

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.

Releases

Unchanged in 3 releases since Debian 11 (Bullseye).

  1. 11–13

Author

Paul Moore <[email protected]>

From netlabel-tools 0.30.0-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.