util-vserver.git
18 years agoUpdate from util-python
Steve Muir [Mon, 23 May 2005 19:23:57 +0000 (19:23 +0000)]
Update from util-python

18 years agoAdd method to enter a vserver
Steve Muir [Mon, 23 May 2005 19:22:42 +0000 (19:22 +0000)]
Add method to enter a vserver

18 years agoBeginnings of vserver module to support manipulation of vservers without
Steve Muir [Fri, 20 May 2005 21:45:19 +0000 (21:45 +0000)]
Beginnings of vserver module to support manipulation of vservers without
jumping through shell hoops

18 years ago- bump release number since different from planetlab-3_0_1
Mark Huang [Wed, 18 May 2005 17:52:27 +0000 (17:52 +0000)]
- bump release number since different from planetlab-3_0_1

19 years agobump release number for vuseradd /etc/shadow fix
Mark Huang [Tue, 3 May 2005 17:16:54 +0000 (17:16 +0000)]
bump release number for vuseradd /etc/shadow fix

19 years ago- openssh-server 3.8 and above refuse login for "locked" accounts. replace
Mark Huang [Tue, 26 Apr 2005 21:23:28 +0000 (21:23 +0000)]
- openssh-server 3.8 and above refuse login for "locked" accounts. replace
  '!!' with '*' in the shadow password file.
- XXX still need a way to fix existing accounts. probably a script that
  does this for every active vserver (/etc/vservers/*.conf)

19 years agoFix vuserdel to unmount all mountpoints before deleting vserver
Steve Muir [Thu, 7 Apr 2005 19:37:25 +0000 (19:37 +0000)]
Fix vuserdel to unmount all mountpoints before deleting vserver

19 years agoUse getpwnam_r to work around problems with getpwnam on FC3 and Gentoo boxes.
Marc Fiuczynski [Mon, 3 Jan 2005 16:31:48 +0000 (16:31 +0000)]
Use getpwnam_r to work around problems with getpwnam on FC3 and Gentoo boxes.
Fix suggested by Gao Chan from Tsinghua.

19 years agobump release number
Mark Huang [Tue, 30 Nov 2004 18:19:17 +0000 (18:19 +0000)]
bump release number

19 years ago- turn on /etc/init.d/vservers
Mark Huang [Mon, 29 Nov 2004 21:57:41 +0000 (21:57 +0000)]
- turn on /etc/init.d/vservers

19 years ago- bootcd doesn't support extended attribute bits, so "setattr --barrier
Mark Huang [Mon, 29 Nov 2004 21:56:45 +0000 (21:56 +0000)]
- bootcd doesn't support extended attribute bits, so "setattr --barrier
  /vservers" in the rpm %post scriplet won't actually work during
  the initial install. Make sure it's set every time vcached is run.

19 years agoPL3118 and PL3131 fix: use the correct ext2 attribute bits if possible;
Mark Huang [Tue, 23 Nov 2004 14:56:03 +0000 (14:56 +0000)]
PL3118 and PL3131 fix: use the correct ext2 attribute bits if possible;
immulink changed from bit 15 to bit 27 in 2.6.x.

19 years agoPL3118 and PL3131 fix: provide new option "--barrier" to showattr and
Mark Huang [Tue, 23 Nov 2004 14:54:35 +0000 (14:54 +0000)]
PL3118 and PL3131 fix: provide new option "--barrier" to showattr and
setattr to set the barrier bit. Also use the correct ext2 attribute
bits if possible; immulink changed from bit 15 to bit 27 in 2.6.x. Also
provide bit clearing options such as those provided in 0.30.196
(i.e. "--!immutable" or "--~immutable", remember to backslash the ! and
~ characters on the command line).

This program sucks. The 0.30.196 version isn't much better. We should
just hack e2fsprogs chattr.

19 years agoPL3118 and PL3131 fix: do not reset the immutable bits on vservers
Mark Huang [Tue, 23 Nov 2004 14:47:35 +0000 (14:47 +0000)]
PL3118 and PL3131 fix: do not reset the immutable bits on vservers
scheduled for deletion. Rely on vbuild to set the immulink bit correctly
on cloned vservers. rm -rf should not fail if the bit is set correctly.

19 years agochange chroot() escape fix to setting the barrier bit rather than the immulink bit...
Mark Huang [Tue, 23 Nov 2004 14:26:45 +0000 (14:26 +0000)]
change chroot() escape fix to setting the barrier bit rather than the immulink bit, which has changed and is now not even settable by chattr anymore anyway

19 years ago- vcached no longer runs as a daemon
Mark Huang [Fri, 19 Nov 2004 20:51:47 +0000 (20:51 +0000)]
- vcached no longer runs as a daemon
- do not restart vservers when package is upgraded

19 years ago- don't run in single shot mode by default
Mark Huang [Fri, 19 Nov 2004 20:32:14 +0000 (20:32 +0000)]
- don't run in single shot mode by default

19 years ago- add option "-s" to run a single pass (e.g. along with "-f" from
Mark Huang [Fri, 19 Nov 2004 20:27:24 +0000 (20:27 +0000)]
- add option "-s" to run a single pass (e.g. along with "-f" from
  /etc/cron.d/vcached)

19 years agobump release number to 6 for rc4
Mark Huang [Wed, 17 Nov 2004 20:58:06 +0000 (20:58 +0000)]
bump release number to 6 for rc4

19 years ago- clean up some more junk on failure
Mark Huang [Wed, 17 Nov 2004 20:37:32 +0000 (20:37 +0000)]
- clean up some more junk on failure

19 years agoPL2445
Marc Fiuczynski [Wed, 17 Nov 2004 20:34:25 +0000 (20:34 +0000)]
PL2445

Both vcached and vuseradd now print a warning message when vbuild succeeds
but the resulting new vserver image is smaller in size than the
vserver-reference image.

19 years agoPL2445
Marc Fiuczynski [Wed, 17 Nov 2004 19:35:47 +0000 (19:35 +0000)]
PL2445

- Reverted to using "du -s" rather than "du -b -s". Note that after
  several cases where the said test failed on a particular PlanetLab
  production machine, I can no longer cause the failure with "du -b -s".
  This indicates that there is something odd going on with vbuild and/or
  the underlying filesystem.

- Fix exit code bug. When the du size test fails, vuseradd will now exit
  with a non-zero code.  This way node manager wont think the
  /vservers/$NAME vserver was created, eventhough it was not.

- Removing slice account from /etc/passwd upon vbuild or "du" error.

19 years agobump release number to 5 for rc3
Mark Huang [Tue, 16 Nov 2004 17:07:57 +0000 (17:07 +0000)]
bump release number to 5 for rc3

19 years agoPL3026: Updated to support large files (i.e., those >2GB).
Marc Fiuczynski [Tue, 16 Nov 2004 05:15:39 +0000 (05:15 +0000)]
PL3026: Updated to support large files (i.e., those >2GB).

19 years agoPL3026: This is the upgraded version of vdu that maintains an internal
Marc Fiuczynski [Tue, 16 Nov 2004 04:51:30 +0000 (04:51 +0000)]
PL3026: This is the upgraded version of vdu that maintains an internal
hash table of files with a nlink count > 1.  Only if vdu sees all hard
links to a particular inode does it add its size and block count to the
total.

19 years agobump release number
Mark Huang [Mon, 15 Nov 2004 20:16:40 +0000 (20:16 +0000)]
bump release number

19 years agoPL2445 Use -b option to du to avoid rounding errors.
Marc Fiuczynski [Fri, 12 Nov 2004 18:44:09 +0000 (18:44 +0000)]
PL2445 Use -b option to du to avoid rounding errors.

19 years agobump release number
Mark Huang [Mon, 8 Nov 2004 16:24:13 +0000 (16:24 +0000)]
bump release number

19 years ago- don't create the symbolic link /home/slice/.ssh, this is not how
Mark Huang [Sat, 6 Nov 2004 16:10:42 +0000 (16:10 +0000)]
- don't create the symbolic link /home/slice/.ssh, this is not how
  pl_sshd works

19 years agobump release number
Mark Huang [Thu, 4 Nov 2004 18:11:59 +0000 (18:11 +0000)]
bump release number

19 years ago- start vcached slightly later
Mark Huang [Wed, 3 Nov 2004 19:46:48 +0000 (19:46 +0000)]
- start vcached slightly later

19 years ago- PL2479 and PL2299 fix: no access to restricted ports
Mark Huang [Wed, 3 Nov 2004 15:33:20 +0000 (15:33 +0000)]
- PL2479 and PL2299 fix: no access to restricted ports

19 years ago- PL2479 and PL2299 fix: no access to restricted ports if --secure is
Mark Huang [Wed, 3 Nov 2004 15:33:11 +0000 (15:33 +0000)]
- PL2479 and PL2299 fix: no access to restricted ports if --secure is
  passed (default in /usr/sbin/vserver)

19 years agochange URL to repository location
Mark Huang [Wed, 27 Oct 2004 15:11:41 +0000 (15:11 +0000)]
change URL to repository location

19 years ago- giving slices 60 seconds to start isn't realistic. Revert to previous
Mark Huang [Tue, 26 Oct 2004 04:45:54 +0000 (04:45 +0000)]
- giving slices 60 seconds to start isn't realistic. Revert to previous
vserver-init behavior, fork off all vserver init routines (except for
high priority/system slices who can set BACKGROUND=no in their .conf
files, e.g. pl_netflow). vserver exit routines still get 60 seconds to
complete, then they are forcibly killed.
- log stdout/stderr to slice's /var/log/boot.log and close stdin for
their init routines. This may break sensitive SysV init scripts that
assume terminal access.

19 years agoPL2695 fix: remove context profile file
Mark Huang [Tue, 26 Oct 2004 03:11:23 +0000 (03:11 +0000)]
PL2695 fix: remove context profile file

19 years agocalls 'service resman stop ' rather than the vs2ckrm off directly
Marc Fiuczynski [Wed, 20 Oct 2004 21:45:43 +0000 (21:45 +0000)]
calls 'service resman stop ' rather than the vs2ckrm off directly

19 years agocalls 'service resman start ' rather than the *limit scripts directly
Marc Fiuczynski [Wed, 20 Oct 2004 21:45:15 +0000 (21:45 +0000)]
calls 'service resman start ' rather than the *limit scripts directly

19 years ago- PL2580 WAR: disklimit code is malfunctioning
Mark Huang [Wed, 20 Oct 2004 19:01:52 +0000 (19:01 +0000)]
- PL2580 WAR: disklimit code is malfunctioning

19 years ago- turn resource management off after stopping but before deleting the
Mark Huang [Wed, 20 Oct 2004 19:00:52 +0000 (19:00 +0000)]
- turn resource management off after stopping but before deleting the
  vserver

19 years agoIntegrated with resman operations to enable/disable resource management
Marc Fiuczynski [Wed, 20 Oct 2004 02:56:23 +0000 (02:56 +0000)]
Integrated with resman operations to enable/disable resource management
on vservers that are added/deleted, respectively.

19 years agoRemoved ULIMIT setting. Let CKRM do the task limit.
Marc Fiuczynski [Mon, 18 Oct 2004 17:54:51 +0000 (17:54 +0000)]
Removed ULIMIT setting. Let CKRM do the task limit.

19 years ago- start later, after ssh and vserver-reference
Mark Huang [Thu, 14 Oct 2004 18:39:56 +0000 (18:39 +0000)]
- start later, after ssh and vserver-reference

19 years ago- deprecated
Mark Huang [Wed, 13 Oct 2004 02:39:54 +0000 (02:39 +0000)]
- deprecated

19 years ago- CAP_CONTEXT not defined in linuxcaps.h, and is definitely something we
Mark Huang [Wed, 13 Oct 2004 02:39:17 +0000 (02:39 +0000)]
- CAP_CONTEXT not defined in linuxcaps.h, and is definitely something we
  want to remove

19 years ago- rotate /var/log/vcached.log
Mark Huang [Wed, 13 Oct 2004 02:37:02 +0000 (02:37 +0000)]
- rotate /var/log/vcached.log

19 years ago- add -l contortion so that backgrounded processes can re-open the log
Mark Huang [Wed, 13 Oct 2004 02:35:47 +0000 (02:35 +0000)]
- add -l contortion so that backgrounded processes can re-open the log
  file after it's rotated
- handle SIGHUP: re-open the log file
- print warning if vcached is already running
- setsid to detach from the controlling terminal and close stdout,
  stdin, stderr before forking

19 years ago- zap immutable bit before nuking failed vserver build
Mark Huang [Tue, 12 Oct 2004 21:27:15 +0000 (21:27 +0000)]
- zap immutable bit before nuking failed vserver build

19 years ago$%^!*& rpm #&!^*
Marc Fiuczynski [Mon, 11 Oct 2004 19:56:46 +0000 (19:56 +0000)]
$%^!*& rpm #&!^*

Fix to properly install vsh as /bin/vsh.

19 years agoFix so that vsh works from /bin/vsh again.
Marc Fiuczynski [Mon, 11 Oct 2004 19:38:48 +0000 (19:38 +0000)]
Fix so that vsh works from /bin/vsh again.

19 years agoupdated vsh from /bin/vsh to /usr/sbin/vsh
Marc Fiuczynski [Mon, 11 Oct 2004 19:03:52 +0000 (19:03 +0000)]
updated vsh from /bin/vsh to /usr/sbin/vsh

19 years agoUpdated so users can build on even on systems without auto* support.
Marc Fiuczynski [Mon, 11 Oct 2004 18:49:00 +0000 (18:49 +0000)]
Updated so users can build on even on systems without auto* support.

19 years agoAdded vsh.
Marc Fiuczynski [Mon, 11 Oct 2004 18:08:11 +0000 (18:08 +0000)]
Added vsh.

19 years agoman page for the new vsh command.
Marc Fiuczynski [Mon, 11 Oct 2004 15:42:59 +0000 (15:42 +0000)]
man page for the new vsh command.

19 years agoFixed version of vsh.c that no longer uses planetlab.c.
Marc Fiuczynski [Mon, 11 Oct 2004 15:35:18 +0000 (15:35 +0000)]
Fixed version of vsh.c that no longer uses planetlab.c.

Moreover, it parses the S_CAPS entry in /etc/vservers/<vserver>.conf for
the various CAP options.  It does so with better error checking than the
prior version.

19 years agoFixes for vsh.
Marc Fiuczynski [Mon, 11 Oct 2004 15:34:03 +0000 (15:34 +0000)]
Fixes for vsh.

vsh.c no longer usese planetlab.c. This is in preparation of sending a patch
file back to the util-vserver maintainer.

19 years agoIt looks like vsh was never built due to a makefile bug.
Marc Fiuczynski [Mon, 11 Oct 2004 14:57:53 +0000 (14:57 +0000)]
It looks like vsh was never built due to a makefile bug.

19 years ago- add missing shift in restart rule
Mark Huang [Sun, 10 Oct 2004 19:00:55 +0000 (19:00 +0000)]
- add missing shift in restart rule

19 years agoNow reading in the S_CAPS values from the vserver's /etc/vservers/<name>.conf
Marc Fiuczynski [Sat, 9 Oct 2004 05:47:13 +0000 (05:47 +0000)]
Now reading in the S_CAPS values from the vserver's /etc/vservers/<name>.conf
file. In this way, vserver will add to the current shell the appropriate
capabilities.

19 years agoPL2143 workaround and general vuseradd regression fix: add slice user to
Mark Huang [Wed, 22 Sep 2004 17:55:12 +0000 (17:55 +0000)]
PL2143 workaround and general vuseradd regression fix: add slice user to
/etc/sudoers

19 years agovdlimit is a replacement for the prior tools used to set disklimits.
Marc Fiuczynski [Tue, 21 Sep 2004 01:06:06 +0000 (01:06 +0000)]
vdlimit is a replacement for the prior tools used to set disklimits.

The prior tools appear to have been a hack on top of the quota support.

NOTE that the vdlimit code was taken from Herbert Poetzl's Experimental
website. It is vdlimit 0.01. The code didn't compile and was standalone.
I integrated it with util-vserver, but it needs further integration. Have
already sent Herbert email about this and another minor problem.

19 years agofix for bind mount problem
Marc Fiuczynski [Fri, 17 Sep 2004 20:08:04 +0000 (20:08 +0000)]
fix for bind mount problem

19 years agoChecking in the latest version. However, I think this file should be
Marc Fiuczynski [Fri, 17 Sep 2004 09:39:55 +0000 (09:39 +0000)]
Checking in the latest version. However, I think this file should be
removed from the repository, as it is automatically generated by automake.

19 years agoAccounts for hardlinks more accurately than the original version that came
Marc Fiuczynski [Fri, 17 Sep 2004 09:38:45 +0000 (09:38 +0000)]
Accounts for hardlinks more accurately than the original version that came
with util-vserver. The original version ignored to account for all files
whose hard link count > 1. This version maintains a table of such files
and then accounts for their size if it visits all hard links.

19 years agoA simple replacement for the "big" vsh that was used by PlanetLab 2.0.
Marc Fiuczynski [Fri, 17 Sep 2004 09:35:52 +0000 (09:35 +0000)]
A simple replacement for the "big" vsh that was used by PlanetLab 2.0.

Still need to address bind mount issues.

19 years agoThis file contains vserver specific code. It is only used by vsh.c, but
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.

19 years agoadded vsh ; vlimit needs to be fixed so that it compiles, but we don't use it right...
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

19 years ago- group names have a 16 character maximum limit. Since I can't see a
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.

19 years agoregenerate
Mark Huang [Thu, 26 Aug 2004 22:29:54 +0000 (22:29 +0000)]
regenerate

19 years ago- install /usr/lib/util-vserver/sample.conf instead of using a bogus
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

19 years ago- install /usr/lib/util-vserver/sample.conf instead of using a bogus
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

19 years ago- execute /etc/rc.vinit first for backward compatibility
Mark Huang [Thu, 26 Aug 2004 22:28:23 +0000 (22:28 +0000)]
- execute /etc/rc.vinit first for backward compatibility

19 years ago- start me last, kill me first
Mark Huang [Thu, 26 Aug 2004 22:27:42 +0000 (22:27 +0000)]
- start me last, kill me first
- pass args to restart

19 years ago- add /etc/vcached.conf to file list
Mark Huang [Thu, 26 Aug 2004 17:24:25 +0000 (17:24 +0000)]
- add /etc/vcached.conf to file list

19 years agouse install-data-hook to link /etc/init.d/vservers
Mark Huang [Thu, 26 Aug 2004 17:22:45 +0000 (17:22 +0000)]
use install-data-hook to link /etc/init.d/vservers

19 years agoregenerated
Mark Huang [Thu, 26 Aug 2004 16:55:07 +0000 (16:55 +0000)]
regenerated

19 years ago- allow specification of particular vservers to start/stop
Mark Huang [Thu, 26 Aug 2004 16:54:49 +0000 (16:54 +0000)]
- allow specification of particular vservers to start/stop

19 years ago- background startup/shutdown of vservers
Mark Huang [Thu, 26 Aug 2004 16:51:44 +0000 (16:51 +0000)]
- background startup/shutdown of vservers

19 years ago- move vcached configuration here
Mark Huang [Thu, 26 Aug 2004 16:51:32 +0000 (16:51 +0000)]
- move vcached configuration here

19 years ago- set ONBOOT to yes
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

19 years ago- remove iproot junk we don't use (chbind, ifconfig_iproot, nodev, etc.)
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

19 years ago- get configuration from /etc/vcached.conf
Mark Huang [Thu, 26 Aug 2004 16:48:48 +0000 (16:48 +0000)]
- get configuration from /etc/vcached.conf

19 years ago- add /etc/vcached.conf
Mark Huang [Thu, 26 Aug 2004 16:48:37 +0000 (16:48 +0000)]
- add /etc/vcached.conf

19 years ago- moved install-exec-hook rule here
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

19 years ago- move install-exec-hook rule to toplevel Makefile.am
Mark Huang [Thu, 26 Aug 2004 16:47:01 +0000 (16:47 +0000)]
- move install-exec-hook rule to toplevel Makefile.am

19 years ago- remove IPROOT junk that we don't use
Mark Huang [Thu, 26 Aug 2004 16:46:43 +0000 (16:46 +0000)]
- remove IPROOT junk that we don't use

19 years ago- vbuild was hanging because of a corrupt RPM database. Eventually it
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

19 years ago- don't just bail on any error; cleanup first.
Mark Huang [Wed, 25 Aug 2004 14:55:21 +0000 (14:55 +0000)]
- don't just bail on any error; cleanup first.

19 years ago- bail on errors to avoid creating an incomplete vserver
Mark Huang [Mon, 23 Aug 2004 18:30:55 +0000 (18:30 +0000)]
- bail on errors to avoid creating an incomplete vserver

19 years ago- install /etc/vservers/vserver-reference.conf
Mark Huang [Mon, 23 Aug 2004 18:04:55 +0000 (18:04 +0000)]
- install /etc/vservers/vserver-reference.conf

19 years ago- change from /etc/vservers/keys to /var/pl_sshd/keys for backward
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

19 years ago- don't count a bad service stop as a failure
Mark Huang [Thu, 19 Aug 2004 22:11:19 +0000 (22:11 +0000)]
- don't count a bad service stop as a failure

19 years ago- add me to the copyright
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

19 years ago- regenerated
Mark Huang [Thu, 19 Aug 2004 22:06:39 +0000 (22:06 +0000)]
- regenerated

19 years ago- %build: regenerate configure and Makefile.in
Mark Huang [Thu, 19 Aug 2004 22:06:00 +0000 (22:06 +0000)]
- %build: regenerate configure and Makefile.in

19 years ago- merge changes to util-vserver.spec
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

19 years ago- define USR_SBIN (which will be substituted by Makefile-files)
Mark Huang [Wed, 18 Aug 2004 19:53:05 +0000 (19:53 +0000)]
- define USR_SBIN (which will be substituted by Makefile-files)

19 years ago- invert logic so we don't fail if runlevel is unknown
Mark Huang [Mon, 16 Aug 2004 19:27:48 +0000 (19:27 +0000)]
- invert logic so we don't fail if runlevel is unknown

19 years ago- check runlevel before starting/stopping services automatically
Mark Huang [Mon, 16 Aug 2004 19:05:31 +0000 (19:05 +0000)]
- check runlevel before starting/stopping services automatically

19 years agofix services variable reference
Mark Huang [Wed, 11 Aug 2004 21:30:26 +0000 (21:30 +0000)]
fix services variable reference