Displaying 12 results from an estimated 12 matches for "sys_setns".
2013 Dec 09
2
Re: Question about setns recognising in libvirt autoconf
...3145: Function not implemented
>
> It seems that setns is not supported by my kernel.
>
> But from the following info, It seemed the reason is just libvirt/autoconf doesn't
> recgonise setns.
> root@debian:~/github/libvirt# grep setns /proc/kallsyms
> ffffffff8105b78b T SyS_setns
> ffffffff8105b78b T sys_setns
> root@debian:~/github/libvirt# ./configure | grep setns
> checking for setns... no
>
> What the problem really is ? How can I fix this problem?
What's the result of grep -R "setns" /usr/include/*
Hi Gaofeng,
The result you want is as...
2013 Dec 09
2
Question about setns recognising in libvirt autoconf
...-hl
error: Cannot get namespaces for 3145: Function not implemented
It seems that setns is not supported by my kernel.
But from the following info, It seemed the reason is just libvirt/autoconf doesn't
recgonise setns.
root@debian:~/github/libvirt# grep setns /proc/kallsyms
ffffffff8105b78b T SyS_setns
ffffffff8105b78b T sys_setns
root@debian:~/github/libvirt# ./configure | grep setns
checking for setns... no
What the problem really is ? How can I fix this problem?
Thanks~
------------------
Best regards!
GuanQiang
2013-12-09
2013 Dec 09
0
Re: Question about setns recognising in libvirt autoconf
...3145: Function not implemented
>
> It seems that setns is not supported by my kernel.
>
> But from the following info, It seemed the reason is just libvirt/autoconf doesn't
> recgonise setns.
> root@debian:~/github/libvirt# grep setns /proc/kallsyms
> ffffffff8105b78b T SyS_setns
> ffffffff8105b78b T sys_setns
> root@debian:~/github/libvirt# ./configure | grep setns
> checking for setns... no
>
> What the problem really is ? How can I fix this problem?
What's the result of grep -R "setns" /usr/include/*
Hi Gaofeng,
The result you want is as...
2013 Dec 09
0
Re: Question about setns recognising in libvirt autoconf
...3145: Function not implemented
>
> It seems that setns is not supported by my kernel.
>
> But from the following info, It seemed the reason is just libvirt/autoconf doesn't
> recgonise setns.
> root@debian:~/github/libvirt# grep setns /proc/kallsyms
> ffffffff8105b78b T SyS_setns
> ffffffff8105b78b T sys_setns
> root@debian:~/github/libvirt# ./configure | grep setns
> checking for setns... no
>
> What the problem really is ? How can I fix this problem?
What's the result of grep -R "setns" /usr/include/*
2013 Nov 14
2
Re: Problem about lxc-enter-namespace interface
...rep setns /var/log/libvirt/libvirtd.log
config.log not libvirtd.log, or you can exec "./configure | grep setns" under libvirt source directory.
> hzguanqiang@debian:~/github/libvirt$ <mailto:hzguanqiang@debian:~/github/libvirt$> grep setns /proc/kallsyms
> ffffffff8105b993 T sys_setns
>
> What I found really strange is that the error info returned by the command.
> hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> vir lxc-enter-namespace 1544 --noseclabel /bin/df -hl
> error: Cannot get namespaces for 1545: Function not implemented
> The instanc...
2013 Nov 14
2
Re: Problem about lxc-enter-namespace interface
...> config.log not libvirtd.log, or you can exec "./configure | grep setns" under libvirt source directory.
>
> > hzguanqiang@debian:~/github/libvirt$ <mailto:hzguanqiang@debian:~/github/libvirt$> grep setns /proc/kallsyms
> > ffffffff8105b993 T sys_setns
> >
> > What I found really strange is that the error info returned by the command.
> > hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> vir lxc-enter-namespace 1544 --noseclabel /bin/df -hl
> > error: Cannot get namespaces for 1545: Functi...
2013 Nov 14
2
Re: Problem about lxc-enter-namespace interface
On 11/14/2013 01:24 PM, Gao feng wrote:
> On 11/14/2013 10:59 AM, hzguanqiang@corp.netease.com wrote:
>> Hi experts,
>>
>> When I test lxc-enter-namespace interface, it turned out such an error:
>>
>> hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> vir version
>> Compiled against library: libvirt 1.1.4
>> Using library: libvirt 1.1.4
2013 Nov 14
2
Re: Problem about lxc-enter-namespace interface
...t libvirtd.log, or you can exec "./configure | grep setns" under libvirt source directory.
> >
> > > hzguanqiang@debian:~/github/libvirt$ <mailto:hzguanqiang@debian:~/github/libvirt$> grep setns /proc/kallsyms
> > > ffffffff8105b993 T sys_setns
> > >
> > > What I found really strange is that the error info returned by the command.
> > > hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> vir lxc-enter-namespace 1544 --noseclabel /bin/df -hl
> > > error: Can...
2013 Nov 14
0
Re: Problem about lxc-enter-namespace interface
...ns?
grep setns /proc/kallsyms
and
grep setns the config.log of libvirt.
Hi, Gaofeng, thanks for your help. The info you want are:
hzguanqiang@debian:~/github/libvirt$ sudo grep setns /var/log/libvirt/libvirtd.log
hzguanqiang@debian:~/github/libvirt$ grep setns /proc/kallsyms
ffffffff8105b993 T sys_setns
What I found really strange is that the error info returned by the command.
hzguanqiang@debian:~$ vir lxc-enter-namespace 1544 --noseclabel /bin/df -hl
error: Cannot get namespaces for 1545: Function not implemented
The instance id is 1544, but the error info hint cannot get ns for 1545....
2013 Nov 14
0
Re: Problem about lxc-enter-namespace interface
...rep setns /var/log/libvirt/libvirtd.log
config.log not libvirtd.log, or you can exec "./configure | grep setns" under libvirt source directory.
> hzguanqiang@debian:~/github/libvirt$ <mailto:hzguanqiang@debian:~/github/libvirt$> grep setns /proc/kallsyms
> ffffffff8105b993 T sys_setns
>
> What I found really strange is that the error info returned by the command.
> hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> vir lxc-enter-namespace 1544 --noseclabel /bin/df -hl
> error: Cannot get namespaces for 1545: Function not implemented
> The instanc...
2013 Nov 14
0
Re: Problem about lxc-enter-namespace interface
...> config.log not libvirtd.log, or you can exec "./configure | grep setns" under libvirt source directory.
>
> > hzguanqiang@debian:~/github/libvirt$ <mailto:hzguanqiang@debian:~/github/libvirt$> grep setns /proc/kallsyms
> > ffffffff8105b993 T sys_setns
> >
> > What I found really strange is that the error info returned by the command.
> > hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> vir lxc-enter-namespace 1544 --noseclabel /bin/df -hl
> > error: Cannot get namespaces for 1545: Functi...
2013 Nov 14
0
Re: Problem about lxc-enter-namespace interface
...t libvirtd.log, or you can exec "./configure | grep setns" under libvirt source directory.
> >
> > > hzguanqiang@debian:~/github/libvirt$ <mailto:hzguanqiang@debian:~/github/libvirt$> grep setns /proc/kallsyms
> > > ffffffff8105b993 T sys_setns
> > >
> > > What I found really strange is that the error info returned by the command.
> > > hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> vir lxc-enter-namespace 1544 --noseclabel /bin/df -hl
> > > error: Can...