OpenVZ Forum


Home » Mailing lists » Devel » Vzctl set --userwasswd question
Re: Vzctl set --userwasswd question [message #14337 is a reply to message #14319] Fri, 22 June 2007 18:37 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

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
>
>
 
Read Message
Read Message
Read Message
Previous Topic: [PATCH] namespace: ensure clone_flags are always stored in an unsigned long
Next Topic: [PATCH 0/3] ext4: Extent code cleanup
Goto Forum:
  


Current Time: Tue Oct 15 16:22:39 GMT 2024

Total time taken to generate the page: 0.05805 seconds