Sorry “There is avc error messages in dmesg
……” ――should be
“There is no avc error……” 发件人: Huang,Chaochang
Hi,all: the problem came out when selinux was enforced in targeted+MCS I start lxc through virsh――“virsh -c lxc:/// start instance-00004bd6”
1.
When selinux is Permissive,lxc start is ok The result of “Ps auxZ” is:
We can get into the lxc through “ssh”
2.
When selinux is Enforcing,lxc start bad Th result of “ps auxZ” is:
Only /sbin/init process started,
no else. This is the real problem There is avc error messages in dmesg、/var/log/messages、/var/log/secure,
and the same with selinux is Permissive Can anybody give some hints? Here are some system information:
Lxc xml info is:
Best Regard Huangchaochang |
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list