Re: [lxc-devel] Pull request: make ubuntu templates apt proxy aware

2014-01-15 Thread Chris Glass
Thanks for merging this in! As suggested, here's a trivial commit adding a commented hook to the common Ubuntu template: https://github.com/lxc/lxc/pull/137 - Chris On Tue, Jan 14, 2014 at 6:21 PM, Stéphane Graber wrote: > On Tue, Jan 14, 2014 at 06:07:32PM +0100, Chris Glass wrote: >

Re: [lxc-devel] Pull request: make ubuntu templates apt proxy aware

2014-01-14 Thread Chris Glass
Should I post the patch to this list instead or is it simply that nobody had time to look at it yet? I don't mean to sound pushy at all (sorry if I do), I'm just trying to contribute "the right way" :) Thanks - Chris On Mon, Jan 13, 2014 at 6:23 PM, Chris Glass wrote: >

Re: [lxc-devel] Pull request: make ubuntu templates apt proxy aware

2014-01-13 Thread Chris Glass
(gmail is messing with my signature, that'll teach me to use the web interface) On Mon, Jan 13, 2014 at 6:22 PM, Chris Glass wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi all, > > Here are the changes I was referring to in my previous email thread - &

[lxc-devel] Pull request: make ubuntu templates apt proxy aware

2014-01-13 Thread Chris Glass
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, Here are the changes I was referring to in my previous email thread - these changes make the ubuntu templates aware of squid-deb-proxy servers visible to the host. https://github.com/lxc/lxc/pull/134 squid-deb-proxy uses avahi to advertise i

Re: [lxc-devel] "pre-start" hooks and avahi

2014-01-12 Thread Chris Glass
is mailing list once they are baked :) - Chris On Sun, Jan 12, 2014 at 5:41 PM, Stéphane Graber wrote: > On Sun, Jan 12, 2014 at 11:39:15AM -0500, Stéphane Graber wrote: >> On Sun, Jan 12, 2014 at 10:21:15AM +0100, Chris Glass wrote: >> > Further investigation (with trace): &

Re: [lxc-devel] "pre-start" hooks and avahi

2014-01-12 Thread Chris Glass
363/ On Sat, Jan 11, 2014 at 4:41 PM, Chris Glass wrote: > Hi, > > Unfortunately I don't think that's the cause of this particular issue. > The error happens in *pre-start*, so the container is not yet started > as far as I can tell (the documentation stipulates that it&

Re: [lxc-devel] "pre-start" hooks and avahi

2014-01-11 Thread Chris Glass
x27;t share uid ranges between any containers). > > Otherwise, you have to change the avahi code to check whether it is in a > container before setting rlimit_nproc. There is a patch to work around > this in the ubuntu trusty package, at least, if you wnat an example of > ho

[lxc-devel] "pre-start" hooks and avahi

2014-01-10 Thread Chris Glass
Hi all, I'm currently hacking on a pre-start hook for the ubuntu and ubuntu-cloud templates that automatically makes ubuntu containers aware of squid-deb-proxy servers the host knows about. For this, I assume the squid-deb-proxy-client package is installed on the host. If you're not familiar with