Accepting request 849177 from Virtualization

WARNING: This SR depends on https://build.opensuse.org/request/show/848960

- spec: Remove creation of libvirt group and add Requires to the
  libvirt group created with GID 108 by the system-group-libvirt
  package.
  jsc#SLE-11629

OBS-URL: https://build.opensuse.org/request/show/849177
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=317
This commit is contained in:
Dominique Leuenberger 2020-11-23 14:34:43 +00:00 committed by Git OBS Bridge
commit 42663ac256
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Nov 13 18:06:41 UTC 2020 - James Fehlig <jfehlig@suse.com>
- spec: Remove creation of libvirt group and add Requires to the
libvirt group created with GID 108 by the system-group-libvirt
package.
jsc#SLE-11629
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 11 18:15:24 UTC 2020 - James Fehlig <jfehlig@suse.com> Wed Nov 11 18:15:24 UTC 2020 - James Fehlig <jfehlig@suse.com>

View File

@ -366,6 +366,7 @@ Requires: numad
%endif %endif
# libvirtd depends on 'messagebus' service # libvirtd depends on 'messagebus' service
Requires: dbus-1 Requires: dbus-1
Requires: group(libvirt)
# A KVM or Xen libvirt stack really does need UEFI firmware these days # A KVM or Xen libvirt stack really does need UEFI firmware these days
%ifarch x86_64 %ifarch x86_64
@ -1170,7 +1171,6 @@ mv %{buildroot}/%{_datadir}/systemtap/tapset/libvirt_qemu_probes.stp \
VIR_TEST_DEBUG=1 %meson_test -t 5 --no-suite syntax-check VIR_TEST_DEBUG=1 %meson_test -t 5 --no-suite syntax-check
%pre daemon %pre daemon
%{_bindir}/getent group libvirt >/dev/null || %{_sbindir}/groupadd -r libvirt
%service_add_pre libvirtd.service libvirtd.socket libvirtd-ro.socket libvirtd-admin.socket libvirtd-tcp.socket libvirtd-tls.socket virtlockd.service virtlockd.socket virtlogd.service virtlogd.socket virtlockd-admin.socket virtlogd-admin.socket virtproxyd.service virtproxyd.socket virtproxyd-ro.socket virtproxyd-admin.socket virtproxyd-tcp.socket virtproxyd-tls.socket virt-guest-shutdown.target %service_add_pre libvirtd.service libvirtd.socket libvirtd-ro.socket libvirtd-admin.socket libvirtd-tcp.socket libvirtd-tls.socket virtlockd.service virtlockd.socket virtlogd.service virtlogd.socket virtlockd-admin.socket virtlogd-admin.socket virtproxyd.service virtproxyd.socket virtproxyd-ro.socket virtproxyd-admin.socket virtproxyd-tcp.socket virtproxyd-tls.socket virt-guest-shutdown.target
%post daemon %post daemon