OpenVZ Forum


Home » Mailing lists » Devel » Vzctl set --userwasswd question
Vzctl set --userwasswd question [message #14319] Fri, 22 June 2007 09:25 Go to previous message
dietmar is currently offline  dietmar
Messages: 54
Registered: March 2007
Member
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: Fri Sep 13 14:18:08 GMT 2024

Total time taken to generate the page: 0.05089 seconds