Displaying 2 results from an estimated 2 matches for "svirt_lxc_file_t".
2013 Oct 31
2
libvirt_lxc: SELinux MCS
...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'>
<label>system_u:system_r:svirt_lxc_net_t:s0:c30,c50</label>
</seclabel>
or:
<seclabel type='dynamic' model='selinux' relabel='yes'>
&l...
2013 Oct 31
0
Re: libvirt_lxc: SELinux MCS
...y 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'>
> <label>system_u:system_r:svirt_lxc_net_t:s0:c30,c50</label>
> </seclabel>
>
> or:
>
> <seclabel type='dynamic' model='seli...