From c4934af9265f10d80cb8f4e092b43be01a8a153d Mon Sep 17 00:00:00 2001 From: Daniel Hilst <392820+dhilst@users.noreply.github.com> Date: Thu, 15 Oct 2026 15:35:08 -0300 Subject: [PATCH] fix(xcat-core): xCAT cannot stop the TFTP server it started setup_tftpd kills a stray in.tftpd before it starts its own (AAsn.pm:1382). With the server now in tftpd_t the signal crossed a domain boundary and was refused: xcat_t tftpd_t:process { signal signull }, found by the enforcing check after the transition landed. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com> --- xCAT-selinux/xcat.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT-selinux/xcat.te b/xCAT-selinux/xcat.te index d83fdc8dc6..c555187053 100644 --- a/xCAT-selinux/xcat.te +++ b/xCAT-selinux/xcat.te @@ -63,6 +63,9 @@ optional_policy(` domtrans_pattern(xcat_t, tftpd_exec_t, tftpd_t) allow xcat_t tftpd_t:process { noatsecure rlimitinh siginh }; + + # setup_tftpd kills a stray server before it starts its own. + allow xcat_t tftpd_t:process { signal signull }; ') optional_policy(`