Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   ArchLinux General Discussion (http://www.linux-archive.org/archlinux-general-discussion/)
-   -   LXC Containers (http://www.linux-archive.org/archlinux-general-discussion/705619-lxc-containers.html)

Jameson 09-19-2012 08:09 PM

LXC Containers
 
I'm trying to setup my first LXC containers. I've managed to
bootstrap an Arch container, but can't login to it even after manually
adding a password to root in it's shadow file. I've also tried using
/usr/lib/lxc/templates/lxc-ubuntu to setup an Ubuntu container. That
seems to always return E: Invalid Release file, no entry for
main/binary-x86_64/Packages no matter which release I try. Does
anyone happen to know how to solve one or both of these problems?

Thanks,
=-Jameson

Jameson 09-19-2012 08:14 PM

LXC Containers
 
On Wed, Sep 19, 2012 at 4:09 PM, Jameson <imntreal@gmail.com> wrote:
> I'm trying to setup my first LXC containers. I've managed to
> bootstrap an Arch container, but can't login to it even after manually
> adding a password to root in it's shadow file. I've also tried using
> /usr/lib/lxc/templates/lxc-ubuntu to setup an Ubuntu container. That
> seems to always return E: Invalid Release file, no entry for
> main/binary-x86_64/Packages no matter which release I try. Does
> anyone happen to know how to solve one or both of these problems?

Well, I answered one of my questions, already. x86_64 is not a valid
architecture for Debian based systems. They call it amd64. :)

Thanks,
=-Jameson

Bjoern Franke 09-19-2012 08:38 PM

LXC Containers
 
Am Mittwoch, den 19.09.2012, 16:09 -0400 schrieb Jameson:
> I'm trying to setup my first LXC containers. I've managed to
> bootstrap an Arch container, but can't login to it even after manually
> adding a password to root in it's shadow file. I've also tried using
> /usr/lib/lxc/templates/lxc-ubuntu to setup an Ubuntu container. That
> seems to always return E: Invalid Release file, no entry for
> main/binary-x86_64/Packages no matter which release I try. Does
> anyone happen to know how to solve one or both of these problems

Did you try lxc-console after starting the arch container?

--
xmpp: bjo@schafweide.org
bjo.nord-west.org | nord-west.org | freifunk-ol.de

Jameson 09-20-2012 12:22 AM

LXC Containers
 
On Wed, Sep 19, 2012 at 4:38 PM, Bjoern Franke <bjo@nord-west.org> wrote:
> Am Mittwoch, den 19.09.2012, 16:09 -0400 schrieb Jameson:
>> I'm trying to setup my first LXC containers. I've managed to
>> bootstrap an Arch container, but can't login to it even after manually
>> adding a password to root in it's shadow file. I've also tried using
>> /usr/lib/lxc/templates/lxc-ubuntu to setup an Ubuntu container. That
>> seems to always return E: Invalid Release file, no entry for
>> main/binary-x86_64/Packages no matter which release I try. Does
>> anyone happen to know how to solve one or both of these problems
>
> Did you try lxc-console after starting the arch container?

No. I set it up to run in virt-manager, and for some reason
lxc-console says that it's not running if I start it from there. I'm
going to have to hammer on the config to get lxc-start to be able to
start it.

=-Jameson

Bjoern Franke 09-20-2012 12:45 AM

LXC Containers
 
Am Mittwoch, den 19.09.2012, 20:22 -0400 schrieb Jameson:
> On Wed, Sep 19, 2012 at 4:38 PM, Bjoern Franke <bjo@nord-west.org> wrote:
> > Am Mittwoch, den 19.09.2012, 16:09 -0400 schrieb Jameson:
> >> I'm trying to setup my first LXC containers. I've managed to
> >> bootstrap an Arch container, but can't login to it even after manually
> >> adding a password to root in it's shadow file. I've also tried using
> >> /usr/lib/lxc/templates/lxc-ubuntu to setup an Ubuntu container. That
> >> seems to always return E: Invalid Release file, no entry for
> >> main/binary-x86_64/Packages no matter which release I try. Does
> >> anyone happen to know how to solve one or both of these problems
> >
> > Did you try lxc-console after starting the arch container?
>
> No. I set it up to run in virt-manager, and for some reason
> lxc-console says that it's not running if I start it from there. I'm
> going to have to hammer on the config to get lxc-start to be able to
> start it.
>

Hm, I start my Arch-container with lxc-start. Config under
https://trash.ctdo.de/a/101podmz867

regards
bjo
--
xmpp: bjo@schafweide.org
bjo.nord-west.org | nord-west.org | freifunk-ol.de


All times are GMT. The time now is 03:22 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.