rpms/libvirt/devel libvirt-0.6.2-fix-nosource-label.patch, NONE, 1.1 libvirt.spec, 1.131, 1.132
Cole Robinson
crobinso at fedoraproject.org
Mon May 11 02:29:35 UTC 2009
- Previous message: rpms/libvirt/F-11 libvirt-0.6.2-fix-nosource-label.patch, NONE, 1.1 libvirt.spec, 1.129, 1.130
- Next message: rpms/perl-HTML-WikiConverter-Markdown/F-10 perl-HTML-WikiConverter-Markdown.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: crobinso
Update of /cvs/pkgs/rpms/libvirt/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15014
Modified Files:
libvirt.spec
Added Files:
libvirt-0.6.2-fix-nosource-label.patch
Log Message:
Don't try to label a disk with no path (e.g. empty cdrom) (bug #499569)
libvirt-0.6.2-fix-nosource-label.patch:
--- NEW FILE libvirt-0.6.2-fix-nosource-label.patch ---
diff -rup libvirt-0.6.2/src/security_selinux.c new/src/security_selinux.c
--- libvirt-0.6.2/src/security_selinux.c 2009-05-10 22:04:25.000000000 -0400
+++ new/src/security_selinux.c 2009-05-10 22:06:09.000000000 -0400
@@ -338,6 +338,9 @@ SELinuxSetSecurityImageLabel(virConnectP
{
const virSecurityLabelDefPtr secdef = &vm->def->seclabel;
+ if (!disk->src)
+ return 0;
+
if (disk->shared) {
return SELinuxSetFilecon(conn, disk->src, default_image_context);
} else if (disk->readonly) {
Index: libvirt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libvirt/devel/libvirt.spec,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -p -r1.131 -r1.132
--- libvirt.spec 7 May 2009 19:09:00 -0000 1.131
+++ libvirt.spec 11 May 2009 02:29:05 -0000 1.132
@@ -55,7 +55,7 @@
Summary: Library providing a simple API virtualization
Name: libvirt
Version: 0.6.3
-Release: 7%{?dist}%{?extra_release}
+Release: 8%{?dist}%{?extra_release}
License: LGPLv2+
Group: Development/Libraries
Source: libvirt-%{version}.tar.gz
@@ -67,6 +67,8 @@ Patch2: libvirt-0.6.3-hostdev-managed.pa
Patch3: libvirt-0.6.3-refresh-qemu-caps.patch
# Enable migration with qemu 0.10
Patch4: libvirt-0.6.3-enable-qemu-0-10-migration.patch
+# Don't try to label a disk with no path (e.g. empty cdrom) (bz 499569)
+Patch5: libvirt-0.6.2-fix-nosource-label.patch
# Not for upstream. Temporary hack till PulseAudio autostart
# problems are sorted out when SELinux enforcing
@@ -224,6 +226,7 @@ of recent versions of Linux (and other O
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%patch200 -p0
@@ -554,6 +557,9 @@ fi
%endif
%changelog
+* Sun May 10 2009 Cole Robinson <crobinso at redhat.com> - 0.6.2-8.fc12
+- Don't try to label a disk with no path (e.g. empty cdrom) (bug #499569)
+
* Thu May 7 2009 Mark McLoughlin <markmc at redhat.com> - 0.6.3-7.fc12
- Enable migration for qemu 0.10 (bug #499704)
- Previous message: rpms/libvirt/F-11 libvirt-0.6.2-fix-nosource-label.patch, NONE, 1.1 libvirt.spec, 1.129, 1.130
- Next message: rpms/perl-HTML-WikiConverter-Markdown/F-10 perl-HTML-WikiConverter-Markdown.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list