Bug 753396
Summary: | virsh iface-start and iface-destroy commands lead to a "very long wait" before finally succeeding | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Laine Stump <laine> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 6.2 | CC: | ajia, dominick.grift, dwalsh, jrieden, ksrot, mgrepl, mmalik, mshao, rwu |
Target Milestone: | rc | Keywords: | ZStream |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-3.7.19-127.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 753395 | Environment: | |
Last Closed: | 2012-06-20 12:28:48 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 753395 | ||
Bug Blocks: | 754802 |
Description
Laine Stump
2011-11-12 08:19:28 UTC
I've verified that RHEL6 has the same problem, and it's fixed by the same policy addition, so I created this bug to track getting the fix into RHEL6. Fixed in selinux-policy-3.7.19-127.el6 The only infrastructure needed to test this is an interface on the test machine that can be "ifdown"ed for a minute without losing access to the machine (i.e. either a machine where you have access to the console, or a machine where there is more than one ethernet interface). For example, let's say you have a machine with interface eth0 and you have access to the console. To reproduce the problem / verify the fix, just do the following: 1) install libvirt (if it's not already installed) 2) log into the console as root. 3) run this command: "virsh iface-destroy eth0" If the problem is fixed, the command will succeed within a couple seconds. If the problem still exists, the command will hang for a minute or two before finally returning success. (once the interface is down, it can be brought back up with "virsh iface-start eth0" or "/sbin/ifup eth0" If you want to create host bridges, bonds, etc and test the virsh iface-destroy and iface-start commands on them, you can do that too, but I believe they will utlize the same policy rules as a physical ethernet. 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-2012-0780.html |