[Bug 1215586] New: guestfs regression: non functional network due to missing sysconfig-netconfig
https://bugzilla.suse.com/show_bug.cgi?id=1215586 Bug ID: 1215586 Summary: guestfs regression: non functional network due to missing sysconfig-netconfig Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Virtualization:Tools Assignee: virt-bugs@suse.de Reporter: ohering@suse.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- At some point in the past, virt-builder and other tools had proper networking with-in the appliance. This still works by luck in SLE15, but it broke in Tumbleweed. The reason is the transformation of appliance/packagelist.in into /usr/lib64/guestfs/supermin.d/packages. During build the packagelist is passed to supermin, which writes the packages file. In case a package is unavailable during build, it will be missing from the packages file. Also 'systemd' is transformed into 'systemd-mini' (which is not really an issue because other packages require 'systemd'). In case of networking: if the host does not have 'dhcp-client' installed, the network will not start inside the appliance. Once dhcp-client gets installed, it will be put into the appliance. But the dhcp-client scripts expect a functional /sbin/netconfig, which is provided by sysconfig-netconfig. That package is listed in packagelist.in, but will not be written to packages because it is not in BuildRequires. I think most packages from packagelist.in are "lost" during build because they are not in BuildRequires, or because nothing requires them. It feels wrong to put each and every binary which is potentially called by guestfsd into BuildRequires. Instead the "packages" file should be overwritten manually with the list of packages which may be used, if it is installed on the host. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215586 https://bugzilla.suse.com/show_bug.cgi?id=1215586#c1 --- Comment #1 from Olaf Hering <ohering@suse.com> --- I think this can be solved with 'sort -u appliance/packagelist > %buildroot%_libdir/guestfs/supermin.d/packages' somewhere in %install. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215586 https://bugzilla.suse.com/show_bug.cgi?id=1215586#c2 Charles Arnold <carnold@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|virt-bugs@suse.de |carnold@suse.com --- Comment #2 from Charles Arnold <carnold@suse.com> --- (In reply to Olaf Hering from comment #1)
I think this can be solved with 'sort -u appliance/packagelist > %buildroot%_libdir/guestfs/supermin.d/packages' somewhere in %install.
I'll look into doing this. In the meantime, I've added sysconfig-netconfig to the BuildRequires for the quick fix. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215586 https://bugzilla.suse.com/show_bug.cgi?id=1215586#c5 --- Comment #5 from Maintenance Automation <maint-coord+maintenance-robot@suse.de> --- SUSE-RU-2023:4088-1: An update that has five fixes can now be installed. Category: recommended (moderate) Bug References: 1212972, 1215461, 1215543, 1215586, 1215664 Sources used: SUSE Linux Enterprise Micro 5.5 (src): libguestfs-1.48.6-150500.3.8.1 Server Applications Module 15-SP5 (src): libguestfs-1.48.6-150500.3.8.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215586 https://bugzilla.suse.com/show_bug.cgi?id=1215586#c6 Charles Arnold <carnold@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #6 from Charles Arnold <carnold@suse.com> --- Spec file updated. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215586 https://bugzilla.suse.com/show_bug.cgi?id=1215586#c7 --- Comment #7 from Maintenance Automation <maint-coord+maintenance-robot@suse.de> --- SUSE-RU-2024:2455-1: An update that has five fixes can now be installed. URL: https://www.suse.com/support/update/announcement/2024/suse-ru-20242455-1 Category: recommended (moderate) Bug References: 1212972, 1215461, 1215543, 1215586, 1215664 Maintenance Incident: [SUSE:Maintenance:30896](https://smelt.suse.de/incident/30896/) Sources used: SUSE Linux Enterprise Micro 5.5 (src): libguestfs-1.48.6-150500.3.8.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com