[Libvirt-cim] 腾讯 failed to remove the ptmx file when the vm is down
kevenzhu(朱以军)
kevenzhu at tencent.com
Fri Jun 17 03:27:16 UTC 2011
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 at Tencent:/usr/local/project/LXC/template/suse/dev/pts <blocked::mailto:root at 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 at Tencent:/usr/local/project/LXC/template/suse/dev/pts <blocked::mailto:root at Tencent:/usr/local/project/LXC/template/suse/dev/pts> # rm ptmx -f
rm: cannot remove `ptmx': Operation not permitted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20110617/3ceec354/attachment.htm>
More information about the Libvirt-cim
mailing list