close 443862 0.30.214-3
thanks

Thanks for the report, this has been fixed in version 0.30.214-3 of
util-vserver that is currently available in sid/lenny/backports.org.

Micah

* Ramon garcia <[EMAIL PROTECTED]> [070924 19:48]:
> Package: util-vserver
> Version: 0.30.212-1
> Severity: important
> Tags: patch
>
> *** Please type your report below this line ***
>
> VServer stop fails to stop the virtual machine if the script that
> does the stop contains commands that work in the network context
> of the virtual machine.
>
> The problem is serious because the natural use of VServer are server
> processes. Often, they cannot be cleanly shutdown. In particular, this
> bug affects the shutdown of any Java server, because the shutdown of
> these servers happens by sending a packet to a certain port. Tomcat is
> affected by this issue.
>
> The fix is simple. Someone just forgot to run the shutdown command
> in the context of the virtual machine.
>
> In the script vserver.stop replace:
>
> elif $_VSERVER_INFO - FEATURE migrate; then
>    "[EMAIL PROTECTED]" \
>    ${USE_VNAMESPACE:+$_VNAMESPACE --enter "$S_CONTEXT" -- } \
>    $_VCONTEXT $SILENT_OPT --migrate --chroot --xid "$S_CONTEXT" -- \
>    "[EMAIL PROTECTED]" || fail=1
> else
>
> by
>
> elif $_VSERVER_INFO - FEATURE migrate; then
>    "[EMAIL PROTECTED]" \
>    "$_CHBIND" "[EMAIL PROTECTED]" \
>    ${USE_VNAMESPACE:+$_VNAMESPACE --enter "$S_CONTEXT" -- } \
>    $_VCONTEXT $SILENT_OPT --migrate --chroot --xid "$S_CONTEXT" -- \
>    "[EMAIL PROTECTED]" || fail=1
>
> The missing chbind command is what prevents the vserver stop command
> from running commands in the network context of the virtual machine.
>
> The issue has been reported to the developer of vserver utils. See
> http://savannah.nongnu.org/bugs/?func=detailitem&item_id=20475
> and it has been fixed in the latest release.
>
>
> -- System Information:
> Debian Release: 4.0
>  APT prefers stable
>  APT policy: (500, 'stable')
> Architecture: i386 (i686)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.18-5-vserver-686
> Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
>
>
>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to