selinux: allow pmdalibvirt access to virtqemud split daemon sockets - #2669
selinux: allow pmdalibvirt access to virtqemud split daemon sockets#2669natoscott wants to merge 1 commit into
Conversation
On newer Fedora/RHEL systems, libvirt uses split daemons (virtqemud) instead of the monolithic libvirtd. The virtqemud socket has a different SELinux type (virtqemud_var_run_t) than the old libvirtd socket (virt_var_run_t), so pmdalibvirt was denied access. Additionally, virtqemud needs to read /proc/<pid>/stat of connecting clients (pcp_pmcd_t) for identification, which also requires policy. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Repository UI (inherited), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe SELinux policy adds an optional Changesvirtqemud SELinux integration
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
On newer Fedora/RHEL systems, libvirt uses split daemons (virtqemud) instead of the monolithic libvirtd. The virtqemud socket has a different SELinux type (virtqemud_var_run_t) than the old libvirtd socket (virt_var_run_t), so pmdalibvirt was denied access.
Additionally, virtqemud needs to read /proc//stat of connecting clients (pcp_pmcd_t) for identification, which also requires policy.