2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-11-26 12:22:15 +00:00
Commit Graph

1 Commits

Author SHA1 Message Date
Daniel Hilst 7e495f118a test(xcat-core): capture how the SELinux mode of a node is resolved
No code resolves the SELinux mode of a node from noderes.selinux and
site.selinux. Each provisioning path would need to repeat the precedence
and the platform rules.

selinux_node_modes.t drives xCAT::SELinux->node_modes with Perl stubs for
the noderes, nodetype and osimage tables and for site.selinux. It covers
the node row, the group row, the site value, an absent site value, a node
that enables SELinux under a disabled site, an invalid value, the SLES and
Ubuntu clamp, the osimage OS and the statelite clamp. The test dies on
this commit because node_modes does not exist.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-10-21 10:30:46 -03:00