l_getsepol(8)

NAME
l_getsepol - Lustre SELinux policy info

SYNOPSIS
l_getsepol

DESCRIPTION
l_getsepol generates the Lustre SELinux policy info to set as reference on a nodemap with lctl nodemap_set_sepol(8).
The info string describing the SELinux policy has the following syntax: <mode>:<name>:<version>:<hash> where:
    - <mode> is a digit telling if SELinux is in Permissive mode (0) or Enforcing mode (1) - <name> is the name of the SELinux policy - <version> is the version of the SELinux policy - <hash> is the computed hash of the binary representation of the policy, as exported in /etc/selinux/<name>/policy/policy.<version>
l_getsepol should be run on a client node known to enforce the right SELinux policy.

EXAMPLES
# l_getsepol
SELinux status info: 1:mls:31:c79984bb42c0151cb0d8cc34a196a6ca95c2791190c403804efb3e9d81b6109c

AVAILABILITY
l_getsepol is part of the Lustre(7) filesystem package.

SEE ALSO
lustre(7), lctl-nodemap-set-sepol(8)