Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SELinux: Cannot start libvirt domainL Device or resource bus
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
juliedeville
n00b
n00b


Joined: 14 Oct 2024
Posts: 32

PostPosted: Thu Nov 14, 2024 7:09 pm    Post subject: SELinux: Cannot start libvirt domainL Device or resource bus Reply with quote

I am in the process of learning to use SELinux, so I installed on my gentoo server and configured it to use MCS, but I am unable to start any VMs, and get the errors

Code:
error: Failed to start domain 'debian-vm-20241111T150247163049'
error: internal error: Process exited prior to exec: libvirt:  error : Cannot delete directory '/run/libvirt/qemu/3-debian-vm-20241111T1.shm': Device or resource busy


As I understand, MCS should have policies to allow libvirt by default, but I am not sure if I have missed any extra configuration.

I am able to start the domain when I run 'setenforce 0'
Back to top
View user's profile Send private message
juliedeville
n00b
n00b


Joined: 14 Oct 2024
Posts: 32

PostPosted: Thu Nov 14, 2024 8:04 pm    Post subject: Reply with quote

Fixed on reboot
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum