Displaying 2 results from an estimated 2 matches for "cntr1".
Did you mean:
cnt1
2013 Oct 31
2
libvirt_lxc: SELinux MCS
...and MCS.
I try the secmodel type dynamic and static in the xml file but it didn't work, I received the following error:
error : virSecurityLabelDefParseXML:3228 : XML error: security label is missing
error : virNetSocketNewConnectUNIX:566 : Failed to connect socket to '/var/run/libvirt/lxc/cntr1.sock': Connection refused
I configure the followings secmodel definition and used chcon on the rootfs directory (created with yum) with "system_u:object_r:svirt_lxc_file_t:s0:c30,c50" label:
<seclabel type='static' model='selinux' relabel='no'>
<l...
2013 Oct 31
0
Re: libvirt_lxc: SELinux MCS
...the secmodel type dynamic and static in the xml file but it didn't work, I received the following error:
>
> error : virSecurityLabelDefParseXML:3228 : XML error: security label is missing
> error : virNetSocketNewConnectUNIX:566 : Failed to connect socket to '/var/run/libvirt/lxc/cntr1.sock': Connection refused
>
> I configure the followings secmodel definition and used chcon on the rootfs directory (created with yum) with "system_u:object_r:svirt_lxc_file_t:s0:c30,c50" label:
>
> <seclabel type='static' model='selinux' relabel='...