libvirt destroy lxc permission denied

0

Estou testando o LXC no Libvirt. O contêiner começou, mas não pode ser destruído.

[root@alfabook alfa]# virsh -c lxc:/// start test-ubuntu
Domain test-ubuntu started

[root@alfabook alfa]# virsh -c lxc:/// list
 Id    Name                           State
----------------------------------------------------
 20115 test-ubuntu                    running

[root@alfabook alfa]# virsh -c lxc:/// destroy 20115
error: Failed to destroy domain 20115
error: Failed to kill process 20253: Permission denied

tail -n 4 / var / log / syslog

Dec 16 23:39:06 alfabook kernel: [38705.576041] audit: type=1400 audit(1513445946.303:206): apparmor="DENIED" operation="signal" profile="/sbin/dhclient" pid=18321 comm="libvirtd" requested_mask="receive" denied_mask="receive" signal=term peer="/usr/sbin/libvirtd"
Dec 16 23:40:43 alfabook libvirtd[18314]: 2017-12-16 17:40:43.193+0000: 18321: error : virCgroupKillInternal:3597 : Failed to kill process 20299: Permission denied
Dec 16 23:40:43 alfabook kernel: [38802.469210] audit: type=1400 audit(1513446043.192:207): apparmor="DENIED" operation="signal" profile="/sbin/dhclient" pid=18321 comm="libvirtd" requested_mask="receive" denied_mask="receive" signal=term peer="/usr/sbin/libvirtd"
Dec 16 23:40:44 alfabook libvirtd[18314]: 2017-12-16 17:40:44.650+0000: 18321: error : virCgroupKillInternal:3597 : Failed to kill process 20299: Permission denied

Como posso parar o contêiner?

    
por Ильдар 16.12.2017 / 18:43

0 respostas