Tue Oct 2 15:03:34 2001 Martin Knight * bevs.c: Added check to make it only executable by root. Tue Sep 25 15:13:56 2001 Martin Knight * bevs.c: Added function display_help(). created function interactive_shell(const char *vs, struct passwd *pw) for login to vs(code moved from main),added ability to pass commands as arguments to bevs and run them within the vs without having to login. * bevs.txt: Documentation for bevs. Thu May 24 12:08:25 2001 Damion Parry * vsboot.c: Added condition to check that the localmachine will not be started/stopped, needed due to pre_1_4_8 merge. Mon May 21 16:45:00 2001 Tim Sellar * Integrating enhancements from 1.4.8 branch... * Makefile.in: Correctly uninstall vsdredirect. Mon Apr 23 15:52:40 2001 Nick Burrett * vsboot.c (boot_server): Delete function. (shutdown_server): Delete function. (start_s0_iface_up): New function. (start_s1_boot): New function. (shut_s0_iface_down): New function. (shut_s1_sigterm): New function. (shut_s2_sigkill): New function. (shut_s3_unmount_fs): New function. (do_action): New function. (display_help): Remove --bind and --unbind. (main): Remove support for --bind and --unbind. Re-write server boot/shutdown code for clarity. Add an explicit pause of 5 seconds after a SIGTERM is sent to the virtual server. This is to ensure that processes are given a chance to shutdown properly. Wed Mar 28 15:18:09 2001, Damion Parry * vsdredirect.c: Changed call to bind so that if it fails vsdredirect will sleep for 6 secs and then try to connect again. This iterates times, at which point it will fail with an error message to stderr. Wed Feb 7 11:04:18 2001 Damion Parry * Changes made to implement standalone vsdredirect utility * Makefile.in: Added rules to build and install vsdredirect executable Removed vsdredirect.o from vsboot rule. * configure.in: Support for --enable/disbale-vsdredirect removed * acconfig.h: Removed support for vsdredirect configure option * vsdredirect.c: Reinstated main() function, and added commandline argument support to make vsdredirect a standalone entity, allowing port redirection to be executed from within a virtiual server. * vsboot.c: Removed section calling vsdredirect Thu Nov 2 07:41:54 2000 Nick Burrett * vsdredirect.c: Include sys/socket.h and netinet/in.h. Wed Nov 1 18:31:03 2000 Tim Sellar * Makefile.in: Link vsdredirect into vsboot. * configure.in: Allow for --disable-vsdredirect option (by default vsdredirect is called and redirects from port 80 to 8080 on every virtual server) * acconfig.h: added to allow --disable-vsdredierct option * vsdredirect.c: added to provide port redirection support * vsboot.c (boot_server): add calls to vsdredirect Tue Oct 17 09:37:11 2000 Nick Burrett * vsboot.c (find_free_interface): Start aliases from eth0:1. (display_help): Describe --part. (find_vs): New function. (main): Support switch --part. (main, case {start,stop,restart}): Re-structure. Tidy up output. Thu Sep 14 11:18:08 2000 Nick Burrett FreeBSD compile fixes. * Makefile.in (vsboot, bevs, virtuald): Add $(LIBS) to link stage. * configure.in: Check for libkvm. Fri Sep 8 09:43:51 2000 Nick Burrett * Makefile.in (all, clean, install, uninstall): Add virtuald. (virtuald): New target. (virtuald.o): Add dependencies. * virtuald.c: New file. Thu Jul 27 13:05:56 2000 Nick Burrett * vsboot.c (close_interface): Store ipaddr on the stack because inet_ntoa will corrupt the result. Thu Jul 27 08:42:02 2000 Nick Burrett * vsboot.c (boot_server): Deference vs->ipalias. (shutdown_server, main): Likewise. (main, case OPTION_BIND): Set action to `bind'. Fri Jun 30 10:23:09 2000 Nick Burrett * config.guess: Delete file. * config.sub: Delete file. * install-sh: Delete file. Wed Jun 28 17:23:47 2000 Nick Burrett * Version 1.4.2 released. Wed Jun 21 10:36:14 2000 Nick Burrett * Version 1.4.1 released. Thu Jun 8 13:19:12 2000 Nick Burrett * bevs.c (main): Catch cases where the switch isn't `-r'. Wed May 31 17:22:52 2000 Nick Burrett * bevs.c (main): Set a PATH environment variable. Wed May 31 10:20:07 2000 Nick Burrett Support alternative build root for RPM packaging. * Makefile.in (install): Add $(ROOT)/ to all paths. (uninstall): Likewise. Fri May 26 13:33:26 2000 Nick Burrett * All files: Change copyright ownership from Designer Servers Ltd to Idaya Ltd. Wed May 10 09:30:37 2000 Nick Burrett * vsboot.c (boot_server): Change ipaddr const char* parameter to void*. Convert void *ip to a string ipaddr. (close_interface): Likewise. Tue May 9 12:21:35 2000 Nick Burrett * vsboot.c (boot_server): ipalias field is now in virtual server structure. (shutdown_server): Likewise. (main): Likewise. Wed May 3 09:30:08 2000 Nick Burrett * Makefile.in (datadir, exec_prefix, includedir): Add. (infodir, libdir, localstatedir, oldincludedir): Add. (sbindir, sharedstatedir, sysconfdir): Add. (INSTALL): Renamed from INSTALLCMD. (install): New target. (uninstall): New target. * configure.in (AC_PROG_INSTALL): Add. Wed Apr 12 17:32:59 2000 Nick Burrett * Makefile.in (makepriv): Delete. (all): Remove makepriv. (makepriv.o): Delete. * makepriv.c: Delete file - replaced by priv.c. Wed Apr 12 17:25:23 2000 Nick Burrett * priv.c (main): Reduce stack limit to 2Mb. Reduce file size limit to 128Mb. Wed Mar 29 12:40:04 2000 Nick Burrett * priv.c (main): When making file template, use basename of program rather than the full path. (basename): New function. Thu Mar 23 14:41:43 2000 Nick Burrett * priv.c: New file. A replacement for makepriv.c. Mon Mar 6 11:35:37 2000 Nick Burrett * bevs.c (main): Correctly set the member groups for the user. Re-order setuid/setgid as privileges were being dropped in the wrong order. Mon Mar 6 11:28:17 2000 Nick Burrett * bevs.c (main): Allow optional `-r' on command line. If `-r' is not supplied then chroot to VS and setuid to user admin. Tue Feb 8 15:55:37 2000 Nick Burrett * makepriv.c: New file. * Makefile.in (all): Add makepriv. (makepriv): Define. (makepriv.o): Add dependencies. Tue Feb 8 10:31:17 2000 Nick Burrett * bevs.c: Relocated to sys-utils. * vsboot.c: Relocated to sys-utils. * Makefile.in, configure.in: Adjusted to build bevs and vsboot. * ChangeLog: Merged bevs and vsboot. Tue Feb 8 09:21:57 2000 Nick Burrett * vsboot.c (main): Only bind interfaces, or start servers, that are enabled. Mon Feb 7 13:22:12 2000 Nick Burrett * bevs.c (main): Make shell interactive. Mon Jan 10 14:43:12 2000 Nick Burrett * vsboot.c (main): Fix shortopts to accept command line arguments without a preceeding switch. Mon Jan 10 13:47:27 2000 Nick Burrett * vsboot.c (OPTION_START, OPTION_STOP): Define. (OPTION_RESTART, OPTION_BIND, OPTION_UNBIND): Define. (NETDEVICE, MAX_ALIASES): Define. (log, log_error): New functions. (everywhere): Use log and log_error. (find_free_interface): Use MAX_ALIASES. (close_interface): Likewise. (boot_server): Use NETDEVICE for the interface name. (shutdown_server): Likewise. (display_help): New function. (main): Use getopt for command line processing. Implement an optional delay between virtual server startup. Delete refresh command. Wed Dec 15 13:28:40 1999 Nick Burrett * All files: Add GPL copyright notice. Thu Sep 30 03:51:42 1999 Nick Burrett * Makefile.in (clean): Don't delete libvsd.a. Thu Sep 30 03:47:07 1999 Nick Burrett * bevs.c: New file. Wed Sep 29 16:09:33 1999 Nick Burrett * vsboot.c (boot_server): Add `stage' parameter. Bind interfaces if `stage' is 1, run startup script if `stage' is 2. (shutdown_server): Add `stage' parameter. Remove interfaces and send a SIGTERM if `stage' is 1. Send a SIGKILL when `stage' is 2. Unmount /proc if `stage' is 3. (main): Simplify. Improve help text. Add `--parallel' command line option. Wed Sep 1 11:39:22 1999 Nick Burrett * acconfig.h: New file. Wed Sep 1 01:05:01 1999 Nick Burrett * vsboot.c (command): NULL terminal the environment argument vector. Wed Aug 25 12:39:34 1999 Nick Burrett Use an autoconf build environment rather than automake * configure.in: New file. * config.sub, config.guess, install-sh: New files. * Makefile.in: New file. * Makefile.am: Delete. * vsboot.c (environ): Declare extern. (command): Use it, instead of __environ. (find_free_interface): Use more portable interface macros rather than the structure fields directly. (close_interface): Likewise. Fri Jul 23 13:00:48 1999 Nick Burrett * vsboot.c (main): Add commands `bind' and `unbind'. Tue Jul 6 10:36:27 1999 Nick Burrett * vsboot.c (boot_server): Return immediately if `vs' is NULL. (shutdown_server): Likewise. (skfd): New global variable. (find_free_interface): Relocate open/close socket from here to `main' as the failure to create a socket is a critical error. (main): Restarting all servers was incorrectly trying to shutdown a specific server. Error out if the program is not run as the `root' user. Mon Jun 28 13:34:08 1999 Nick Burrett * vsboot.c (boot_server): Don't perform action if the virtual server is disabled. (shutdown_server): Likewise. (main): Don't print `vsboot starting' message.