Every compute and service node was provisioned with SELinux disabled. mknetboot added selinux=0, the kickstart templates said selinux --disable, and the genimage postinstall and the dracut hooks wrote SELINUX=disabled into the image. noderes.selinux and site.selinux had no consumer on the node side. The mode that xCAT::SELinux->node_modes resolves now reaches the node: - Kernel command line: mknetboot appends kcmdline_selinux(): selinux=0 for disabled, enforcing=0 for permissive, nothing for enforcing. An image built without the relabel hook (EL7 and older), and a squashfs image without labels, boot with selinux=0 and nodeset says why. Test: selinux_netboot_kcmdline.t. - Kickstart: #SELINUXMODE# and #SELINUXRELABEL# in xCAT::Template. The rh el8/9/10, riscv64 and openEuler templates use them; the %post ends with restorecon -RF over the paths the xCAT scripts write. mkinstall warns when a template cannot express the mode of the node. Test: selinux_kickstart_template.t. - genimage: the el8-10 postinstalls no longer write SELINUX=disabled, and the stateless xcatroot no longer writes /etc/sysconfig/selinux. genimage sets SELINUX=enforcing in the image, adds dracut 98selinux, and installs a pre-pivot hook that runs setfiles with the image file_contexts unless selinux=0 is set. Tests: selinux_image_config.t, selinux_relabel_hook.bats. - packimage -m squashfs stores the labels of the image policy through mksquashfs pseudo xattr definitions (squashfs-tools 4.6 or later), and writes rootimg.sfs.selinux beside the image. Test: selinux_squashfs_labels.t. - Service nodes mount /install and /tftpboot from the management node with context=public_content_t and tftpdir_t when SELinux is on. Test: selinux_sn_mount_options.t. - makedns no longer warns about SELinux. xcatprobe xcatmn checks the xcat module and the labels of installdir and tftpdir instead of failing on enforcing. Test: probe_utils_selinux_policy.t. The selinux/cases1 xcattest cases provision a diskful, a stateless and a squashfs node enforcing, and a stateless node with site.selinux=disabled. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
xCAT
xCAT is a toolkit for deployment and administration of clusters of all sizes.
The xCAT sunset was only a quick eclipse
Dear xCAT Community,
The xCAT sunset has changed course. VersatusHPC has been invited to join the xCAT Consortium, and future development will move toward direct upstream contributions coordinated with the Consortium and its existing member companies.
That matters most for Enterprise Linux 10 (EL10). EL10 support is coming to xCAT, restoring a future operating-system path for sites that still rely on xCAT. This is an important change from the previous sunset guidance, where the lack of an EL10 path was one of the strongest reasons to move away from xCAT.
The xCAT Consortium continues to recommend Confluent as the long-term successor to xCAT, and that remains the Consortium position. Users planning new cluster-management deployments should evaluate Confluent and its xCAT comparison documentation.
At the same time, xCAT is no longer sunsetted. The Consortium and participating companies will continue updating xCAT while there is community and user demand for it.
In summary:
- xCAT development is continuing upstream through the Consortium and participating companies.
- Enterprise Linux 10 support is coming.
- Confluent remains the Consortium-recommended successor and migration path.
- xCAT updates will continue while there is community and user demand.
We want to thank the xCAT Consortium and community for keeping this project moving. The sun went behind the moon for a moment, but xCAT is still here.
For more information on Confluent and how to get started, please visit the Confluent: Project Page, Documentation or Confluent vs xCAT comparison.
With thanks,
The xCAT Consortium
Documentation
xCAT Documentation is hosted on Read The Docs: https://xcat-docs.readthedocs.io
Status
| xCAT Version | Build Status |
|---|---|
| Latest (master branch) | |
| Stable (latest release) |
Looking for older versions?
Open Source License
xCAT is made available under the EPL license: https://opensource.org/licenses/eclipse-1.0.php
Developers
Want to help? Check out the developers guide!