[libvirt-users] Problem about lxc-enter-namespace interface
Gao feng
gaofeng at cn.fujitsu.com
Thu Nov 14 05:41:37 UTC 2013
On 11/14/2013 01:24 PM, Gao feng wrote:
> On 11/14/2013 10:59 AM, hzguanqiang at corp.netease.com wrote:
>> Hi experts,
>>
>> When I test lxc-enter-namespace interface, it turned out such an error:
>>
>> hzguanqiang at debian:~$ <mailto:hzguanqiang at debian:~$> vir version
>> Compiled against library: libvirt 1.1.4
>> Using library: libvirt 1.1.4
>> Using API: LXC 1.1.4
>> Running hypervisor: LXC 3.9.6
>>
>> hzguanqiang at debian:~$ <mailto:hzguanqiang at debian:~$> vir list
>> Id Name State
>> ----------------------------------------------------
>> 1544 instance-00000015 running
>>
>> hzguanqiang at debian:~$ <mailto:hzguanqiang at debian:~$> vir lxc-enter-namespace 1544 --noseclabel /bin/df -hl
>> error: Cannot get namespaces for 1545: Function not implemented
>>
>> hzguanqiang at debian:~$ <mailto:hzguanqiang at debian:~$> ls /proc/self/ns
>> ipc mnt net pid user uts
>>
>> What's the problem?
>>
>
> Does your system have system call setns?
grep setns /proc/kallsyms
and
grep setns the config.log of libvirt.
More information about the libvirt-users
mailing list