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.
> 8.Re-try the upper test scenario in the rhel6.6, got a different result
> which the the usb device can hotplug or passthough to the guest successfully
> even
> if i disable the virt_use_usb, this should be issue too.
So there is no crash on RHEL-6?
This is confising. Can you *please* not clone the bug when the issue on rhel6 is something completely different?
usb passthough working even with virt_use_usb=off sounds like a selinux-policy issue, reassigning.
The guest didn't crash on RHEL-6 and the current issue is that the usb can passthough or hotplug/unhotplug successfully even with virt_use_usb=off, the expect result should be fail.
# getsebool -a |grep virt_use
virt_use_comm --> off
virt_use_execmem --> off
virt_use_fusefs --> off
virt_use_nfs --> off
virt_use_samba --> off
virt_use_sanlock --> off
virt_use_sysfs --> on
virt_use_usb --> on
virt_use_xserver --> off
Get the same result with the comment 6 even turn the virt_use_sysfs boolean off
# getsebool -a |grep virt_use
virt_use_comm --> off
virt_use_execmem --> off
virt_use_fusefs --> off
virt_use_nfs --> off
virt_use_samba --> off
virt_use_sanlock --> off
virt_use_sysfs --> off
virt_use_usb --> off
virt_use_xserver --> off
Ok I see it. Basically we need to add
# glibc wants to access /sys/devices/system/cpu
dev_read_sysfs(domain)
and now we have a regression. But hard to fix it. We can remove it to see what happens.
Milos,
what do you think?