[Bug 1216903] New: SELinux: policy update broke kvm network autostart
https://bugzilla.suse.com/show_bug.cgi?id=1216903 Bug ID: 1216903 Summary: SELinux: policy update broke kvm network autostart Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Security Assignee: jsegitz@suse.com Reporter: rfrohl@suse.com QA Contact: qa-bugs@suse.de CC: cathy.hu@suse.com Target Milestone: --- Found By: --- Blocker: --- Hi, since the update to selinux-policy: 20231030 KVM network autostart/interaction is broken. If one tries to start the network manually in virsh the following error is observed:
virsh # net-start default error: Failed to start network default error: internal error: Failed to apply firewall rules /sbin/iptables -w --table filter --list-rules: libvirt: error : cannot execute binary /sbin/iptables: Permission denied
with
virsh # net-info default Name: default UUID: 31f53528-0578-4d70-b510-2f50fcf424f0 Active: no Persistent: yes Autostart: yes Bridge: virbr0
As a workaround I am using:
# setenforce 0 # virsh net-start default # setenforce 1
There is only one detail to be observed: if virsh is run before 'setenforce 0', then the above does not work until the system is restarted. More details: it is not even 'needed' to net-start, any virsh command will trigger the autostart if 'setenforce 0' was issued. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1216903 Robert Frohl <rfrohl@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |filippo.bonazzi@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1216903 https://bugzilla.suse.com/show_bug.cgi?id=1216903#c2 --- Comment #2 from Robert Frohl <rfrohl@suse.com> --- not 100% sure if the policy is at vault or something changed while the policy was updated. Issue was observed before the newest libvirt release (i.e. 20231103 -> libvirt 9.9.0) -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1216903 https://bugzilla.suse.com/show_bug.cgi?id=1216903#c3 --- Comment #3 from Robert Frohl <rfrohl@suse.com> --- community spotted the issue first: https://forums.opensuse.org/t/latest-update-in-microos-results-in-kvm-failur... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1216903 https://bugzilla.suse.com/show_bug.cgi?id=1216903#c16 --- Comment #16 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1216903) was mentioned in https://build.opensuse.org/request/show/1157662 Factory / selinux-policy -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com