html tool

2021年6月29日星期二

转:kvm Error starting domain: unsupported configuration: Unable to find security driver for model selinux

 问题:

kvm 的virsh start时提示“

error: unsupported configuration: Unable to find security driver for model selinux

解决:

参考: https://superuser.com/questions/1231348/kvm-error-starting-domain-unsupported-configuration-unable-to-find-security-dr

To get the virtual machines backup and running

I ran the following, to edit the domain xml config file.

$ virsh edit some-virtual-machine / domain

Remove the following line, which was near the boot of the virtual machine domain definition xml.

<seclabel type='dynamic' model='selinux' relabel='yes'/>

That gets the virtual machines up and running.


没有评论:

发表评论