From a27f534d43e636f405a942e320e0818f693cd54e Mon Sep 17 00:00:00 2001 From: Daniel Hilst <392820+dhilst@users.noreply.github.com> Date: Wed, 28 Oct 2026 12:03:56 -0300 Subject: [PATCH] fix(packaging): an openSUSE node cannot fetch its loader over IPv6 xCAT.spec asked for the file /usr/sbin/in.tftpd. openSUSE has two providers and the solver installed atftp, whose server has no IPv6 option: it binds 0.0.0.0:69 only, and --bind-address :: does not change that. A node that boots over DHCPv6 therefore received its address and its RFC 5970 bootfile-url, asked the server for the loader, timed out, released the address and started again. xCAT.spec now requires the tftp package where suse_version is set. That is the hpa server, and it listens on 0.0.0.0:69 and [::]:69 at once. EL keeps the file dependency, which has one provider there, tftp-server. Measured on a Leap 15.6 management node: with atftp the loader could not be fetched over IPv6 and could over IPv4; after the swap both families served the same 1372160 byte loader, and a missing file still answered File Not Found. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com> --- xCAT/xCAT.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xCAT/xCAT.spec b/xCAT/xCAT.spec index ee174a1cb0..af9fd364a7 100644 --- a/xCAT/xCAT.spec +++ b/xCAT/xCAT.spec @@ -84,7 +84,14 @@ Requires: (/usr/sbin/dhcpd if openEuler-release else ((kea and kea-hooks) if (sy # On RHEL this pulls in openssh-server, on SLES it pulls in openssh Requires: /usr/bin/ssh %if %nots390x +%if 0%{?suse_version} +# Two openSUSE packages provide /usr/sbin/in.tftpd and the solver may pick either. atftp has +# no IPv6 option, so it binds 0.0.0.0:69 only and a node booting over DHCPv6 never fetches its +# loader. tftp is the hpa server, which listens on both families. +Requires: tftp +%else Requires: /usr/sbin/in.tftpd +%endif Requires: xCAT-buildkit = 4:%{version}-%{release} # Stty is only needed for rcons on ppc64 nodes, but for mixed clusters require it on both x and p Requires: perl-IO-Stty >= 0.04-5