[Devel] Vzctl set --userwasswd question

Kir Kolyshkin kir at openvz.org
Fri Jun 22 15:37:02 PDT 2007


I'm not really sure, but I guess this is old vzctl vs. new kernel 
incompatibility, solved by 
http://git.openvz.org/?p=vzctl;a=commitdiff;h=4766d1f711a73e7929530a5a3f50d749e0f9de6a

Can you please try vzctl-3.0.16 with this patch, or latest vzctl from 
git, and report your results here?

Regards,
  Kir.

Dietmar Maurer wrote:
> Hi all,
>
> I am trying to set a password with the --userpasswd option, the VPS is not
> running:
>
>   
>> vzctl set 777 --userpasswd root:test
>>     
> Starting VE ...
> VE is mounted
> VE start in progress...
> Stopping VE ...
> Unable to stop VE: operation timed out
> Configure meminfo: 309371
>
> Looks like vzctl start init (runlevel 2) on that VPS, so we get a timeout.
> Output form ps for that VPS:
>
>   
>> ps auxww
>>     
> USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
> root         1  0.3  0.0   1948   640 ?        Ss   11:17   0:00 init [2]
> root     18348  0.0  0.0   2760  1436 ?        Ss   11:17   0:00 /bin/sh
> /etc/init.d/rc 2
> root     18357  0.0  0.0   1632   612 ?        Ss   11:17   0:00
> /sbin/syslogd
> ...
>
> So why does it start init - is that expected behavior, or is something wrong
> with my custom template?
>
> The vzctl man page say:
>
>   
>>      --userpasswd user:password
>> 		...
>>            In case VE root is not mounted, it is automatically  mounted,
>>     
> then
>   
>>           all appropriate file changes are applied, then it is unmounted.
>>     
>
> vzctl version 3.0.16-5dso1
> Linux vz-etch 2.6.18-028stab035.1-ovz-smp #1 SMP Wed Jun 13 22:08:06 CEST
> 2007 i686 GNU/Linux
> OS Debian etch
>
> - Dietmar
>
>
> _______________________________________________
> Devel mailing list
> Devel at openvz.org
> https://openvz.org/mailman/listinfo/devel
>   




More information about the Devel mailing list