[Bug 798476] Re: it would be really useful to be able to make i386 lxc containers on a amd64 machine

2011-07-19 Thread Serge Hallyn
The seems reasonable - do you think it would be safe to say that if the argument starts with / it is a path, and, if not, then it is a username? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/798476

Re: [Bug 798476] Re: it would be really useful to be able to make i386 lxc containers on a amd64 machine

2011-07-19 Thread Clint Byrum
Excerpts from Serge Hallyn's message of Tue Jul 19 12:05:52 UTC 2011: The seems reasonable - do you think it would be safe to say that if the argument starts with / it is a path, and, if not, then it is a username? What about ./foo ? -- You received this bug notification because you are a

Re: [Bug 798476] Re: it would be really useful to be able to make i386 lxc containers on a amd64 machine

2011-07-19 Thread Serge Hallyn
Quoting Clint Byrum (cl...@fewbar.com): Excerpts from Serge Hallyn's message of Tue Jul 19 12:05:52 UTC 2011: The seems reasonable - do you think it would be safe to say that if the argument starts with / it is a path, and, if not, then it is a username? What about ./foo ? Don't

[Bug 798476] Re: it would be really useful to be able to make i386 lxc containers on a amd64 machine

2011-07-18 Thread Robert Collins
re this command line - lxc-create -t ubuntu -n n1 -f /etc/lxc.conf -- -r natty -a i386 -b serge -b probably wants to support abs paths, for flexability. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 798476] Re: it would be really useful to be able to make i386 lxc containers on a amd64 machine

2011-07-07 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 0.7.4.2-0.3ubuntu1 --- lxc (0.7.4.2-0.3ubuntu1) oneiric; urgency=low * Sync upstream 0.7.4.2 * Add diff up to git head. - Fix interaction with cgroups-bin (LP: #784093) - Fix arch support to create i386 containers on amd64 (LP:

Re: [Bug 798476] Re: it would be really useful to be able to make i386 lxc containers on a amd64 machine

2011-06-23 Thread Serge Hallyn
Thanks. The lxc package in ppa:serge-hallyn/lxc-natty, with the source at https://code.launchpad.net/~serge-hallyn/ubuntu/oneiric/lxc/update-templates has the rest of the fix, which just amounted to puttings 'lxc.arch' in the config. -- You received this bug notification because you are a

[Bug 798476] Re: it would be really useful to be able to make i386 lxc containers on a amd64 machine

2011-06-22 Thread Serge Hallyn
** Changed in: lxc (Ubuntu) Status: Confirmed = In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/798476 Title: it would be really useful to be able to make i386 lxc containers on a

[Bug 798476] Re: it would be really useful to be able to make i386 lxc containers on a amd64 machine

2011-06-22 Thread Robert Collins
note that my example left uname -m / arch unaltered and this will confuse some apps; linux32 /init/sbin rather than just /init/sbin should address that. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 798476] Re: it would be really useful to be able to make i386 lxc containers on a amd64 machine

2011-06-22 Thread Robert Collins
the lxc lucid template seems this close to being able to do i386 easily. The install_ubuntu() function sets arch from $(arch) without allowing a user supplied override. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 798476] Re: it would be really useful to be able to make i386 lxc containers on a amd64 machine

2011-06-22 Thread Robert Collins
This patch is a bit crude but does the job: using it I built a container and it works, though the arch is reported quirkily ;) sudo arch=i386 lxc-create -n lucid-test-lp -t lucid-lp -f /etc/lxc/local.conf sudo lxc-start -n lucid-test-lp root@lucid-test-lp:~# arch x86_64 root@lucid-test-lp:~# dpkg

[Bug 798476] Re: it would be really useful to be able to make i386 lxc containers on a amd64 machine

2011-06-22 Thread Serge Hallyn
** Changed in: lxc (Ubuntu) Assignee: (unassigned) = Serge Hallyn (serge-hallyn) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/798476 Title: it would be really useful to be able to make i386

[Bug 798476] Re: it would be really useful to be able to make i386 lxc containers on a amd64 machine

2011-06-22 Thread Brian Murray
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/798476 Title: it would be really useful to be able to make i386 lxc containers on a amd64 machine To manage notifications about

[Bug 798476] Re: it would be really useful to be able to make i386 lxc containers on a amd64 machine

2011-06-22 Thread Serge Hallyn
I've sent a patch upstream to add '-a i386' as a command line argument to the template. I will make a few more changes and then push a package to ppa while waiting for upstream to pull in the patch, after which a new release will end up in oneiric (which we can then backport). -- You received

[Bug 798476] Re: it would be really useful to be able to make i386 lxc containers on a amd64 machine

2011-06-22 Thread Serge Hallyn
Patches are here: http://sourceforge.net/mailarchive/forum.php?thread_name=20110622140928.GA12177%40mail.hallyn.comforum_name =lxc-users http://sourceforge.net/mailarchive/forum.php?thread_name=20110622181733.GA17756%40mail.hallyn.comforum_name =lxc-users With these, I can do: lxc-create -t

[Bug 798476] Re: it would be really useful to be able to make i386 lxc containers on a amd64 machine

2011-06-21 Thread Serge Hallyn
twb says he's done it with the template at http://paste.debian.net/120603/ ** Changed in: lxc (Ubuntu) Status: New = Confirmed ** Changed in: lxc (Ubuntu) Importance: Undecided = Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed