mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-15 21:38:10 +00:00
c9210eb26e
The security page said xcatd runs in unconfined_service_t and that xCAT-selinux defines no type. The module defines xcat_t for xcatd and the client commands, and xcat_image_t for the image build, and declares both permissive. The older page placed a service node and a compute node outside the scope because xCAT does not select their mode, and the branch ships noderes.selinux and site.selinux. Both pages now state what the module does: the two permissive domains, the transitions to tftpd_t and chronyd_t for the services xCAT starts, the mode a node resolves, and the goal of an enforcing management node. The scope page also records that a published common or overlay directory of an image root called rootimg is unlabeled, for the same reason as a published kernel there. selinux_docs.t fails 6 of its 18 checks without this change, on rome01. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>