From: Chuck (chuck_at_sbbsnet.net)
Date: Tue 20 Sep 2005 - 12:05:14 BST
the test failed unless I didn't do something right..
I got the vanilla kernel and patched it without error to create
2.6.13.1-vs2.1.0-rc2
I included the kernel hacking because there were 2 vserver settings under it..
my settings are below. I tried it both with and without
CONFIG_VSERVER_LEGACY
my vserver settings are
# Kernel hacking
#
# CONFIG_PRINTK_TIME is not set
# CONFIG_DEBUG_KERNEL is not set
CONFIG_LOG_BUF_SHIFT=14
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_EARLY_PRINTK=y
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_MPPARSE=y
CONFIG_VSERVER=y
CONFIG_VSERVER_LEGACYNET=y
#
# Linux VServer
#
# CONFIG_VSERVER_LEGACY is not set
# CONFIG_VSERVER_NGNET is not set
CONFIG_VSERVER_COWBL=y
CONFIG_VSERVER_PROC_SECURE=y
# CONFIG_VSERVER_HARDCPU is not set
# CONFIG_INOXID_NONE is not set
# CONFIG_INOXID_UID16 is not set
# CONFIG_INOXID_GID16 is not set
CONFIG_INOXID_UGID24=y
# CONFIG_INOXID_INTERN is not set
# CONFIG_INOXID_RUNTIME is not set
# CONFIG_XID_TAG_NFSD is not set
# CONFIG_VSERVER_DEBUG is not set
#
After I rebooted into this kernel and verifying it ran properly, I started a
guest and looked into /var/run/vservers.rev to get the number which turned
out to be the context id i gave that particular server "85".
I immediately ran
vattribute --xid 85 --flag ^37
it returned with no visible output
I then entered the vserver using
vserver guestname enter
and made sure it was well, then typed exit
and ran
vserver guestname stop
and with and without legacy, it timed out.
if I set the kernel incorrectly let me know what should be set and I will
repeat this otherwise I am going to start looking through the guest shutdown
code.
--Chuck
"...and the hordes of M$*ft users descended upon me in their anger, and asked 'Why do you not get the viruses or the BlueScreensOfDeath or insecure system troubles and slowness or pay through the nose for an OS as *we* do?!!', and I answered...'I use Linux'. " The Book of John, chapter 1, page 1, and end of book
_______________________________________________ Vserver mailing list Vserver_at_list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver