[Bug 1081786] Re: lxc-create doesn't take advantage of the apt proxy
This bug was fixed in the package lxc - 1.0.0~alpha1-0ubuntu2 --- lxc (1.0.0~alpha1-0ubuntu2) saucy; urgency=low * Add allow-stderr to autopkgtst restrictions as the Ubuntu template uses policy-rc.d to disable some daemons and that causes a message to be printed on stderr when the service tries to start. -- Stephane Graber stgra...@ubuntu.com Thu, 12 Sep 2013 13:57:17 -0400 ** Changed in: lxc (Ubuntu) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1081786 Title: lxc-create doesn't take advantage of the apt proxy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1081786/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1081786] Re: lxc-create doesn't take advantage of the apt proxy
Fix committed in upstream git. ** Changed in: lxc (Ubuntu) Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1081786 Title: lxc-create doesn't take advantage of the apt proxy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1081786/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1081786] Re: lxc-create doesn't take advantage of the apt proxy
** Changed in: lxc (Ubuntu) Assignee: (unassigned) = Serge Hallyn (serge-hallyn) ** Changed in: lxc (Ubuntu) Status: Triaged = In Progress -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1081786 Title: lxc-create doesn't take advantage of the apt proxy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1081786/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1081786] Re: lxc-create doesn't take advantage of the apt proxy
So to do this properly, do I understand right that we would simply grep for Acquire::http::Proxy in /etc/apt/apt.conf and /etc/apt/apt.conf.d/*? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1081786 Title: lxc-create doesn't take advantage of the apt proxy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1081786/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1081786] Re: lxc-create doesn't take advantage of the apt proxy
Assuming /etc/default/lxc is sourced, how about integrating this directly in it: # Is there a local apt-proxy/cacher available ? eval $(apt-config shell MIRROR Acquire::http::Proxy) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1081786 Title: lxc-create doesn't take advantage of the apt proxy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1081786/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 1081786] Re: lxc-create doesn't take advantage of the apt proxy
Quoting Simon Déziel (1081...@bugs.launchpad.net): Assuming /etc/default/lxc is sourced, how about integrating this directly in it: # Is there a local apt-proxy/cacher available ? eval $(apt-config shell MIRROR Acquire::http::Proxy) Thanks, that sounds like a neat trick :) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1081786 Title: lxc-create doesn't take advantage of the apt proxy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1081786/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1081786] Re: lxc-create doesn't take advantage of the apt proxy
I think we could better integrate the host apt proxy data into the template. Ideally the user shouldn't have to make customizations to lxc when the host already knows how to use the proxy. There is a question of whether the host proxy will be valid in the guest (i.e. if using 'http://localhost:3142/', then if we mirror that into the guest then updates will fail in the container although initial container setup will succeed). I'll leave this open with wishlist priority with the hope we can get better integration. ** Changed in: lxc (Ubuntu) Importance: Medium = Wishlist -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1081786 Title: lxc-create doesn't take advantage of the apt proxy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1081786/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1081786] Re: lxc-create doesn't take advantage of the apt proxy
Thanks for reporting this bug. You can work around this by editing /etc/default/lxc and setting MIRROR=http://10.0.3.1:3142/archive.ubuntu.com/ubuntu; (That is assuming you are using the default lxcbr0.) ** Changed in: lxc (Ubuntu) Status: New = Triaged ** Changed in: lxc (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1081786 Title: lxc-create doesn't take advantage of the apt proxy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1081786/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1081786] Re: lxc-create doesn't take advantage of the apt proxy
That's good enough for me, feel free to close the ticket. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1081786 Title: lxc-create doesn't take advantage of the apt proxy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1081786/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs