2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-11-19 08:52:15 +00:00

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>
This commit is contained in:
Daniel Hilst
2026-10-15 15:35:08 -03:00
parent ef70cc4e79
commit c4934af926
+3
View File
@@ -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(`