Quoting S.Çağlar Onur (cag...@10ur.org): > Hey Stéphane, > > On Wed, Nov 27, 2013 at 7:49 PM, Stéphane Graber <stgra...@ubuntu.com> wrote: > > THe recent reorg of lxc-ubuntu introduced some package installation in > > post-process but without first disabling service startup. > > > > As a result, if the cache is a bit out of date and a ssh update is > > available, post-process will apply that update (as it does apt-get > > install ssh vim) which in turn will attemp to start sshd. This will > > either lead to ssh on the host being restarted or if there's no sshd on > > the host, will fail the container creation as the postinst will get an > > error from upstart. > > > > The fix is very simply to add the same policy-rc.d trick when running > > post-process. > > I'm not sure whether this is the desired outcome (I haven't taken a > look at it yet) but it looks like after this change "lxc-create -n t > -t ubuntu" started to take more time (order of couple of minutes) to
Can you reproduce this at will - revert the change and it's faster, reapply and it's slower? -serge ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel