forked from pool/libvirt
Accepting request 627298 from home:1Antoine1:branches:Virtualization
- Fix apparmor failure at startup because of syntax error in libvirt profile: * Add libvirt-4.5.0-apparmor-add-missing-comma.patch (picked from upstream). OBS-URL: https://build.opensuse.org/request/show/627298 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=698
This commit is contained in:
parent
982a25323a
commit
933a76cddd
29
libvirt-4.5.0-apparmor-add-missing-comma.patch
Normal file
29
libvirt-4.5.0-apparmor-add-missing-comma.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From 0b5caa0dc3e49c70d7138ea9414c03a3ca847bc3 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Michal Privoznik <mprivozn@redhat.com>
|
||||||
|
Date: Wed, 4 Jul 2018 07:49:35 +0200
|
||||||
|
Subject: [PATCH 1/1] apparmor: Fix forgotten comma at EOL
|
||||||
|
|
||||||
|
The commit of 1fff379ff6e778 forgot comma at the end of the line
|
||||||
|
rendering the file invalid in syntax.
|
||||||
|
|
||||||
|
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
|
||||||
|
---
|
||||||
|
examples/apparmor/usr.lib.libvirt.virt-aa-helper | 2 +-
|
||||||
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/examples/apparmor/usr.lib.libvirt.virt-aa-helper b/examples/apparmor/usr.lib.libvirt.virt-aa-helper
|
||||||
|
index e32402a..de94368 100644
|
||||||
|
--- a/examples/apparmor/usr.lib.libvirt.virt-aa-helper
|
||||||
|
+++ b/examples/apparmor/usr.lib.libvirt.virt-aa-helper
|
||||||
|
@@ -50,7 +50,7 @@ profile virt-aa-helper /usr/{lib,lib64}/libvirt/virt-aa-helper {
|
||||||
|
@{HOME}/** r,
|
||||||
|
/var/lib/libvirt/images/ r,
|
||||||
|
/var/lib/libvirt/images/** r,
|
||||||
|
- /var/lib/nova/instances/_base/* r
|
||||||
|
+ /var/lib/nova/instances/_base/* r,
|
||||||
|
/{media,mnt,opt,srv}/** r,
|
||||||
|
# For virt-sandbox
|
||||||
|
/{,var/}run/libvirt/**/[sv]d[a-z] r,
|
||||||
|
--
|
||||||
|
1.7.1
|
||||||
|
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 3 09:31:55 UTC 2018 - antoine.belvire@opensuse.org
|
||||||
|
|
||||||
|
- Fix apparmor failure at startup because of syntax error in
|
||||||
|
libvirt profile:
|
||||||
|
* Add libvirt-4.5.0-apparmor-add-missing-comma.patch (picked
|
||||||
|
from upstream).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 5 16:25:57 UTC 2018 - jfehlig@suse.com
|
Thu Jul 5 16:25:57 UTC 2018 - jfehlig@suse.com
|
||||||
|
|
||||||
|
@ -335,6 +335,7 @@ Source6: libvirtd-relocation-server.xml
|
|||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
Source100: %{name}-rpmlintrc
|
Source100: %{name}-rpmlintrc
|
||||||
# Upstream patches
|
# Upstream patches
|
||||||
|
Patch0: libvirt-4.5.0-apparmor-add-missing-comma.patch
|
||||||
# Patches pending upstream review
|
# Patches pending upstream review
|
||||||
Patch100: libxl-dom-reset.patch
|
Patch100: libxl-dom-reset.patch
|
||||||
Patch101: network-don-t-use-dhcp-authoritative-on-static-netwo.patch
|
Patch101: network-don-t-use-dhcp-authoritative-on-static-netwo.patch
|
||||||
@ -920,6 +921,7 @@ libvirt plugin for NSS for translating domain names into IP addresses.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
%patch100 -p1
|
%patch100 -p1
|
||||||
%patch101 -p1
|
%patch101 -p1
|
||||||
%patch150 -p1
|
%patch150 -p1
|
||||||
|
Loading…
Reference in New Issue
Block a user