Add some hints for this common problem.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Mon, 13 Aug 2007 18:10:06 +0000 (18:10 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Mon, 13 Aug 2007 18:10:06 +0000 (18:10 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2586 94cd875c-1c1d-0410-91d2-eb244daf1a30

scripts/functions

index fe7521b..2273cc4 100644 (file)
@@ -994,7 +994,11 @@ function vshelper.doInit
     
     local xid
     xid=$($_VSERVER_INFO "$1" CONTEXT false) && test -n "$xid" || {
-       warning $"vshelper.init: can not determine xid of vserver '$vserver'; returned value was '$xid'"
+       warning $"vshelper.init: can not determine xid of vserver '$vserver'; returned value was '$xid'
+
+This usually means that you're using an init-less init-style, but the
+guest isn't configured to start any service. Try enabling a service,
+changing the init-style, or making the contexts persistent."
        return 1
     }