From ff432ba96a52fa549a70235c91c4fbc32552b83c Mon Sep 17 00:00:00 2001 From: Daniel Hilst <392820+dhilst@users.noreply.github.com> Date: Thu, 22 Oct 2026 17:21:15 -0300 Subject: [PATCH] fix(xcat-core): an EL10 diskless node powers off with no netroot handler An EL10 stateless compute node gets its lease, loads its iPXE script and downloads the kernel and the initramfs, then dies four seconds into the kernel: dracut: FATAL: No handler for netroot type 'xcat' dracut: Refusing to continue reboot: Power down xCAT-server/share/xcat/netboot/rh/dracut_105/stateless/xcatroot lost its execute bit in 3928c0450. genimage copies the file with the mode it reads from the share tree, and dracut's inst_script keeps that mode, so /sbin/xcatroot reaches the initramfs mode 0644. dracut resolves the handler with command -v, which skips a file that is not executable, so netroot.sh finds no handler and gives up. An EL9 node reads dracut_047, where the same file is mode 0755, so only EL10 is affected. The fix restores mode 0755. netboot_xcatroot_executable.t fails without it. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com> --- xCAT-server/share/xcat/netboot/rh/dracut_105/stateless/xcatroot | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 xCAT-server/share/xcat/netboot/rh/dracut_105/stateless/xcatroot diff --git a/xCAT-server/share/xcat/netboot/rh/dracut_105/stateless/xcatroot b/xCAT-server/share/xcat/netboot/rh/dracut_105/stateless/xcatroot old mode 100644 new mode 100755