Re: [lxc-users] lxc-create for ubuntu container fails in Fedora 20

2014-07-02 Thread Michael H. Warfield
On Thu, 2014-07-03 at 08:24 +0700, Fajar A. Nugraha wrote: > You should probably file it under debootstrap instead of lxc. Concur. This is a debootstrap bug, not LXC. Regards, Mike > > On ubuntu 14.04 (debootstrap 1.0.59ubuntu0.1), all ubuntu releases > (e.g. "precise") script under /usr/share/

Re: [lxc-users] lxc-create for ubuntu container fails in Fedora 20

2014-07-02 Thread Fajar A. Nugraha
You should probably file it under debootstrap instead of lxc. On ubuntu 14.04 (debootstrap 1.0.59ubuntu0.1), all ubuntu releases (e.g. "precise") script under /usr/share/debootsrap is a symlink to "gutsy", which has this case $ARCH in amd64|i386) default_mirror http://archive.ubuntu.com

Re: [lxc-users] lxc-create for ubuntu container fails in Fedora 20

2014-07-02 Thread Ajith Adapa
Filled a bug in Fedora Bugzilla @ https://bugzilla.redhat.com/show_bug.cgi?id=1115728 Regards, Ajith On Wed, Jul 2, 2014 at 10:41 PM, Michael H. Warfield wrote: > On Wed, 2014-07-02 at 10:07 +0530, Ajith Adapa wrote: >> Hi, > >> I am trying to create a ubuntu container in Fedora 20 host and it >

Re: [lxc-users] lxc-create for ubuntu container fails in Fedora 20

2014-07-02 Thread Ajith Adapa
> > I haven't tried it yet but I strongly suspect the Debian template will > be similarly broken. Someone probably needs to open a bugzilla ticket > up at the Fedora Project bugzilla. > I dont see any issues with debian container. I am able to successfully create one and use one. Regards, Ajith

Re: [lxc-users] lxc-create for ubuntu container fails in Fedora 20

2014-07-02 Thread Michael H. Warfield
On Wed, 2014-07-02 at 15:23 +0700, Fajar A. Nugraha wrote: > On Wed, Jul 2, 2014 at 3:11 PM, Ajith Adapa wrote: > > Hi, > > > > I am using the lxc version 1.0.3 from rawhide and it is working fine > > in creating centos and debian containers in fedora 20. > > > > Issue only seems to be with ubuntu

Re: [lxc-users] lxc-create for ubuntu container fails in Fedora 20

2014-07-02 Thread Michael H. Warfield
On Wed, 2014-07-02 at 13:11 -0400, Michael H. Warfield wrote: > On Wed, 2014-07-02 at 10:07 +0530, Ajith Adapa wrote: > > Hi, > > > I am trying to create a ubuntu container in Fedora 20 host and it > > fails as shown below > > > # lxc-create -t ubuntu -n ubuntutest > > Checking cache download in

Re: [lxc-users] lxc-create for ubuntu container fails in Fedora 20

2014-07-02 Thread Michael H. Warfield
On Wed, 2014-07-02 at 10:07 +0530, Ajith Adapa wrote: > Hi, > I am trying to create a ubuntu container in Fedora 20 host and it > fails as shown below > # lxc-create -t ubuntu -n ubuntutest > Checking cache download in /var/cache/lxc/precise/rootfs-amd64 ... > Installing packages in template: ssh

Re: [lxc-users] adding lxc containers to local DNS

2014-07-02 Thread Serge Hallyn
Quoting Bill Smith (william.m.sm...@gmail.com): > On Centos and/or Ubuntu, is there a way to configure the host's DNS so that > the containers mapped in dnsmasq.leases are resolvable by nslookup? I know > I could get there by assigning static IPs and adding them to /etc/hosts. > I'm wondering whe

Re: [lxc-users] adding lxc containers to local DNS

2014-07-02 Thread Drake Wilson
On 02/07/14 08:45, Bill Smith wrote: > On Centos and/or Ubuntu, is there a way to configure the host's DNS so > that the containers mapped in dnsmasq.leases are resolvable by nslookup? Last I checked, if you're using dnsmasq for DHCP, then if you use it as a DNS resolver, it'll also resolve querie

[lxc-users] adding lxc containers to local DNS

2014-07-02 Thread Bill Smith
On Centos and/or Ubuntu, is there a way to configure the host's DNS so that the containers mapped in dnsmasq.leases are resolvable by nslookup? I know I could get there by assigning static IPs and adding them to /etc/hosts. I'm wondering whether it's possible for the host to use the usual C runti

[lxc-users] Setting user environment for unprivileged containers

2014-07-02 Thread Christoph Willing
I'm trying to make unprivileged containers work nicely on Slackware - with some success. After some updates (kernel config, latest shadow, latest lxc, install cgmanager) I worked through steps at https://www.stgraber.org/2014/01/17/lxc-1-0-unprivileged-containers/. I've made a Slackware templat

Re: [lxc-users] lxc-create for ubuntu container fails in Fedora 20

2014-07-02 Thread Ajith Adapa
Hi Fajar, I have tried using download template and it worked without any issue. Regards, Ajith On Wed, Jul 2, 2014 at 1:53 PM, Fajar A. Nugraha wrote: > On Wed, Jul 2, 2014 at 3:11 PM, Ajith Adapa wrote: >> Hi, >> >> I am using the lxc version 1.0.3 from rawhide and it is working fine >> in c

Re: [lxc-users] lxc-create for ubuntu container fails in Fedora 20

2014-07-02 Thread Fajar A. Nugraha
On Wed, Jul 2, 2014 at 3:11 PM, Ajith Adapa wrote: > Hi, > > I am using the lxc version 1.0.3 from rawhide and it is working fine > in creating centos and debian containers in fedora 20. > > Issue only seems to be with ubuntu container in fedora 20. Well, you can try: - editing the template manua

Re: [lxc-users] lxc-create for ubuntu container fails in Fedora 20

2014-07-02 Thread Ajith Adapa
Hi, I am using the lxc version 1.0.3 from rawhide and it is working fine in creating centos and debian containers in fedora 20. Issue only seems to be with ubuntu container in fedora 20. -- Regards, Ajith On Wed, Jul 2, 2014 at 11:12 AM, Fajar A. Nugraha wrote: > On Wed, Jul 2, 2014 at 11:37 A