Bug 1894409
Summary: | let domain without cpu pinning run without the need of CAP_SYS_NICE [rhel-8.3.0.z] | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | Oneata Mircea Teodor <toneata> |
Component: | libvirt | Assignee: | Martin Kletzander <mkletzan> |
Status: | CLOSED ERRATA | QA Contact: | Luyao Huang <lhuang> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.1 | CC: | berrange, chhu, danken, ddepaula, fdeutsch, jdenemar, jsuchane, lhuang, lmen, mkletzan, mprivozn, virt-maint, vromanso, xuzhang, yalzhang, ymankad |
Target Milestone: | rc | Keywords: | Triaged, ZStream |
Target Release: | 8.3 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-6.6.0-7.1.el8 | Doc Type: | Bug Fix |
Doc Text: |
Cause: Original fix for this BZ (possibility of running with restricted CPU set and UID 0 and starting a domain without having the CAP_SYSNICE capability) did not account for the logic needed in order to set affinity with larger amount of CPUs.
Consequence: That resulted in freeing a resource twice in case of pinning to a CPU without CAP_SYS_NICE capability resulting in a segfault and crash of the daemon.
Fix: The logic was slightly reworked to avoid these cases.
Result: Users and management applications can now restrict libvirt daemon operating CPU set, run it without CAP_SYS_NICE and safely start domains without a crash.
|
Story Points: | --- |
Clone Of: | 1819801 | Environment: | |
Last Closed: | 2020-12-02 16:07:50 UTC | Type: | Bug |
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: | 1819801 | ||
Bug Blocks: |
Comment 7
Luyao Huang
2020-11-26 07:33:28 UTC
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 (virt:8.3 bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2020:5328 |