Hide Forgot
Description of problem: Security section in VM Overview window. Choose static labeling and enter a label with a space character at the end, e.g. "system_u:system_r:svirt_t:s0:c333,c666 ". This happens very often e.g. during copy&paste. Choose apply, observe the error: Error changing VM configuration: XML description for Invalid security label system_u:system_r:svirt_t:s0:c333,c666 is not well formed or invalid. Version-Release number of selected component (if applicable): virt-manager-0.8.6-3.el6.noarch How reproducible: always Steps to Reproduce: 1. see above Actual results: Error Expected results: virt-manager strip white characters from the input and therefore the context is accepted. Additional info:
Upstream now: http://git.fedorahosted.org/git?p=virt-manager.git;a=commit;h=326e0f6a819354688bf9f3f21bb4c4e258e6d2b1
Fixed in virt-manager-0.9.0-2.el6
this bug can reproduce with: virt-manager-0.8.6-4.el6 verify with: virt-manager-0.9.0-5.el6 python-virtinst-0.600.0-2.el6 libvirt-0.9.4-1.el6 qemu-kvm-0.12.1.2-2.172.el6 step: 1:goto Security section in VM Overview window. Choose static labeling and enter a label with a space character at the end, e.g. "system_u:system_r:svirt_t:s0:c460,c779 " or " system_u:system_r:svirt_t:s0:c460,c779 "and click "apply" virt-manager can strip white chars ,and no error occur.so the bug fixed. Verification passed.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: No description necessary
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. http://rhn.redhat.com/errata/RHBA-2011-1642.html