Accepting request 225658 from Virtualization
Fixed spec file: * Added missing apparmor-parser requires * Removed explicit libcgroup1 requires (forwarded request 225657 from cbosdonnat) OBS-URL: https://build.opensuse.org/request/show/225658 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=140
This commit is contained in:
commit
206c9cf352
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 4 11:43:25 MST 2014 - jfehlig@suse.com
|
||||||
|
|
||||||
|
- Improve lock manager comments in qemu.conf
|
||||||
|
Updated suse-qemu-conf.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 4 17:03:47 UTC 2014 - speilicke@suse.com
|
||||||
|
|
||||||
|
- Create /etc/libvirt/hooks to allow using hook scripts
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Mar 2 20:32:21 MST 2014 - jfehlig@suse.com
|
Sun Mar 2 20:32:21 MST 2014 - jfehlig@suse.com
|
||||||
|
|
||||||
|
@ -494,6 +494,9 @@ Requires: modutils
|
|||||||
Requires: bridge-utils
|
Requires: bridge-utils
|
||||||
Requires: iproute
|
Requires: iproute
|
||||||
Requires: logrotate
|
Requires: logrotate
|
||||||
|
%if %{with_apparmor}
|
||||||
|
Requires: apparmor-parser
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with_udev}
|
%if %{with_udev}
|
||||||
Requires: udev >= 145
|
Requires: udev >= 145
|
||||||
@ -505,9 +508,6 @@ Recommends: polkit >= 0.93
|
|||||||
Recommends: PolicyKit >= 0.6
|
Recommends: PolicyKit >= 0.6
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%if %{with_cgconfig}
|
|
||||||
Requires: libcgroup1
|
|
||||||
%endif
|
|
||||||
%ifarch i386 i586 i686 x86_64 ia64
|
%ifarch i386 i586 i686 x86_64 ia64
|
||||||
# For virConnectGetSysinfo
|
# For virConnectGetSysinfo
|
||||||
Requires: dmidecode
|
Requires: dmidecode
|
||||||
@ -1194,6 +1194,7 @@ rm -rf $RPM_BUILD_ROOT/usr/share/locale/vi_VN
|
|||||||
# temporarily remove polkit ACL policiy configuration - bnc#827644
|
# temporarily remove polkit ACL policiy configuration - bnc#827644
|
||||||
rm -f $RPM_BUILD_ROOT/%{_datadir}/polkit-1/actions/org.libvirt.api.policy
|
rm -f $RPM_BUILD_ROOT/%{_datadir}/polkit-1/actions/org.libvirt.api.policy
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/libvirt
|
mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/libvirt
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/libvirt/hooks
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
# Add a README to the libvirt package with a note about the empty
|
# Add a README to the libvirt package with a note about the empty
|
||||||
# file list
|
# file list
|
||||||
@ -1416,6 +1417,7 @@ fi
|
|||||||
%{_sbindir}/virtlockd
|
%{_sbindir}/virtlockd
|
||||||
%dir %{_libdir}/%{name}
|
%dir %{_libdir}/%{name}
|
||||||
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/
|
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/
|
||||||
|
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/hooks
|
||||||
%{_localstatedir}/adm/fillup-templates/sysconfig.libvirtd
|
%{_localstatedir}/adm/fillup-templates/sysconfig.libvirtd
|
||||||
%{_localstatedir}/adm/fillup-templates/sysconfig.virtlockd
|
%{_localstatedir}/adm/fillup-templates/sysconfig.virtlockd
|
||||||
%if %{with_systemd}
|
%if %{with_systemd}
|
||||||
|
@ -19,19 +19,32 @@ Index: libvirt-1.2.2/src/qemu/qemu.conf
|
|||||||
|
|
||||||
# If set to non-zero, then the default security labeling
|
# If set to non-zero, then the default security labeling
|
||||||
# will make guests confined. If set to zero, then guests
|
# will make guests confined. If set to zero, then guests
|
||||||
@@ -402,6 +411,15 @@
|
@@ -402,10 +411,25 @@
|
||||||
#allow_disk_format_probing = 1
|
#allow_disk_format_probing = 1
|
||||||
|
|
||||||
|
|
||||||
|
-# To enable 'Sanlock' project based locking of the file
|
||||||
|
-# content (to prevent two VMs writing to the same
|
||||||
|
-# disk), uncomment this
|
||||||
+# SUSE note:
|
+# SUSE note:
|
||||||
+# Many lock managers, sanlock included, will kill the resources
|
+# Two lock managers are supported: lockd and sanlock. lockd, which
|
||||||
+# they protect when terminated. E.g. the sanlock daemon will kill
|
+# is provided by the virtlockd service, uses advisory locks (flock(2))
|
||||||
+# any virtual machines for which it holds disk leases when the
|
+# to protect virtual machine disks. sanlock uses the notion of leases
|
||||||
+# daemon is stopped or restarted. Administrators must be vigilant
|
+# to protect virtual machine disks and is more appropriate in a SAN
|
||||||
+# when enabling a lock manager since simply updating the manager
|
+# environment.
|
||||||
+# may cause it to be restarted, potentially killing the resources
|
|
||||||
+# it protects.
|
|
||||||
+#
|
+#
|
||||||
# To enable 'Sanlock' project based locking of the file
|
+# For most deployments that require virtual machine disk protection,
|
||||||
# content (to prevent two VMs writing to the same
|
+# lockd is recommended since it is easy to configure and the virtlockd
|
||||||
# disk), uncomment this
|
+# service can be restarted without terminating any running virtual
|
||||||
|
+# machines. sanlock, which may be preferred in some SAN environments,
|
||||||
|
+# has the disadvantage of not being able to be restarted without
|
||||||
|
+# first terminating all virtual machines for which it holds leases.
|
||||||
|
+#
|
||||||
|
+# To enable lockd or sanlock based protection of virtual machine disk
|
||||||
|
+# content (to prevent two VMs writing to the same disk), uncomment one
|
||||||
|
+# of the following
|
||||||
|
#
|
||||||
|
+#lock_manager = "lockd"
|
||||||
|
#lock_manager = "sanlock"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user