9 years agoadd missing chunk
S.Çağlar Onur [Wed, 28 Apr 2010 19:41:45 +0000]
add missing chunk

9 years agoadd f12 files
S.Çağlar Onur [Wed, 28 Apr 2010 19:39:32 +0000]
add f12 files

9 years agodisable doc generation
S.Çağlar Onur [Tue, 27 Apr 2010 20:47:55 +0000]
disable doc generation

9 years agostart to track Daniel's version
S.Çağlar Onur [Wed, 7 Apr 2010 20:51:53 +0000]
start to track Daniel's version

11 years agoready for tagging
Thierry Parmentelat [Tue, 8 Jan 2008 11:49:43 +0000]
ready for tagging
reviewed URLs and %{plrelease}

11 years agosample.conf removed.
Daniel Hokka Zakrisson [Mon, 26 Nov 2007 13:52:26 +0000]
sample.conf removed.

11 years ago_Much_ more complex vip6-autod, now cleans up after a stopped guest too.
Daniel Hokka Zakrisson [Sat, 24 Nov 2007 20:22:17 +0000]
_Much_ more complex vip6-autod, now cleans up after a stopped guest too.

11 years agoMerge 0.30.214.
Daniel Hokka Zakrisson [Fri, 23 Nov 2007 21:23:22 +0000]
Merge 0.30.214.

11 years agoRemove deprecated files.
Daniel Hokka Zakrisson [Fri, 23 Nov 2007 18:59:18 +0000]
Remove deprecated files.

12 years agofirst pass at a script to rename a vserver
Marc Fiuczynski [Mon, 19 Nov 2007 17:41:07 +0000]
first pass at a script to rename a vserver

12 years agodeprecating vnet.
Faiyaz Ahmed [Wed, 14 Nov 2007 21:57:58 +0000]
deprecating vnet.

12 years agodisplay sed command before invokation
Thierry Parmentelat [Thu, 8 Nov 2007 09:44:21 +0000]
display sed command before invokation

12 years agoreverting to original version
Thierry Parmentelat [Thu, 8 Nov 2007 09:43:42 +0000]
reverting to original version

12 years agoDaniel has a point, that the @VAR@ strings need to be protected against configure...
Thierry Parmentelat [Thu, 8 Nov 2007 09:00:27 +0000]
Daniel has a point, that the @VAR@ strings need to be protected against configure expansion
We thus introduce quoting again here, but using only double quotes seems a safer choice though:
This variable is used as
sed -e '$(pkgconf_SUBST)'
so quote matching does not happen the way it seems at first glance

12 years agocleaned quoting due to a broken build on fc6, on build.one-lab.org at least
Thierry Parmentelat [Wed, 7 Nov 2007 10:29:22 +0000]
cleaned quoting due to a broken build on fc6, on build.one-lab.org at least

12 years agoOn FC5 and above rpmbuil will run brp on all python files that
Marc Fiuczynski [Wed, 24 Oct 2007 20:42:29 +0000]
On FC5 and above rpmbuil will run brp on all python files that
generates the .pyc and .pyo files.  The spec file currently accounts
for that and explicitly ignores them.  However, brp is not run by
FC4's version of rpmbuild and so we need to explicitly create them
using "touch".  This seems like the most harmless way to get things
working rather than trying to build in conditionals that check whether
we are on FC4.

12 years agoPython...
Daniel Hokka Zakrisson [Tue, 23 Oct 2007 17:53:36 +0000]
Python...

12 years agoDon't wait for the initscripts to complete.
Daniel Hokka Zakrisson [Sat, 13 Oct 2007 01:04:57 +0000]
Don't wait for the initscripts to complete.

12 years agoReally don't rely on util-python anymore.
Daniel Hokka Zakrisson [Thu, 11 Oct 2007 17:37:36 +0000]
Really don't rely on util-python anymore.

12 years agoMore __u64 and __s64 fixes.
Daniel Hokka Zakrisson [Wed, 10 Oct 2007 14:50:17 +0000]
More __u64 and __s64 fixes.

12 years agoFix __u64 and __s64 checks.
Daniel Hokka Zakrisson [Wed, 10 Oct 2007 14:43:12 +0000]
Fix __u64 and __s64 checks.

12 years agoTry to fix compile failures.
Daniel Hokka Zakrisson [Wed, 10 Oct 2007 13:46:06 +0000]
Try to fix compile failures.

12 years agoCheck for a function that requires 1.0-pre6.
Daniel Hokka Zakrisson [Sun, 7 Oct 2007 23:37:39 +0000]
Check for a function that requires 1.0-pre6.

12 years agoFix memory leak.
Daniel Hokka Zakrisson [Thu, 4 Oct 2007 00:47:33 +0000]
Fix memory leak.

12 years ago%changelog and Requires.
Daniel Hokka Zakrisson [Wed, 3 Oct 2007 17:35:28 +0000]
%changelog and Requires.

12 years agoBuild the python code using automake.
Daniel Hokka Zakrisson [Wed, 3 Oct 2007 17:29:03 +0000]
Build the python code using automake.

12 years agoDHOZAC suggestion to remove race between vuseradd and vcached. The only time there...
Faiyaz Ahmed [Thu, 30 Aug 2007 20:24:27 +0000]
DHOZAC suggestion to remove race between vuseradd and vcached.  The only time there would be trash to take out is if a previous vcached/vuseradd instance was running when the box was rebooted.

12 years agoRemove unnecessary code, use const where appropriate
Daniel Hokka Zakrisson [Mon, 6 Aug 2007 17:08:14 +0000]
Remove unnecessary code, use const where appropriate

12 years agoThere's no need to call getpwuid/getpwnam_r 5 times. Do it once before chroot, once...
Daniel Hokka Zakrisson [Fri, 3 Aug 2007 18:11:10 +0000]
There's no need to call getpwuid/getpwnam_r 5 times. Do it once before chroot, once after.
Refuse creating new contexts, NodeManager should be creating them.

12 years agoSet the ulimits whenever pl_chcontext is called
Daniel Hokka Zakrisson [Fri, 3 Aug 2007 14:28:22 +0000]
Set the ulimits whenever pl_chcontext is called

12 years agorevert
Daniel Hokka Zakrisson [Fri, 3 Aug 2007 13:27:12 +0000]
revert

12 years agowhitelist cleanups
Daniel Hokka Zakrisson [Fri, 3 Aug 2007 13:25:57 +0000]
whitelist cleanups

12 years agoremove whitelist support.
Faiyaz Ahmed [Thu, 2 Aug 2007 21:13:08 +0000]
remove whitelist support.

12 years agoCache the entire file
Daniel Hokka Zakrisson [Thu, 2 Aug 2007 16:01:59 +0000]
Cache the entire file

12 years agoCan't touch the configuration after we chroot
Daniel Hokka Zakrisson [Thu, 2 Aug 2007 15:26:42 +0000]
Can't touch the configuration after we chroot

12 years agoFix typo and a traceback
Daniel Hokka Zakrisson [Wed, 1 Aug 2007 21:48:42 +0000]
Fix typo and a traceback

12 years agoShould've been part of the previous commit.
Daniel Hokka Zakrisson [Wed, 1 Aug 2007 21:45:28 +0000]
Should've been part of the previous commit.

12 years agoImprove the libnl checks, also checking for the required types
Daniel Hokka Zakrisson [Wed, 1 Aug 2007 20:27:46 +0000]
Improve the libnl checks, also checking for the required types

12 years agoMake sure the configuration directory exists and that it's usable
Daniel Hokka Zakrisson [Wed, 1 Aug 2007 18:33:28 +0000]
Make sure the configuration directory exists and that it's usable

12 years agospawnvp only takes three arguments
Daniel Hokka Zakrisson [Tue, 31 Jul 2007 22:04:24 +0000]
spawnvp only takes three arguments

12 years agoclose is implicit in dup2
Daniel Hokka Zakrisson [Tue, 31 Jul 2007 18:14:02 +0000]
close is implicit in dup2

12 years agoMake file descriptor handling more resilient
Daniel Hokka Zakrisson [Tue, 31 Jul 2007 16:31:04 +0000]
Make file descriptor handling more resilient

12 years agoFix typo and remove old IP addresses
Daniel Hokka Zakrisson [Tue, 31 Jul 2007 14:36:19 +0000]
Fix typo and remove old IP addresses

12 years agoMinor fixes, sort of preparing for removing the IPs of no-longer-existing contexts.
Daniel Hokka Zakrisson [Mon, 30 Jul 2007 21:19:50 +0000]
Minor fixes, sort of preparing for removing the IPs of no-longer-existing contexts.

12 years agoDon't require libnl-devel, guess the path to it based on default location during...
Daniel Hokka Zakrisson [Mon, 30 Jul 2007 21:19:00 +0000]
Don't require libnl-devel, guess the path to it based on default location during a nightly.

12 years ago... and another typo
Daniel Hokka Zakrisson [Mon, 30 Jul 2007 15:21:07 +0000]
... and another typo

12 years agoTypo
Daniel Hokka Zakrisson [Mon, 30 Jul 2007 15:15:16 +0000]
Typo

12 years agoadd the vip6-autod initscript
Daniel Hokka Zakrisson [Mon, 30 Jul 2007 15:12:32 +0000]
add the vip6-autod initscript

12 years agoMake vip6-autod a daemon
Daniel Hokka Zakrisson [Mon, 30 Jul 2007 14:59:11 +0000]
Make vip6-autod a daemon

12 years agoFigure out the mask/prefix automatically
Daniel Hokka Zakrisson [Mon, 30 Jul 2007 14:58:16 +0000]
Figure out the mask/prefix automatically

12 years agoUse the correct name, and replace them
Daniel Hokka Zakrisson [Fri, 27 Jul 2007 21:52:23 +0000]
Use the correct name, and replace them

12 years agoAdd libnl-devel build requirement
Daniel Hokka Zakrisson [Fri, 27 Jul 2007 18:15:56 +0000]
Add libnl-devel build requirement

12 years agoAdd vip6-autod
Daniel Hokka Zakrisson [Fri, 27 Jul 2007 18:14:40 +0000]
Add vip6-autod

12 years agoNodeManager handles IP addresses now
Daniel Hokka Zakrisson [Fri, 27 Jul 2007 18:13:55 +0000]
NodeManager handles IP addresses now

12 years agoAdd support for assigning IP addresses
Daniel Hokka Zakrisson [Fri, 27 Jul 2007 18:02:08 +0000]
Add support for assigning IP addresses

12 years agoCleaner remove-all-of-AF_x
Daniel Hokka Zakrisson [Thu, 26 Jul 2007 23:08:00 +0000]
Cleaner remove-all-of-AF_x

12 years agoClean up the IPv6 auto-configuration daemon
Daniel Hokka Zakrisson [Thu, 26 Jul 2007 19:00:23 +0000]
Clean up the IPv6 auto-configuration daemon

12 years agoadd PoC IPv6 auto-configuration daemon
Daniel Hokka Zakrisson [Wed, 25 Jul 2007 19:32:47 +0000]
add PoC IPv6 auto-configuration daemon

12 years agoPrettify error output.
Daniel Hokka Zakrisson [Tue, 24 Jul 2007 18:38:05 +0000]
Prettify error output.

12 years agoFix configuration conversion
Daniel Hokka Zakrisson [Tue, 24 Jul 2007 17:22:37 +0000]
Fix configuration conversion

12 years agoRestart nm on util-vserver-python upgrade
Faiyaz Ahmed [Mon, 23 Jul 2007 19:39:37 +0000]
Restart nm on util-vserver-python upgrade

12 years agore-add Marc's patch that got lost in the merge
Daniel Hokka Zakrisson [Fri, 20 Jul 2007 19:45:35 +0000]
re-add Marc's patch that got lost in the merge

12 years agoRemove unneeded requires.
Daniel Hokka Zakrisson [Fri, 20 Jul 2007 19:37:47 +0000]
Remove unneeded requires.

12 years agoAdd the conversion scripts.
Daniel Hokka Zakrisson [Fri, 20 Jul 2007 19:37:26 +0000]
Add the conversion scripts.

12 years agoAdd some scripts to convert a legacy config to the new tree.
Daniel Hokka Zakrisson [Fri, 20 Jul 2007 16:31:29 +0000]
Add some scripts to convert a legacy config to the new tree.

12 years agoskip the network context setup if it already exists
Daniel Hokka Zakrisson [Wed, 18 Jul 2007 14:58:29 +0000]
skip the network context setup if it already exists

12 years agoremove persistent to actually get rid of the contexts
Daniel Hokka Zakrisson [Wed, 18 Jul 2007 14:51:37 +0000]
remove persistent to actually get rid of the contexts

12 years agoindentation + use subprocess to avoid vdu zombies
Daniel Hokka Zakrisson [Wed, 18 Jul 2007 14:50:49 +0000]
indentation + use subprocess to avoid vdu zombies

12 years agobe less strict regarding the capabilities
Daniel Hokka Zakrisson [Tue, 17 Jul 2007 18:55:25 +0000]
be less strict regarding the capabilities

12 years agosyntax.
Faiyaz Ahmed [Tue, 17 Jul 2007 17:56:04 +0000]
syntax.

12 years agoAdded CVS Id field.
Faiyaz Ahmed [Tue, 17 Jul 2007 17:51:27 +0000]
Added CVS Id field.

12 years agoadd support for bcapabilities
Daniel Hokka Zakrisson [Mon, 16 Jul 2007 15:21:31 +0000]
add support for bcapabilities

12 years ago-D makes install choke here, expecting the last path component to be a non-directory
Daniel Hokka Zakrisson [Fri, 13 Jul 2007 17:52:16 +0000]
-D makes install choke here, expecting the last path component to be a non-directory

12 years agoget rid of update_resources, simply use self.config directly
Daniel Hokka Zakrisson [Fri, 13 Jul 2007 15:20:45 +0000]
get rid of update_resources, simply use self.config directly

12 years agowork without vnet
Daniel Hokka Zakrisson [Fri, 13 Jul 2007 15:16:18 +0000]
work without vnet

12 years agoset vm_running based on is_running, always update scheduler configuration
Daniel Hokka Zakrisson [Fri, 6 Jul 2007 17:39:26 +0000]
set vm_running based on is_running, always update scheduler configuration

12 years agoFix typo.
Daniel Hokka Zakrisson [Fri, 6 Jul 2007 17:38:36 +0000]
Fix typo.

12 years agofix some logic flaws
Daniel Hokka Zakrisson [Thu, 5 Jul 2007 21:16:52 +0000]
fix some logic flaws

12 years agomerge with 0.30.213
Daniel Hokka Zakrisson [Thu, 5 Jul 2007 19:05:15 +0000]
merge with 0.30.213

12 years agoThis commit was generated by cvs2svn to compensate for changes in r2826,
Daniel Hokka Zakrisson [Thu, 5 Jul 2007 18:38:05 +0000]
This commit was generated by cvs2svn to compensate for changes in r2826,
which included commits to RCS files with non-trunk default branches.

12 years agouse platform provided RLIMIT_ values
Marc Fiuczynski [Thu, 28 Jun 2007 21:35:20 +0000]
use platform provided RLIMIT_ values

12 years agobumped release version for NM
Stephen Soltesz [Fri, 22 Jun 2007 17:10:34 +0000]
bumped release version for NM

12 years agoDon't nuke /var/run.
David E. Eisenstat [Thu, 21 Jun 2007 15:29:17 +0000]
Don't nuke /var/run.

12 years agoSapan's fix for hung init script processes
Marc Fiuczynski [Thu, 14 Jun 2007 21:59:07 +0000]
Sapan's fix for hung init script processes

12 years agodon't use lamba; put calls to vserverimpl in try blocks
Marc Fiuczynski [Thu, 31 May 2007 18:23:18 +0000]
don't use lamba; put calls to vserverimpl in try blocks

12 years agodrops passing in flags to pl_chcontext
Marc Fiuczynski [Thu, 31 May 2007 18:21:52 +0000]
drops passing in flags to pl_chcontext

12 years agoChange "slice suspended" and "not been allocated resources" messages to include hostname.
David E. Eisenstat [Sun, 20 May 2007 12:45:00 +0000]
Change "slice suspended" and "not been allocated resources" messages to include hostname.

12 years ago- clean up vserver_set_rlimit()
Marc Fiuczynski [Tue, 15 May 2007 16:22:37 +0000]
- clean up vserver_set_rlimit()
- clean up vserver_isrunning() to return Python Bool

12 years agomaking 'adjust_lim' global function
Marc Fiuczynski [Tue, 15 May 2007 16:20:55 +0000]
making 'adjust_lim' global function

12 years agoFixed typo
Marc Fiuczynski [Thu, 10 May 2007 22:45:08 +0000]
Fixed typo

12 years agoReset internal state (limits_changed) of a vserver when the sliver is
Marc Fiuczynski [Thu, 10 May 2007 22:39:14 +0000]
Reset internal state (limits_changed) of a vserver when the sliver is
  started or stopped.

12 years agoAdded support maintain state about whether limits have changed since
Marc Fiuczynski [Thu, 10 May 2007 22:37:05 +0000]
Added support maintain state about whether limits have changed since
  the last time the vserver was started.

12 years agoFix vserver_isrunning() by doing a simple stat of /proc/virtual/
Marc Fiuczynski [Thu, 10 May 2007 22:35:32 +0000]
Fix vserver_isrunning() by doing a simple stat of /proc/virtual/

12 years agoCleaned up limit setting code
Marc Fiuczynski [Thu, 10 May 2007 20:21:13 +0000]
Cleaned up limit setting code

12 years agoAdded is_running method.
Marc Fiuczynski [Thu, 10 May 2007 15:30:21 +0000]
Added is_running method.

Added methods to support the setting and getting of a number of
vserver related rlimits: CPU, RSS, NRPC, NOFILE, MEMLOCK, AS, LOCKS,
SIGPENDING, MSGQUEUE, NSOCK, OPENFD, ANON, SHMEM.

Added methods to support the setting and getting of the above rlimit
values to the vserver's config file.

Added method to set the vserver's WHITELISTED variable in its config
file.  This value is checked by vsh.

Deleted {s,g}et_memlimit {s,g}et_tasklimit.

12 years agoAdded in a number of python exposed vserver constants.
Marc Fiuczynski [Thu, 10 May 2007 15:26:34 +0000]
Added in a number of python exposed vserver constants.

Cleaned up support for setting/getting vserver rlimits.

Added 'vserver_isrunning' function.

12 years agoMoved getlimits and other support functions out to planetlab.[ch].
Marc Fiuczynski [Thu, 10 May 2007 15:24:09 +0000]
Moved getlimits and other support functions out to planetlab.[ch].

Cleaned up 'sandbox_processes' function.

Print error message when a vserver is not on a node's whitelist.

12 years agogeneralized setting and getting of vserver limits
Marc Fiuczynski [Thu, 10 May 2007 15:22:08 +0000]
generalized setting and getting of vserver limits

12 years agocommand line program to both get and set a vservers disklimits
Marc Fiuczynski [Thu, 10 May 2007 15:20:50 +0000]
command line program to both get and set a vservers disklimits

12 years agobumbed release number and added 'disklimit' as another file to be deployed with this rpm
Marc Fiuczynski [Thu, 10 May 2007 15:20:16 +0000]
bumbed release number and added 'disklimit' as another file to be deployed with this rpm