[Users] 'vzctl start CTID --wait' hangs

Roman Haefeli reduzent at gmail.com
Mon Mar 3 07:58:37 PST 2014


On Mon, 2014-01-13 at 11:03 -0800, Kir Kolyshkin wrote:
> On 01/13/2014 10:08 AM, Kir Kolyshkin wrote:
> > On 01/13/2014 01:20 AM, Roman Haefeli wrote:
> >>   When you mentioned the scripts
> >> in /etc/init/ I found that all our flawlessly running Debian 6 CTs don't
> >> have this folder at all. I removed it completely also in the Debian 7 CT
> >> and from then on I was able to start it flawlessly with the --wait flag.
> >
> > Good that you have mentioned it, now I see that /etc/init existence 
> > doesn't
> > mean we have upstart, so we have to patch /etc/inittab regardless.
> >
> > Will fix vzctl accordingly soon.

I only now seem to understand the source of the problem. You are right:
The mere existence of /etc/init/ directory does not necessarily indicate
that upstart is available (at least not on Debian 7 system).  

> Can you test this patch?
> 
> http://git.openvz.org/?p=vzctl;a=commit;h=9a2a60f7f
> 
> You can either build and install it yourself:
> 
>   git clone git://git.openvz.org/vzctl
>   cd vzctl && ./autogen.sh && ./configure && ./setver -U
> 

I just tested with the most recent git version (4.6.1-21.1.ge5f3995) and
it works. Thank you very much.

Roman




More information about the Users mailing list