just for your information:
the community discovered a bug in this util-vserver release. which causes chcontext to fail in the following scenarios:
# chcontext --hostname zaphod.2725
doener wrote a quick fix for this bug, which is provided below.
best regards,
raoul bhatia
------ cut -------
diff -NurpP --minimal util-vserver-0.30.205/scripts/chcontext util-vserver-0.30.205-fix/scripts/chcontext
--- util-vserver-0.30.205/scripts/chcontext 2005-03-21 21:03:30.000000000 +0100
+++ util-vserver-0.30.205-fix/scripts/chcontext 2005-03-31 18:48:55.000000000 +0200
@@ -164,7 +164,7 @@ migrate_cmd=( $_VCONTEXT
IFS=$old_IFS
-if $_VSERVER_INFO -q "$OPT_CTX" XIDTYPE static; then
+if test -z "$OPT_CTX" || $_VSERVER_INFO -q "$OPT_CTX" XIDTYPE static; then
"[EMAIL PROTECTED]" "[EMAIL PROTECTED]" -- \
"[EMAIL PROTECTED]" --endsetup --migrate-self -- "$@"
rc=$?
------ cut ------Enrico Scholz wrote:
Hello,
version 0.30.205 util-vserver (alpha branch) is out. Noticable changes are a new 'vhashify' command which is a successor of 'vunify'. It uses some aggressive techniques like mmap'ing of files and the creation of sparse files. To prevent data lossage, it is strongly recommended to execute 'make check' when using non-ext3 filesystems. (Unfortunately, the 'cmp' tool is sometimes not configured for large files and will create false positives).
Another issue is 'vyum': the current 'yum' version makes it impossible to execute it when the vserver is running (there, /.. might be unequal to /). A fix for yum can be found at
https://bugzilla.redhat.com/beta/show_bug.cgi?id=146650#c1
but the upstream author dislikes it. Feel free to request another fix there ;)
Enrico
------------------------------------------------------------------------
_______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
-- ________________________________________________________________________ raoul bhatia email. [EMAIL PROTECTED] ipax web. http://www.ipax.at - chief technician, support - irc. #ipax (quakenet) ________________________________________________________________________ _______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
