search for: nsenter

Displaying 4 results from an estimated 4 matches for "nsenter".

Did you mean: nenter
2013 Jul 22
2
Libvirt-lxc and systemd question
...g the underlying OS filesystem with the containers doesn't work, so I've installed a minimal Fedora 19 install in /srv/mycontainer. Everything seems to work okay but what I'm struggling with is how to setup the initial accounts. I've tried to attach to the container using 'nsenter' (entering all the namespaces) but it doesn't appear that the bind mounts are in place. For example, I see the /etc/passwd for my host OS, not the container. Is there a better way to setup the initial accounts on the container? Here is what I have installed: $ rpm -qa | grep lxc lib...
2013 Jul 22
0
Re: Libvirt-lxc and systemd question
...OS filesystem with the containers > doesn't work, so I've installed a minimal Fedora 19 install in > /srv/mycontainer. Everything seems to work okay but what I'm > struggling with is how to setup the initial accounts. I've tried to > attach to the container using 'nsenter' (entering all the > namespaces) but it doesn't appear that the bind mounts are in place. > For example, I see the /etc/passwd for my host OS, not the > container. Is there a better way to setup the initial accounts on > the container? > > Here is what I have installed:...
2015 Dec 18
1
Getting IP address of a lxc container via libvirt
Hello I wanted 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
2013 Jul 22
1
Re: Libvirt-lxc and systemd question
...ith the containers >> doesn't work, so I've installed a minimal Fedora 19 install in >> /srv/mycontainer. Everything seems to work okay but what I'm >> struggling with is how to setup the initial accounts. I've tried to >> attach to the container using 'nsenter' (entering all the >> namespaces) but it doesn't appear that the bind mounts are in place. >> For example, I see the /etc/passwd for my host OS, not the >> container. Is there a better way to setup the initial accounts on >> the container? >> >> Here is...