Your message dated Tue, 15 Mar 2011 17:32:47 +0000
with message-id <[email protected]>
and subject line Bug#606526: fixed in vzctl 3.0.26.1-1
has caused the Debian Bug report #606526,
regarding "vzctl start --wait" waits forever
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
606526: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606526
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vzctl
Version: 3.0.24-10
Severity: normal

"vzctl start $ID --wait" does not work for some time now:

# vzctl start 205 --wait
Starting container ...
Container is mounted
Adding IP address(es): 10.122.2.5
Setting CPU units: 1000
Setting CPUs: 1
Set hostname: foo.example.com
File resolv.conf was modified
Container start in progress, waiting ...
^Z
[1]  + 29226 suspended  vzctl start 205 --wait
root@HN { ~ } [Debian squeeze/sid] [es:20][jobs:1s]
# fg
[1]  + 29226 continued  vzctl start 205 --wait
Error in waitpid(3): No child processes
Container wait failed
Stopping container ...
Container was stopped
Container is unmounted


Suspending the job and resuming it instantly again used to work
around this (that is where I am using Ctrl-Z/^Z above).

It did not help in this case.

Starting the container normally works:

# vzctl start 205
Starting container ...
Container is mounted
Adding IP address(es): 10.122.2.5
Setting CPU units: 1000
Setting CPUs: 1
Set hostname: foo.example.com
File resolv.conf was modified
Container start in progress...
root@HN { ~ } [Debian squeeze/sid]                                              
             !10014 23:26:20
# vzctl enter 205
entered into CT 205
root@foo:/# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.1  0.0   2028   712 ?        Ss   23:26   0:00 init [2]
root       237  0.2  0.0  27188  1304 ?        Sl   23:26   0:00 
/usr/sbin/rsyslogd -c4
root       311  0.0  0.0   4364   936 ?        Ss   23:26   0:00 /usr/sbin/cron
root       368  0.1  0.1   7148  5416 ?        Ss   23:26   0:00 
/usr/sbin/munin-node
root       668  0.0  0.0  18624   624 ?        Ss   23:26   0:00 vzctl: pts/0
root       669  4.0  0.0   4504  3184 pts/0    Ss   23:26   0:00 -bash
root       683  0.0  0.0   2348   928 pts/0    R+   23:26   0:00 ps aux
root@foo:/#


I've tried debugging this using "strace", but it messed up the startup process
even more (when using "-f" IIRC), without "-f" it looks like this:

--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER, 0x7f658ed581e0}, NULL, 8) = 0
stat("/usr/sbin/vzquota", {st_mode=S_IFREG|0755, st_size=58248, ...}) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f658ed581e0}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER|SA_NOCLDSTOP, 0x7f658ed581e0}, 
NULL, 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7f658f8c89d0) = 1654
wait4(1654, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1654
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER, 0x7f658ed581e0}, NULL, 8) = 0
stat("/etc/vz/conf/205.start", 0x7fff0186cd00) = -1 ENOENT (No such file or 
directory)
close(8)                                = 0
read(9, "", 4)                          = 0
write(1, "Container start in progress, wai"..., 41Container start in progress, 
waiting ...
) = 41
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
write(3, "2010-12-09T23:36:56+0100 vzctl :"..., 83) = 83
ioctl(4, 0x400c2e05, 0x7fff0186cd10)    = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7f658f8c89d0) = 1655
wait4(1655, 


I would be glad to provide any additional info, especially if it is not
reproducible for you.

I have just tried it on another container, which is build just upon a minimal
debootstrap template, and it hangs in the same way.

My kernel is the Debian kernel, with customized config.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5+blueyed.1-openvz-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vzctl depends on:
ii  iproute                       20100519-3 networking and traffic control too
ii  libc6                         2.11.2-7   Embedded GNU C Library: Shared lib
ii  vzquota                       3.0.12-3   server virtualization solution - q

Versions of packages vzctl recommends:
ii  rsync                         3.0.7-2    fast remote file copy program (lik

vzctl suggests no packages.

-- Configuration Files:
/etc/bash_completion.d/vzctl.sh changed:
 -- irrelevant --

/etc/init.d/vz changed:
 -- should be just this: --
        ip addr add 10.122.1.1/32 dev $VZDEV

/etc/vz/conf/ve-vps.basic.conf-sample changed:
 -- irrelevant --

/etc/vz/vz.conf changed:
VIRTUOZZO=yes
LOCKDIR=/var/lib/vz/lock
DUMPDIR=/var/lib/vz/dump
VE0CPUUNITS=10000
LOGGING=yes
LOGFILE=/var/log/vzctl.log
LOG_LEVEL=0
VERBOSE=0
DISK_QUOTA=yes
VZFASTBOOT=no
NEIGHBOUR_DEVS=detect
ERROR_ON_ARPFAIL="no"
TEMPLATE=/var/lib/vz/template
VE_ROOT=/var/lib/vz/root/$VEID
VE_PRIVATE=/var/lib/vz/private/$VEID
CONFIGFILE="basic"
DEF_OSTEMPLATE="debian-testing-minimal_6.0_i386"
VZWDOG="no"
IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter 
iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length"
IPV6="no"
IP6TABLES="ip6_tables ip6table_filter ip6table_mangle ip6t_REJECT"


-- no debconf information



--- End Message ---
--- Begin Message ---
Source: vzctl
Source-Version: 3.0.26.1-1

We believe that the bug you reported is fixed in the latest version of
vzctl, which is due to be installed in the Debian FTP archive:

vzctl_3.0.26.1-1.diff.gz
  to main/v/vzctl/vzctl_3.0.26.1-1.diff.gz
vzctl_3.0.26.1-1.dsc
  to main/v/vzctl/vzctl_3.0.26.1-1.dsc
vzctl_3.0.26.1-1_i386.deb
  to main/v/vzctl/vzctl_3.0.26.1-1_i386.deb
vzctl_3.0.26.1.orig.tar.gz
  to main/v/vzctl/vzctl_3.0.26.1.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ola Lundqvist <[email protected]> (supplier of updated vzctl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 15 Mar 2011 16:54:50 +0100
Source: vzctl
Binary: vzctl
Architecture: source i386
Version: 3.0.26.1-1
Distribution: unstable
Urgency: low
Maintainer: Ola Lundqvist <[email protected]>
Changed-By: Ola Lundqvist <[email protected]>
Description: 
 vzctl      - server virtualization solution - control tools
Closes: 606526 611818 615478
Changes: 
 vzctl (3.0.26.1-1) unstable; urgency=low
 .
   * New upstream release. This release solves:
     #597876 in a new way.
     The udev log warning problem. Closes: #615478.
     The wait issue. Closes: #606526.
   * Changed the default OS_TEMPLATE in vz.conf from centos-5 to debian-6.
   * Updated from standards version 3.9.0 to 3.9.1.
   * Updated vzctl.8 man page to tell that default dump dir is in
     /var/lib/vz/dump instead of /vz/dump which is upstream default.
   * Language correction in postinst script. Closes: #611818.
Checksums-Sha1: 
 cd29312e58fac5b6ff825f3a569a8763bf0d9131 978 vzctl_3.0.26.1-1.dsc
 fe0658809d0a8549b0f778620734422116a309f7 523465 vzctl_3.0.26.1.orig.tar.gz
 1f13bb84f5ca825705b83dbd37211c5da9457c5a 17838 vzctl_3.0.26.1-1.diff.gz
 6776018ab5c21fdd032923b46ac27316c2719b79 217730 vzctl_3.0.26.1-1_i386.deb
Checksums-Sha256: 
 47c379f2dea0a97a1184f04dae8a11a0f2ffce99c4e02445403ae60c39622541 978 
vzctl_3.0.26.1-1.dsc
 c62b852a841bd8eb7233c9071ab0d72517cb96e8d7cf52c1c388d2dc2043c6eb 523465 
vzctl_3.0.26.1.orig.tar.gz
 646a848d044221260b2dc9ff57b9469072d677e784fa2a68db11d90fd75e2c44 17838 
vzctl_3.0.26.1-1.diff.gz
 bd34c0a5a2fc6ef758a64fee9fddb25f6b2c1ed661744c0a0faf8f0fa4786281 217730 
vzctl_3.0.26.1-1_i386.deb
Files: 
 c5fb57f56642dfa768e5503695bd8362 978 admin optional vzctl_3.0.26.1-1.dsc
 d7cfdb62183fb8296f53573b7dca7dbd 523465 admin optional 
vzctl_3.0.26.1.orig.tar.gz
 ffae6715ceb66e11cc109ed35da9c05a 17838 admin optional vzctl_3.0.26.1-1.diff.gz
 3dcea5a0f9823b437ec7b028ffa4fe93 217730 admin optional 
vzctl_3.0.26.1-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk1/oAcACgkQGKGxzw/lPdnauACfR31F8sf8noPAbcMERS+rnBzh
INoAn1RkoxR/taoVKJwrJbJJqCqFhvLh
=cyTg
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to