Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Fixed upstream by:
commit a48362cdfeb5c948218a2e4bf7cc9354082fc1b6
Author: Shivaprasad G Bhat <shivaprasadbhat>
AuthorDate: 2014-09-04 14:42:32 +0530
Commit: Martin Kletzander <mkletzan>
CommitDate: 2014-09-07 17:09:34 +0200
selinux: Avoid label reservations for type = none
For security type='none' libvirt according to the docs should not
generate seclabel be it for selinux or any model. So, skip the
reservation of labels when type is none.
Signed-off-by: Shivaprasad G Bhat <sbhat.ibm.com>
git describe: v1.2.8-46-ga48362c contains: v1.2.9-rc1~218
I can produce this bug on build
libvirt-0.10.2-45.el6.x86_64
Verify it on build
libvirt-0.10.2-48.el6.x86_64
qemu-kvm-0.12.1.2-2.445.el6.x86_64
2.6.32-504.el6.x86_64
1. Disable the default security labeling in /etc/libvirt/qemu.conf
security_default_confined = 0
#service libvirtd restart
2. prepare two guests with
<seclabel type='none' model='selinux'/>
3. start two guests
# virsh list
Id Name State
----------------------------------------------------
16 r6 running
17 win running
4. restart libvirtd service
# service libvirtd restart
Stopping libvirtd daemon: [ OK ]
Starting libvirtd daemon: [ OK ]
5. check guests are all running
# virsh list
Id Name State
----------------------------------------------------
16 r6 running
17 win running
6. dumpxml again
<seclabel type='none' model='selinux'/>
7. two guests after libvirtd restart, still running and works well
change this bug to verified
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2015-1252.html