[Users] cyrillic / russian symbols in the CT console

2014-01-13 Thread spameden
hi guys!

i'm using Debian 7 with OpenVZ wheezy kernel from repository.

if i try to type on my HN russian symbols it works just fine.

but if i inter the CN, e.g.:

vzctl enter ID

and try to type something in russian language i get garbled output and
questionmarks.

i have set correct LANG variable inside the CT node, what else could be
causing this?
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


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

2014-01-13 Thread Kir Kolyshkin

On 01/13/2014 01:20 AM, Roman Haefeli wrote:

On Wed, 2014-01-08 at 23:57 -0800, Kir Kolyshkin wrote:

On 01/08/2014 08:36 AM, Roman Haefeli wrote:

Hi

When I start Debian 7 containers with the '--wait' option, it does start
the CT, but the vzctl command never returns. The same works fine with
Debian 6 containers.

I figured that 'vzctl start CTID --wait' usually adds a line to the
CT's /etc/inittab:

vz:2345:once:touch /.vzfifo

However, such a line is never added to Debian 7 CTs. On Debian 6 CTs,
this line is automatically added whenever the CT is started, even if it
has been removed manually.

A work-around is to add the line manually to /etc/inittab, but I still
wonder why the automatism doesn't work for Debian 7 CTs.


Please file a bug for vzctl, I will take a look soon.

Thanks for addressing this issue. In your notes on bugzilla


[ Just for the sake of people reading it: https://bugzilla.openvz.org/2859 ]


  you mention
that the original reason for the hangs is the missing lo interface.


Yes, this is what I found with the official Debian 7 templates (that I 
will fix soon).



  In
fact, on the CT I tested lo was configured properly and up and running.

I should mention that I made the template myself according to the
instructions found here [1].


Hey, this makes it a perfect example of how to NOT file bug reports! ;-)


  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 wonder about two things:
* How important are those scripts in /etc/init, considering that I was
running Debian CTs for years without them?


This is standard upstart directory. Upstart can be used used instead of 
sysvinit.

Google for debian upstart for more details.


* How did that folder /etc/init sneak into my self-made Debian 7
template?


Perhaps dpkg -S can shed some light? I observe this
on one of my Debian boxes (not running upstart):

root@kir-deb71-ovz:~# dpkg -S /etc/init
sysvinit-utils, ifupdown, udev: /etc/init



  /etc/init/ isn't a standard path in Debian.


Apparently it is (if you choose to use upstart).
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


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

2014-01-13 Thread Kir Kolyshkin

On 01/13/2014 10:08 AM, Kir Kolyshkin wrote:

On 01/13/2014 01:20 AM, Roman Haefeli wrote:

On Wed, 2014-01-08 at 23:57 -0800, Kir Kolyshkin wrote:

On 01/08/2014 08:36 AM, Roman Haefeli wrote:

Hi

When I start Debian 7 containers with the '--wait' option, it does 
start

the CT, but the vzctl command never returns. The same works fine with
Debian 6 containers.

I figured that 'vzctl start CTID --wait' usually adds a line to the
CT's /etc/inittab:

vz:2345:once:touch /.vzfifo

However, such a line is never added to Debian 7 CTs. On Debian 6 CTs,
this line is automatically added whenever the CT is started, even 
if it

has been removed manually.

A work-around is to add the line manually to /etc/inittab, but I still
wonder why the automatism doesn't work for Debian 7 CTs.


Please file a bug for vzctl, I will take a look soon.

Thanks for addressing this issue. In your notes on bugzilla


[ Just for the sake of people reading it: 
https://bugzilla.openvz.org/2859 ]



  you mention
that the original reason for the hangs is the missing lo interface.


Yes, this is what I found with the official Debian 7 templates (that I 
will fix soon).



  In
fact, on the CT I tested lo was configured properly and up and running.

I should mention that I made the template myself according to the
instructions found here [1].


Hey, this makes it a perfect example of how to NOT file bug reports! ;-)


  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.


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

Alternatively, I just build packages for you to test:

http://download.openvz.org/utils/nightlies/vzctl/4.6.1-6.g9a2a60f/

More info on test builds are at http://openvz.org/Download/vzctl/nightly
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users