腾讯 failed to remove the ptmx file when the vm is down

Hi Guys: I'm writing an web-based vm managerment system using libvirt which is convenient to use. but when I want to remove the template, the PTMX file could NOT be removed. below is the error message, would you please give me some suggestions, thanks a lot. virsh # list --all Id Name State ---------------------------------- - lxc6 shut off root@Tencent:/usr/local/project/LXC/template/suse/dev/pts <blocked::mailto:root@Tencent:/usr/local/project/LXC/template/suse/dev/pts> # ls -l total 0 crw-rw-rw- 1 root root 5, 2 Jun 17 10:23 ptmx root@Tencent:/usr/local/project/LXC/template/suse/dev/pts <blocked::mailto:root@Tencent:/usr/local/project/LXC/template/suse/dev/pts> # rm ptmx -f rm: cannot remove `ptmx': Operation not permitted
participants (1)
-
kevenzhu(朱以军)