Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libvirt for openSUSE:Factory checked 
in at 2023-06-09 20:37:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libvirt (Old)
 and      /work/SRC/openSUSE:Factory/.libvirt.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libvirt"

Fri Jun  9 20:37:00 2023 rev:376 rq:1091352 version:9.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libvirt/libvirt.changes  2023-06-04 
16:41:39.961795355 +0200
+++ /work/SRC/openSUSE:Factory/.libvirt.new.15902/libvirt.changes       
2023-06-09 20:38:03.622771181 +0200
@@ -1,0 +2,8 @@
+Wed Jun  7 22:21:45 UTC 2023 - James Fehlig <jfeh...@suse.com>
+
+- apparmor: Add support for local profile customizations
+  spec: Replace /etc/apparmor.d/<libvirt-profile> on package upgrade
+  bsc#1211472
+- supportconfig: Modular daemon improvements
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libvirt.spec ++++++
--- /var/tmp/diff_new_pack.MBXsTh/_old  2023-06-09 20:38:04.562776640 +0200
+++ /var/tmp/diff_new_pack.MBXsTh/_new  2023-06-09 20:38:04.566776664 +0200
@@ -813,7 +813,7 @@
 libvirt plugin for NSS for translating domain names into IP addresses.
 
 %prep
-%autosetup
+%autosetup -p1
 
 %build
 %if %{with_qemu}
@@ -1079,6 +1079,7 @@
 %if ! %{with_qemu}
 rm -f %{buildroot}/%{_sysconfdir}/%{name}/qemu.conf
 rm -f %{buildroot}/%{_sysconfdir}/apparmor.d/usr.sbin.virtqemud
+rm -f %{buildroot}/%{_sysconfdir}/apparmor.d/local/usr.sbin.virtqemud
 rm -f %{buildroot}/%{_datadir}/augeas/lenses/libvirtd_qemu.aug
 rm -f %{buildroot}/%{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
 rm -f %{buildroot}/%{logrotate_dir}/libvirtd.qemu
@@ -1086,6 +1087,7 @@
 %if ! %{with_libxl}
 rm -f %{buildroot}/%{_sysconfdir}/%{name}/libxl.conf
 rm -f %{buildroot}/%{_sysconfdir}/apparmor.d/usr.sbin.virtxend
+rm -f %{buildroot}/%{_sysconfdir}/apparmor.d/local/usr.sbin.virtxend
 rm -f %{buildroot}/%{logrotate_dir}/libvirtd.libxl
 rm -f %{buildroot}/%{_datadir}/augeas/lenses/libvirtd_libxl.aug
 rm -f %{buildroot}/%{_datadir}/augeas/lenses/tests/test_libvirtd_libxl.aug
@@ -1415,6 +1417,9 @@
 %libvirt_logrotate_pre libvirtd.qemu
 
 %post daemon-driver-qemu
+%if %{with_apparmor}
+%apparmor_reload /etc/apparmor.d/usr.sbin.virtqemud
+%endif
 %if %{with_modular_daemons}
     %libvirt_daemon_systemd_post virtqemud
 %endif
@@ -1455,6 +1460,9 @@
 %libvirt_logrotate_pre libvirtd.libxl
 
 %post daemon-driver-libxl
+%if %{with_apparmor}
+%apparmor_reload /etc/apparmor.d/usr.sbin.virtxend
+%endif
 %if %{with_modular_daemons}
     %libvirt_daemon_systemd_post virtxend
 %endif
@@ -1490,6 +1498,10 @@
 %{_unitdir}/libvirtd-tls.socket
 %{_sbindir}/rclibvirtd
 %config(noreplace) %{_sysconfdir}/%{name}/libvirtd.conf
+%if %{with_apparmor}
+%config %{_sysconfdir}/apparmor.d/usr.sbin.libvirtd
+%config(noreplace) %{_sysconfdir}/apparmor.d/local/usr.sbin.libvirtd
+%endif
 %{logrotate_prefix} %{logrotate_dir}/libvirtd
 %dir %{_datadir}/augeas/
 %dir %{_datadir}/augeas/lenses/
@@ -1533,12 +1545,7 @@
 %dir %{_sysconfdir}/apparmor.d/abstractions/
 %dir %{_sysconfdir}/apparmor.d/%{name}/
 %dir %{_sysconfdir}/apparmor.d/local/
-%config(noreplace) %{_sysconfdir}/apparmor.d/usr.sbin.libvirtd
-%config(noreplace) %{_sysconfdir}/apparmor.d/usr.lib.libvirt.virt-aa-helper
-%config(noreplace) %{_sysconfdir}/apparmor.d/abstractions/libvirt-qemu
-%config(noreplace) %{_sysconfdir}/apparmor.d/abstractions/libvirt-lxc
-%config(noreplace) %{_sysconfdir}/apparmor.d/%{name}/TEMPLATE.lxc
-%config(noreplace) %{_sysconfdir}/apparmor.d/%{name}/TEMPLATE.qemu
+%config %{_sysconfdir}/apparmor.d/usr.lib.libvirt.virt-aa-helper
 %config(noreplace) 
%{_sysconfdir}/apparmor.d/local/usr.lib.libvirt.virt-aa-helper
 %{_libexecdir}/virt-aa-helper
 %endif
@@ -1747,7 +1754,12 @@
 
 %files daemon-driver-qemu
 %config(noreplace) %{_sysconfdir}/%{name}/virtqemud.conf
-%config(noreplace) %{_sysconfdir}/apparmor.d/usr.sbin.virtqemud
+%if %{with_apparmor}
+%config %{_sysconfdir}/apparmor.d/usr.sbin.virtqemud
+%config(noreplace) %{_sysconfdir}/apparmor.d/local/usr.sbin.virtqemud
+%config %{_sysconfdir}/apparmor.d/abstractions/libvirt-qemu
+%config %{_sysconfdir}/apparmor.d/%{name}/TEMPLATE.qemu
+%endif
 %config(noreplace) %{_prefix}/lib/sysctl.d/60-qemu-postcopy-migration.conf
 %{_datadir}/augeas/lenses/virtqemud.aug
 %{_datadir}/augeas/lenses/tests/test_virtqemud.aug
@@ -1781,6 +1793,10 @@
 
 %files daemon-driver-lxc
 %config(noreplace) %{_sysconfdir}/%{name}/virtlxcd.conf
+%if %{with_apparmor}
+%config %{_sysconfdir}/apparmor.d/abstractions/libvirt-lxc
+%config %{_sysconfdir}/apparmor.d/%{name}/TEMPLATE.lxc
+%endif
 %{_datadir}/augeas/lenses/virtlxcd.aug
 %{_datadir}/augeas/lenses/tests/test_virtlxcd.aug
 %{_unitdir}/virtlxcd.service
@@ -1809,7 +1825,10 @@
 
 %files daemon-driver-libxl
 %config(noreplace) %{_sysconfdir}/%{name}/virtxend.conf
-%config(noreplace) %{_sysconfdir}/apparmor.d/usr.sbin.virtxend
+%if %{with_apparmor}
+%config %{_sysconfdir}/apparmor.d/usr.sbin.virtxend
+%config(noreplace) %{_sysconfdir}/apparmor.d/local/usr.sbin.virtxend
+%endif
 %{_datadir}/augeas/lenses/virtxend.aug
 %{_datadir}/augeas/lenses/tests/test_virtxend.aug
 %{_unitdir}/virtxend.service

++++++ _service ++++++
--- /var/tmp/diff_new_pack.MBXsTh/_old  2023-06-09 20:38:04.626777012 +0200
+++ /var/tmp/diff_new_pack.MBXsTh/_new  2023-06-09 20:38:04.630777035 +0200
@@ -5,6 +5,7 @@
     <param name="revision">factory</param>
     <param name="extract">libvirt.spec</param>
     <param name="extract">README.packaging.txt</param>
+    <param name="extract">libvirt-supportconfig</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="versionrewrite-pattern">[v]?([^-+a-z]+)(.*)</param>
     <param name="versionrewrite-replacement">\1</param>

++++++ libvirt-9.4.0.tar.xz ++++++
/work/SRC/openSUSE:Factory/libvirt/libvirt-9.4.0.tar.xz 
/work/SRC/openSUSE:Factory/.libvirt.new.15902/libvirt-9.4.0.tar.xz differ: char 
15, line 1

++++++ libvirt-supportconfig ++++++
--- /var/tmp/diff_new_pack.MBXsTh/_old  2023-06-09 20:38:04.694777407 +0200
+++ /var/tmp/diff_new_pack.MBXsTh/_new  2023-06-09 20:38:04.698777430 +0200
@@ -8,11 +8,12 @@
 
 RCFILE="/usr/lib/supportconfig/resources/scplugin.rc"
 
-LIBVIRTD_CONF_FILES="$(find -L /etc/libvirt/*.conf -type f | sort)"
+# conf files for all daemons reside in /etc/libvirt/. VM conf files
+# and log files reside in hypervisor-specific locations.
+DAEMON_CONF_FILES="$(find -L /etc/libvirt/*.conf -type f 2>/dev/null | sort)"
 PERSISTENT_VM_CONF_FILES=""
 ACTIVE_VM_CONF_FILES=""
-LIBVIRTD_LOG_FILES="$(find -L /var/log/libvirt/*.log -type f | sort)"
-
+DAEMON_LOG_FILES=""
 
 if [ -s $RCFILE ]; then
     if ! source $RCFILE; then
@@ -55,27 +56,21 @@
 if rpm_installed libvirt-daemon-driver-libxl; then
     test -d /etc/libvirt/libxl && 
PERSISTENT_VM_CONF_FILES="$PERSISTENT_VM_CONF_FILES $(find -L 
/etc/libvirt/libxl/ -type f | sort)"
     test -d /run/libvirt/libxl && ACTIVE_VM_CONF_FILES="$ACTIVE_VM_CONF_FILES 
$(find -L /run/libvirt/libxl/ -type f | sort)"
-    test -d /var/log/libvirt/libxl && LIBVIRTD_LOG_FILES="$LIBVIRTD_LOG_FILES 
$(find -L /var/log/libvirt/libxl/ -type f | sort)"
+    test -d /var/log/libvirt/libxl && DAEMON_LOG_FILES="$DAEMON_LOG_FILES 
$(find -L /var/log/libvirt/libxl/ -type f | sort)"
 fi
 
 if rpm_installed libvirt-daemon-driver-qemu; then
     test -d /etc/libvirt/qemu && 
PERSISTENT_VM_CONF_FILES="$PERSISTENT_VM_CONF_FILES $(find -L 
/etc/libvirt/qemu/ -type f | sort)"
     test -d /run/libvirt/qemu && ACTIVE_VM_CONF_FILES="$ACTIVE_VM_CONF_FILES 
$(find -L /run/libvirt/qemu/ -type f | sort)"
-    test -d /var/log/libvirt/qemu && LIBVIRTD_LOG_FILES="$LIBVIRTD_LOG_FILES 
$(find -L /var/log/libvirt/qemu/ -type f | sort)"
+    test -d /var/log/libvirt/qemu && DAEMON_LOG_FILES="$DAEMON_LOG_FILES 
$(find -L /var/log/libvirt/qemu/ -type f | sort)"
 fi
 
-if rpm_installed libvirt-daemon-driver-lxc; then
-    test -d /etc/libvirt/lxc && 
PERSISTENT_VM_CONF_FILES="$PERSISTENT_VM_CONF_FILES $(find -L /etc/libvirt/lxc/ 
-type f | sort)"
-    test -d /run/libvirt/lxc && ACTIVE_VM_CONF_FILES="$ACTIVE_VM_CONF_FILES 
$(find -L /run/libvirt/lxc/ -type f | sort)"
-    test -d /var/log/libvirt/lxc && LIBVIRTD_LOG_FILES="$LIBVIRTD_LOG_FILES 
$(find -L /var/log/libvirt/lxc/ -type f | sort)"
+if rpm_installed libvirt-daemon; then
+    DAEMON_LOG_FILES="$DAEMON_LOG_FILES $(find -L /var/log/libvirt/*.log -type 
f 2>/dev/null | sort)"
 fi
 
-if ! rpm_verify libvirt-daemon; then
-    echo "Skipped"
-    exit 0
-fi
+if rpm_installed libvirt-client && virsh capabilities > /dev/null 2>&1; then
 
-if systemctl is-active --quiet libvirtd.service; then
     plugin_command "virsh version"
     plugin_command "virsh capabilities"
     plugin_command "virsh domcapabilities"
@@ -102,15 +97,6 @@
        plugin_command "virsh snapshot-list $DOM"
        echo
     done
-    # for LXC domains we have to explicitly specify the URI
-    if rpm_installed libvirt-daemon-driver-lxc; then
-        for DOM in $(virsh -c lxc:/// list --name --all); do
-            plugin_command "virsh -c lxc:/// dumpxml $DOM"
-           plugin_command "virsh -c lxc:/// dominfo $DOM"
-           echo
-        done
-    fi
-
     # dump active networks, interfaces and storage pools
     plugin_command "virsh net-list"
     plugin_command "virsh iface-list"
@@ -118,7 +104,7 @@
 fi
 
 # dump libvirtd-related conf files
-pconf_files "$LIBVIRTD_CONF_FILES"
+pconf_files "$DAEMON_CONF_FILES"
 
 # dump persistent VM-related conf files
 pconf_files "$PERSISTENT_VM_CONF_FILES"
@@ -131,7 +117,7 @@
 pconf_files "$FILES"
 
 # dump all log files
-plog_files 0 "$LIBVIRTD_LOG_FILES"
+plog_files 0 "$DAEMON_LOG_FILES"
 
 echo "Done"
 

Reply via email to