patch to libvirt-qemu.conf to fix cuid/git onflicts with basic.conf from systemd [release 10.7.0-3mamba;Fri Sep 06 2024]

This commit is contained in:
Silvan Calarco 2024-09-06 17:27:19 +02:00
parent 08dcd96677
commit 38a87a4839
2 changed files with 17 additions and 3 deletions

View File

@ -0,0 +1,10 @@
--- libvirt-10.7.0/src/qemu/libvirt-qemu.sysusers.conf.orig 2024-09-06 09:52:35.632337376 +0200
+++ libvirt-10.7.0/src/qemu/libvirt-qemu.sysusers.conf 2024-09-06 09:52:53.473377552 +0200
@@ -1,4 +1,4 @@
-g kvm 36
-g qemu 107
-u qemu 107:qemu "qemu user" - -
+g kvm -
+g qemu -
+u qemu -:qemu "qemu user" - -
m qemu kvm

View File

@ -3,7 +3,7 @@
Name: libvirt
Version: 10.7.0
Release: 2mamba
Release: 3mamba
Summary: Virtualization API
Group: Development/Libraries
Vendor: openmamba
@ -12,6 +12,7 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://libvirt.org
Source0: http://libvirt.org/sources/libvirt-%{version}.tar.xz
Source1: libvirt.sysconfig
Patch0: libvirt-10.7.0-sysusers.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -84,6 +85,7 @@ This package contains static libraries and header files needed for development.
%prep
%setup -q
#-D -T
%patch 0 -p1
%build
#:<< _EOF
@ -126,7 +128,7 @@ rm -f %{buildroot}%{_libdir}/*.a
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
/sbin/ldconfig
%sysusers_create libvirt-qemu.conf
%systemd_post libvirtd
:
@ -135,7 +137,6 @@ rm -f %{buildroot}%{_libdir}/*.a
:
%postun
/sbin/ldconfig
%systemd_postun libvirtd
:
@ -324,6 +325,9 @@ rm -f %{buildroot}%{_libdir}/*.a
%{_mandir}/man7/virkeyname-*.7*
%changelog
* Fri Sep 06 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 10.7.0-3mamba
- patch to libvirt-qemu.conf to fix cuid/git onflicts with basic.conf from systemd
* Tue Sep 03 2024 Automatic Build System <autodist@mambasoft.it> 10.7.0-2mamba
- rebuilt by autoport with build requirements: libwireshark-devel>=0:4.4.0-1mamba