[Devel] Vzctl set --userwasswd question
Dietmar Maurer
dietmar at proxmox.com
Fri Jun 22 02:25:09 PDT 2007
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
More information about the Devel
mailing list