search for: noseclabel

Displaying 20 results from an estimated 21 matches for "noseclabel".

2015 Apr 02
2
oddity with lxc-enter-namespace
...I have a question about lxc-enter-namespace I am migrating lxc containers from a host running libvirt-1.2.5 on f20 to another one running libvirt-1.2.9 on f21 and now I can't seem to use lxc-enter-namespace for entering in a container any more I would do virsh -c lxc:/// lxc-enter-namespace --noseclabel container /bin/bash but when I try the same now I am getting this: # virsh -c lxc:/// lxc-enter-namespace --noseclabel nagios /bin/bash setlocale: No such file or directory libvirt: error : Expected at least one file descriptor error: internal error: Child process (137198) unexpected exit statu...
2013 Nov 14
2
Re: Problem about lxc-enter-namespace interface
...ebian:~$> vir list >> Id Name State >> ---------------------------------------------------- >> 1544 instance-00000015 running >> >> hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> vir lxc-enter-namespace 1544 --noseclabel /bin/df -hl >> error: Cannot get namespaces for 1545: Function not implemented >> >> hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> ls /proc/self/ns >> ipc mnt net pid user uts >> >> What's the problem? >> > > Does your sys...
2013 Nov 14
2
Re: Problem about lxc-enter-namespace interface
...Name State > >> ---------------------------------------------------- > >> 1544 instance-00000015 running > >> > >> hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> vir lxc-enter-namespace 1544 --noseclabel /bin/df -hl > >> error: Cannot get namespaces for 1545: Function not implemented > >> > >> hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> ls /proc/self/ns > >> ipc mnt net pid user uts > >> > >> What...
2015 Apr 14
1
Re: oddity with lxc-enter-namespace
...am migrating lxc containers from a host running libvirt-1.2.5 on f20 to another one running libvirt-1.2.9 on f21 >> >> and now I can't seem to use lxc-enter-namespace for entering in a container any more >> >> I would do >> virsh -c lxc:/// lxc-enter-namespace --noseclabel container /bin/bash >> >> but when I try the same now I am getting this: >> >> # virsh -c lxc:/// lxc-enter-namespace --noseclabel nagios /bin/bash >> setlocale: No such file or directory >> libvirt: error : Expected at least one file descriptor >> erro...
2013 Nov 14
2
Re: Problem about lxc-enter-namespace interface
...ate > > >> ---------------------------------------------------- > > >> 1544 instance-00000015 running > > >> > > >> hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> vir lxc-enter-namespace 1544 --noseclabel /bin/df -hl > > >> error: Cannot get namespaces for 1545: Function not implemented > > >> > > >> hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> ls /proc/self/ns > > >> ipc mnt net pid user uts >...
2013 Nov 14
2
Problem about lxc-enter-namespace interface
...ibrary: libvirt 1.1.4 Using API: LXC 1.1.4 Running hypervisor: LXC 3.9.6 hzguanqiang@debian:~$ vir list Id Name State ---------------------------------------------------- 1544 instance-00000015 running hzguanqiang@debian:~$ vir lxc-enter-namespace 1544 --noseclabel /bin/df -hl error: Cannot get namespaces for 1545: Function not implemented hzguanqiang@debian:~$ ls /proc/self/ns ipc mnt net pid user uts What's the problem? ------------------ Best regards! GuanQiang 2013-11-14
2013 Jul 30
2
lxc-enter-namespace error: security model cannot be entered.
Hi Guys, I started a lxc container with libvit in ubuntu Operating system, and succeed using lxc-enter-namespace to enter the namespaces and security context of the container. But when I do the same thing in debian OS, It reported an error, with details as following: root@debian:/etc# vir list Id Name State ---------------------------------------------------- 4424
2013 Dec 09
2
Question about setns recognising in libvirt autoconf
Hi experts, When I test lxc container with lxc-enter-namespace command, It reported an error as following: root@debian:~/github/libvirt# vir lxc-enter-namespace lxc --noseclabel /bin/df -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 ffffffff81...
2016 Jul 26
2
How can I run command in containers on the host?
How can I run command in containers on the host? Just like the lxc command lxc-attach. I run : virsh -c lxc:/// lxc-enter-namespace fedora2 --noseclabel /bin/ls but get error: libvirt: error : Expected at least one file descriptor error: internal error: Child process (14930) unexpected exit status 125 Here is my libvirt.xml <domain type='lxc'> <name>fedora2</name> <memory>190000</memory> <vcpu&g...
2013 Nov 14
2
Re: Problem about lxc-enter-namespace interface
...gt; ---------------------------------------------------- > > > >> 1544 instance-00000015 running > > > >> > > > >> hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> vir lxc-enter-namespace 1544 --noseclabel /bin/df -hl > > > >> error: Cannot get namespaces for 1545: Function not implemented > > > >> > > > >> hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> ls /proc/self/ns > > > >> ipc...
2013 Dec 09
2
Re: Question about setns recognising in libvirt autoconf
On 2013-12-09 13:18 , Gao feng wrote: On 12/09/2013 01:06 PM, hzguanqiang@corp.netease.com wrote: > Hi experts, > > When I test lxc container with lxc-enter-namespace command, It reported an error as > following: > root@debian:~/github/libvirt# vir lxc-enter-namespace lxc --noseclabel /bin/df -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#...
2015 Apr 14
0
Re: oddity with lxc-enter-namespace
...lxc-enter-namespace >I am migrating lxc containers from a host running libvirt-1.2.5 on f20 to another one running libvirt-1.2.9 on f21 > >and now I can't seem to use lxc-enter-namespace for entering in a container any more > >I would do >virsh -c lxc:/// lxc-enter-namespace --noseclabel container /bin/bash > >but when I try the same now I am getting this: > ># virsh -c lxc:/// lxc-enter-namespace --noseclabel nagios /bin/bash >setlocale: No such file or directory >libvirt: error : Expected at least one file descriptor >error: internal error: Child process (1...
2015 Dec 18
1
Getting IP address of a lxc container via libvirt
...ted to understand if there is a way to get LXC container's ip address. - virDomainInterfaceAddresses API only works for qemu/kvm and not with the lxc driver. What other options do I have? Using enter-lxc-namespace is throwing this error: virsh -c lxc:/// lxc-enter-namespace <domain> --noseclabel /sbin/ifconfig libvirt: error : Expected at least one file descriptor Appreciate any help. Regards, Harish
2013 Nov 14
0
Re: Problem about lxc-enter-namespace interface
...ebian:~$> vir list >> Id Name State >> ---------------------------------------------------- >> 1544 instance-00000015 running >> >> hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> vir lxc-enter-namespace 1544 --noseclabel /bin/df -hl >> error: Cannot get namespaces for 1545: Function not implemented >> >> hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> ls /proc/self/ns >> ipc mnt net pid user uts >> >> What's the problem? >> > > Does your sys...
2013 Nov 14
0
Re: Problem about lxc-enter-namespace interface
...Name State > >> ---------------------------------------------------- > >> 1544 instance-00000015 running > >> > >> hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> vir lxc-enter-namespace 1544 --noseclabel /bin/df -hl > >> error: Cannot get namespaces for 1545: Function not implemented > >> > >> hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> ls /proc/self/ns > >> ipc mnt net pid user uts > >> > >> What...
2013 Nov 14
0
Re: Problem about lxc-enter-namespace interface
...ate > > >> ---------------------------------------------------- > > >> 1544 instance-00000015 running > > >> > > >> hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> vir lxc-enter-namespace 1544 --noseclabel /bin/df -hl > > >> error: Cannot get namespaces for 1545: Function not implemented > > >> > > >> hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> ls /proc/self/ns > > >> ipc mnt net pid user uts >...
2013 Nov 14
0
Re: Problem about lxc-enter-namespace interface
...gt; ---------------------------------------------------- > > > >> 1544 instance-00000015 running > > > >> > > > >> hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> vir lxc-enter-namespace 1544 --noseclabel /bin/df -hl > > > >> error: Cannot get namespaces for 1545: Function not implemented > > > >> > > > >> hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> ls /proc/self/ns > > > >> ipc...
2013 Jul 30
0
Re: lxc-enter-namespace error: security model cannot be entered.
...r lxc-enter-namespace 4424 /bin/sh/ > libvirt: error : argument unsupported: Security model cannot be entered > > Is there anything that needs to be configured in debian OS for using the 'lxc-enter-namespace' interface? Hmm, that's a bug in virsh. As a workaround use the --noseclabel flag Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- ht...
2013 Nov 14
0
Re: Problem about lxc-enter-namespace interface
...mailto:hzguanqiang@debian:~$> vir list > Id Name State > ---------------------------------------------------- > 1544 instance-00000015 running > > hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> vir lxc-enter-namespace 1544 --noseclabel /bin/df -hl > error: Cannot get namespaces for 1545: Function not implemented > > hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> ls /proc/self/ns > ipc mnt net pid user uts > > What's the problem? > Does your system have system call setns?
2013 Dec 09
0
Re: Question about setns recognising in libvirt autoconf
On 12/09/2013 01:06 PM, hzguanqiang@corp.netease.com wrote: > Hi experts, > > When I test lxc container with lxc-enter-namespace command, It reported an error as > following: > root@debian:~/github/libvirt# vir lxc-enter-namespace lxc --noseclabel /bin/df -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#...