From 62ed60a4f03abdb82d905ebdc86f16f12a65adfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Ferr=C3=A3o?= <2031761+viniciusferrao@users.noreply.github.com> Date: Sat, 25 Jul 2026 16:53:25 -0300 Subject: [PATCH] fix(genimage): explain the harmless bus messages from the image chroot systemd tooling run inside the image chroot has no bus to talk to and prints "Failed to connect to bus: No such file or directory". The image builds correctly, so say so at the end of the run instead of leaving it to be guessed. Recovered from the unmerged lenovobuild branch (e372fb5b). Co-authored-by: Jarrod Johnson <10814490+jjohnson42@users.noreply.github.com> --- xCAT-server/share/xcat/netboot/sles/genimage | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT-server/share/xcat/netboot/sles/genimage b/xCAT-server/share/xcat/netboot/sles/genimage index e144f72a2..5d01e9ed8 100755 --- a/xCAT-server/share/xcat/netboot/sles/genimage +++ b/xCAT-server/share/xcat/netboot/sles/genimage @@ -1007,6 +1007,10 @@ if ($dracutmode) { mkinitrd("stateless"); } +# systemd tooling run inside the image chroot has no bus to talk to, so it +# complains even though the image builds correctly +print "It is safe to ignore the message 'Failed to connect to bus: No such file or directory' that may have appeared above one or more times.\n"; + sub getlibs { my $file = shift; my $liblist = `chroot $rootimg_dir ldd $file`;