Marc Fiuczynski [Fri, 17 Sep 2004 09:34:58 +0000 (09:34 +0000)]
This file contains vserver specific code. It is only used by vsh.c, but
at an earlier point was also used by vsuexec.c (not included in the
repository). At some point in the future the code in planetlab.c should
migrate into vsh.c. Moreover, some of the code is redundant with support
provided by the util-vserver library. This should be cleaned up and then
the file should be deprecated.
Marc Fiuczynski [Fri, 17 Sep 2004 09:31:24 +0000 (09:31 +0000)]
added vsh ; vlimit needs to be fixed so that it compiles, but we don't use it right. Will fix vlimit later
Mark Huang [Fri, 27 Aug 2004 16:34:37 +0000 (16:34 +0000)]
- group names have a 16 character maximum limit. Since I can't see a
reason for slices to need custom group names, just assign them to the
"slices" group.
- do a basic sanity check on the new vserver: see if the apparent disk
usage of the new vserver is less than that of the reference image.
Mark Huang [Thu, 26 Aug 2004 22:29:54 +0000 (22:29 +0000)]
regenerate
Mark Huang [Thu, 26 Aug 2004 22:29:38 +0000 (22:29 +0000)]
- install /usr/lib/util-vserver/sample.conf instead of using a bogus
/etc/vservers/vserver-reference.conf
- also chkconfig vservers
Mark Huang [Thu, 26 Aug 2004 22:28:49 +0000 (22:28 +0000)]
- install /usr/lib/util-vserver/sample.conf instead of using a bogus
/etc/vservers/vserver-reference.conf
Mark Huang [Thu, 26 Aug 2004 22:28:23 +0000 (22:28 +0000)]
- execute /etc/rc.vinit first for backward compatibility
Mark Huang [Thu, 26 Aug 2004 22:27:42 +0000 (22:27 +0000)]
- start me last, kill me first
- pass args to restart
Mark Huang [Thu, 26 Aug 2004 17:24:25 +0000 (17:24 +0000)]
- add /etc/vcached.conf to file list
Mark Huang [Thu, 26 Aug 2004 17:22:45 +0000 (17:22 +0000)]
use install-data-hook to link /etc/init.d/vservers
Mark Huang [Thu, 26 Aug 2004 16:55:07 +0000 (16:55 +0000)]
regenerated
Mark Huang [Thu, 26 Aug 2004 16:54:49 +0000 (16:54 +0000)]
- allow specification of particular vservers to start/stop
Mark Huang [Thu, 26 Aug 2004 16:51:44 +0000 (16:51 +0000)]
- background startup/shutdown of vservers
Mark Huang [Thu, 26 Aug 2004 16:51:32 +0000 (16:51 +0000)]
- move vcached configuration here
Mark Huang [Thu, 26 Aug 2004 16:51:11 +0000 (16:51 +0000)]
- set ONBOOT to yes
- fix regexps so that S_CONTEXT and ONBOOT are always reset to their
correct values
Mark Huang [Thu, 26 Aug 2004 16:50:34 +0000 (16:50 +0000)]
- remove iproot junk we don't use (chbind, ifconfig_iproot, nodev, etc.)
- by default, give vservers 60 seconds to complete rc
initialization/shutdown cleanly, then terminate/kill the processes
Mark Huang [Thu, 26 Aug 2004 16:48:48 +0000 (16:48 +0000)]
- get configuration from /etc/vcached.conf
Mark Huang [Thu, 26 Aug 2004 16:48:37 +0000 (16:48 +0000)]
- add /etc/vcached.conf
Mark Huang [Thu, 26 Aug 2004 16:47:34 +0000 (16:47 +0000)]
- moved install-exec-hook rule here
- make a symlink from vservers to vserver-init for backward
compatibility with sidewinder
Mark Huang [Thu, 26 Aug 2004 16:47:01 +0000 (16:47 +0000)]
- move install-exec-hook rule to toplevel Makefile.am
Mark Huang [Thu, 26 Aug 2004 16:46:43 +0000 (16:46 +0000)]
- remove IPROOT junk that we don't use
Mark Huang [Wed, 25 Aug 2004 14:58:45 +0000 (14:58 +0000)]
- vbuild was hanging because of a corrupt RPM database. Eventually it
will die of its own accord.
- build images in .vtmp
- cleanup on error
Mark Huang [Wed, 25 Aug 2004 14:55:21 +0000 (14:55 +0000)]
- don't just bail on any error; cleanup first.
Mark Huang [Mon, 23 Aug 2004 18:30:55 +0000 (18:30 +0000)]
- bail on errors to avoid creating an incomplete vserver
Mark Huang [Mon, 23 Aug 2004 18:04:55 +0000 (18:04 +0000)]
- install /etc/vservers/vserver-reference.conf
Mark Huang [Thu, 19 Aug 2004 22:30:30 +0000 (22:30 +0000)]
- change from /etc/vservers/keys to /var/pl_sshd/keys for backward
compatibility
Mark Huang [Thu, 19 Aug 2004 22:11:19 +0000 (22:11 +0000)]
- don't count a bad service stop as a failure
Mark Huang [Thu, 19 Aug 2004 22:09:20 +0000 (22:09 +0000)]
- add me to the copyright
- add -d debug option, remove OPTIND shift
- make a couple of messages debug only
- fix a couple of $pidfile references
- kill zombie vbuild processes before exiting...not sure why these
don't die automatically
Mark Huang [Thu, 19 Aug 2004 22:06:39 +0000 (22:06 +0000)]
- regenerated
Mark Huang [Thu, 19 Aug 2004 22:06:00 +0000 (22:06 +0000)]
- %build: regenerate configure and Makefile.in
Mark Huang [Thu, 19 Aug 2004 22:05:42 +0000 (22:05 +0000)]
- merge changes to util-vserver.spec
- %build: regenerate configure and Makefile.in
Mark Huang [Wed, 18 Aug 2004 19:53:05 +0000 (19:53 +0000)]
- define USR_SBIN (which will be substituted by Makefile-files)
Mark Huang [Mon, 16 Aug 2004 19:27:48 +0000 (19:27 +0000)]
- invert logic so we don't fail if runlevel is unknown
Mark Huang [Mon, 16 Aug 2004 19:05:31 +0000 (19:05 +0000)]
- check runlevel before starting/stopping services automatically
Mark Huang [Wed, 11 Aug 2004 21:30:26 +0000 (21:30 +0000)]
fix services variable reference
Mark Huang [Wed, 11 Aug 2004 20:48:11 +0000 (20:48 +0000)]
- customize for PlanetLab
Mark Huang [Wed, 11 Aug 2004 20:46:07 +0000 (20:46 +0000)]
- make links to vadduser and vdeluser
Mark Huang [Wed, 11 Aug 2004 19:38:26 +0000 (19:38 +0000)]
- install PlanetLab-specific extensions
Mark Huang [Wed, 11 Aug 2004 19:38:03 +0000 (19:38 +0000)]
- put System V init script for vcached in right place
Mark Huang [Wed, 11 Aug 2004 19:26:16 +0000 (19:26 +0000)]
Merge to util-vserver-0.30
Mark Huang [Wed, 11 Aug 2004 19:25:42 +0000 (19:25 +0000)]
This commit was generated by cvs2svn to compensate for changes in r136,
which included commits to RCS files with non-trunk default branches.
Mark Huang [Fri, 30 Jul 2004 16:46:41 +0000 (16:46 +0000)]
Rewrote vuseradd and vuserdel in bash
Mark Huang [Fri, 30 Jul 2004 16:46:24 +0000 (16:46 +0000)]
Rewrote vcached in bash
Mark Huang [Fri, 30 Jul 2004 16:44:38 +0000 (16:44 +0000)]
How I created a Fedora Core 2 vserver-reference image
Mark Huang [Fri, 30 Jul 2004 16:40:20 +0000 (16:40 +0000)]
This commit was generated by cvs2svn to compensate for changes in r120,
which included commits to RCS files with non-trunk default branches.
Planet-Lab Support [Wed, 4 Jun 2003 20:07:28 +0000 (20:07 +0000)]
New repository initialized by cvs2svn.