Daniel Hokka Zakrisson [Wed, 24 Feb 2010 16:28:00 +0000 (16:28 +0000)]
Sigh.
Daniel Hokka Zakrisson [Wed, 24 Feb 2010 04:07:29 +0000 (04:07 +0000)]
Setting tag util-vserver-pl-0.3-25
Don't set bwlimits if they're disabled.
Don't cleanup /var of running slivers.
Daniel Hokka Zakrisson [Wed, 24 Feb 2010 03:20:33 +0000 (03:20 +0000)]
Don't clean stuff up if it's already running.
Daniel Hokka Zakrisson [Tue, 23 Feb 2010 22:36:14 +0000 (22:36 +0000)]
If no limits are currently set, do nothing.
Marc Fiuczynski [Tue, 23 Feb 2010 05:30:19 +0000 (05:30 +0000)]
Setting tag util-vserver-pl-0.3-24
- openfd -> nofile
Marc Fiuczynski [Tue, 23 Feb 2010 04:57:22 +0000 (04:57 +0000)]
openfd -> nofile
Barış Metin [Tue, 16 Feb 2010 15:59:09 +0000 (15:59 +0000)]
Setting tag util-vserver-pl-0.3-23
call bwlimit init in postinstall.
Barış Metin [Tue, 16 Feb 2010 15:54:45 +0000 (15:54 +0000)]
call bwlimit.init() in postinstall to update classes...
S.Çağlar Onur [Fri, 29 Jan 2010 18:18:12 +0000 (18:18 +0000)]
Setting tag util-vserver-pl-0.3-22
move the HTB tree one level down for DRL
S.Çağlar Onur [Thu, 28 Jan 2010 22:31:38 +0000 (22:31 +0000)]
move the tree one level down for DRL
Thierry Parmentelat [Mon, 25 Jan 2010 14:48:24 +0000 (14:48 +0000)]
Setting tag util-vserver-pl-0.3-21
logging policy only; use /var/log/nm instead of boot.log, and give more details with (un)setdlimit
Thierry Parmentelat [Fri, 22 Jan 2010 11:33:27 +0000 (11:33 +0000)]
fix comment
Thierry Parmentelat [Fri, 22 Jan 2010 11:29:57 +0000 (11:29 +0000)]
in slices: use /var/log/nm instead of /var/log/boot.log
Thierry Parmentelat [Thu, 21 Jan 2010 17:16:55 +0000 (17:16 +0000)]
Thierry Parmentelat [Thu, 21 Jan 2010 15:14:02 +0000 (15:14 +0000)]
log more stuff
Daniel Hokka Zakrisson [Thu, 19 Nov 2009 03:28:49 +0000 (03:28 +0000)]
Setting tag util-vserver-pl-0.3-20
Log the error as well.
Daniel Hokka Zakrisson [Thu, 12 Nov 2009 21:18:31 +0000 (21:18 +0000)]
Log error as well.
Daniel Hokka Zakrisson [Wed, 28 Oct 2009 01:44:34 +0000 (01:44 +0000)]
Setting tag util-vserver-pl-0.3-19
Set ulimits for NM too.
Daniel Hokka Zakrisson [Wed, 28 Oct 2009 01:33:54 +0000 (01:33 +0000)]
Fix typo.
Daniel Hokka Zakrisson [Mon, 26 Oct 2009 05:40:02 +0000 (05:40 +0000)]
infinity is greater than anything.
Daniel Hokka Zakrisson [Sat, 24 Oct 2009 21:59:43 +0000 (21:59 +0000)]
Only handle the values that translate.
Daniel Hokka Zakrisson [Sat, 24 Oct 2009 21:38:07 +0000 (21:38 +0000)]
Optimize the 0.0.0.0 case, and get it working on 2.3 kernels.
Barış Metin [Tue, 20 Oct 2009 12:53:58 +0000 (12:53 +0000)]
bwlimit.set() now accepts the device and don't assume that it's eth0
Setting tag util-vserver-pl-0.3-18
--This line, and those below, will be ignored--
Please write a changelog for this new tag in the section above
DIFF=========
Index: python/bwlimit.py
===================================================================
--- python/bwlimit.py (.../tags/util-vserver-pl-0.3-17) (révision 15382)
+++ python/bwlimit.py (.../trunk) (révision 15382)
@@ -573,8 +573,8 @@
(dev, exempt_minor | xid, exempt_minor | xid))
-def set(xid, share = None, minrate = None, maxrate = None, minexemptrate = None, maxexemptrate = None):
- on(xid = xid, share = share,
+def set(xid, share = None, minrate = None, maxrate = None, minexemptrate = None, maxexemptrate = None, dev = dev ):
+ on(xid = xid, dev = dev, share = share,
minrate = minrate, maxrate = maxrate,
minexemptrate = minexemptrate, maxexemptrate = maxexemptrate)
Barış Metin [Wed, 14 Oct 2009 08:46:32 +0000 (08:46 +0000)]
in bwlimit.set() do not use the global 'dev' but get and pass it to bwlimit.on()
Faiyaz Ahmed [Tue, 4 Aug 2009 16:16:03 +0000 (16:16 +0000)]
Setting tag util-vserver-pl-0.3-17
Fix runlevel clean up after reboot.
Fix runlevel setup to reflect proper runlevel.
Faiyaz Ahmed [Tue, 4 Aug 2009 16:12:33 +0000 (16:12 +0000)]
setting runlevels was set to the wrong path. FIXED
Faiyaz Ahmed [Tue, 28 Jul 2009 21:30:17 +0000 (21:30 +0000)]
Var is never cleaned IN the context. Fixed. THis still does not fix RH initscripts.
Faiyaz Ahmed [Thu, 29 Jan 2009 20:50:34 +0000 (20:50 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-16
supports disabling htbs.
Faiyaz Ahmed [Thu, 29 Jan 2009 20:45:52 +0000 (20:45 +0000)]
dirty...dirty..dirty hack to get rid of r2q.
Faiyaz Ahmed [Thu, 29 Jan 2009 20:34:06 +0000 (20:34 +0000)]
support turning off all queueing
Marc Fiuczynski [Wed, 5 Nov 2008 22:07:34 +0000 (22:07 +0000)]
added in a 'setup' boolean argument to indicate that set_resources is being called while setting up a vserver
Marc Fiuczynski [Thu, 30 Oct 2008 07:27:41 +0000 (07:27 +0000)]
bump tag level and added changelog
Marc Fiuczynski [Thu, 30 Oct 2008 06:22:33 +0000 (06:22 +0000)]
clean up to produce less warnings
Marc Fiuczynski [Thu, 30 Oct 2008 06:13:37 +0000 (06:13 +0000)]
support reading of negative numbers for rlimit values
Marc Fiuczynski [Wed, 29 Oct 2008 22:56:49 +0000 (22:56 +0000)]
added support for MEMLOCK rlimit
Sapan Bhatia [Tue, 14 Oct 2008 17:11:05 +0000 (17:11 +0000)]
Typos...
Sapan Bhatia [Tue, 14 Oct 2008 17:04:13 +0000 (17:04 +0000)]
if ((mask & space_mask.mask) != mask)
return -EINVAL;
Looks like vc_set_space wants vc_space_mask to be present in the flags.
--
M src/planetlab.c
Sapan Bhatia [Tue, 14 Oct 2008 16:42:17 +0000 (16:42 +0000)]
Look for the config file before the FS gets unshared.
Sapan Bhatia [Fri, 10 Oct 2008 14:58:35 +0000 (14:58 +0000)]
bugfix for VINI
Sapan Bhatia [Mon, 6 Oct 2008 23:19:20 +0000 (23:19 +0000)]
contd...
Sapan Bhatia [Mon, 6 Oct 2008 23:16:12 +0000 (23:16 +0000)]
contd...
Sapan Bhatia [Mon, 6 Oct 2008 23:13:51 +0000 (23:13 +0000)]
contd...
Sapan Bhatia [Mon, 6 Oct 2008 23:12:44 +0000 (23:12 +0000)]
contd...
Sapan Bhatia [Mon, 6 Oct 2008 22:57:52 +0000 (22:57 +0000)]
contd...
Sapan Bhatia [Mon, 6 Oct 2008 22:56:07 +0000 (22:56 +0000)]
use util-vserver's style of config, not sapan's funky style.
Sapan Bhatia [Mon, 6 Oct 2008 22:52:42 +0000 (22:52 +0000)]
headers for sys_unshare
Sapan Bhatia [Mon, 6 Oct 2008 22:42:33 +0000 (22:42 +0000)]
Call enter_namespace before ctx_migrate.
Sapan Bhatia [Mon, 6 Oct 2008 22:26:43 +0000 (22:26 +0000)]
set_namespace has alraedy been called onthe default spaces.
Sapan Bhatia [Mon, 6 Oct 2008 22:22:53 +0000 (22:22 +0000)]
call vc_set_namespace after sys_unshare, to poke the new nsproxy into the relevant context in the kernel.
Sapan Bhatia [Mon, 6 Oct 2008 21:38:59 +0000 (21:38 +0000)]
Unshare netns for VINI.
Sapan Bhatia [Mon, 6 Oct 2008 21:38:12 +0000 (21:38 +0000)]
Unshare netns for VINI.
Thierry Parmentelat [Sun, 28 Sep 2008 09:36:46 +0000 (09:36 +0000)]
oops
Thierry Parmentelat [Sun, 28 Sep 2008 09:13:26 +0000 (09:13 +0000)]
full build on centos
Thierry Parmentelat [Tue, 23 Sep 2008 20:58:10 +0000 (20:58 +0000)]
this is needed as well
Thierry Parmentelat [Tue, 23 Sep 2008 19:15:28 +0000 (19:15 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-14
configure/make check the version of libnl and can cope with either 1.1 or 1.0-pre6
as centos does not have any of these, do build vip6-autod on fedora only
Thierry Parmentelat [Tue, 23 Sep 2008 19:09:24 +0000 (19:09 +0000)]
let's keep it simple - our tag tools do not know how to handle this
Thierry Parmentelat [Fri, 19 Sep 2008 15:42:17 +0000 (15:42 +0000)]
tmp hack for assessing centos - package vip6-autod only on fedora as centos has a too old libnl
Daniel Hokka Zakrisson [Fri, 19 Sep 2008 07:58:09 +0000 (07:58 +0000)]
Support both libnl 1.0-pre6 and 1.1.
Disable vip6-autod if the configure script didn't detect a usable libnl.
Remove util-vserver-pl.spec.in, sync the version with configure.ac.
Thierry Parmentelat [Thu, 18 Sep 2008 18:48:13 +0000 (18:48 +0000)]
temporary - do not package vip6-autod for libnl dep - PLEASE DO NOT TAG
Faiyaz Ahmed [Wed, 17 Sep 2008 17:55:32 +0000 (17:55 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-13
Remove current bw limit checks before issuing tc.
Faiyaz Ahmed [Thu, 11 Sep 2008 19:18:34 +0000 (19:18 +0000)]
Remove check for changes in max/min rates before running set().
Daniel Hokka Zakrisson [Fri, 29 Aug 2008 03:17:12 +0000 (03:17 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-12
libnl 1.1 fixups.
Daniel Hokka Zakrisson [Fri, 29 Aug 2008 02:45:44 +0000 (02:45 +0000)]
Use libnl 1.1 API.
Thierry Parmentelat [Thu, 28 Aug 2008 09:21:31 +0000 (09:21 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-11
reads /etc/vservers/<name>/personality and behaves accordingly
nicer formatting for byte rates
Thierry Parmentelat [Wed, 27 Aug 2008 14:30:13 +0000 (14:30 +0000)]
/etc/vservers/<name>/personality
this is a first draft; it is expected that vserver sartup now reads this file and
performs the appropriate personality setting
Goes with NodeManager-1.7-17
Faiyaz Ahmed [Wed, 20 Aug 2008 20:50:26 +0000 (20:50 +0000)]
More convenient output of show.
Daniel Hokka Zakrisson [Sat, 16 Aug 2008 23:15:04 +0000 (23:15 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-10
FUSE support.
Daniel Hokka Zakrisson [Wed, 13 Aug 2008 15:38:57 +0000 (15:38 +0000)]
FUSE patch from Jeremy Stribling.
Daniel Hokka Zakrisson [Tue, 12 Aug 2008 16:51:43 +0000 (16:51 +0000)]
hard == rlim_max
Faiyaz Ahmed [Fri, 1 Aug 2008 18:31:39 +0000 (18:31 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-9
Check running values before issuing set or on. If same, disregard to save on forks.
Faiyaz Ahmed [Fri, 1 Aug 2008 16:04:15 +0000 (16:04 +0000)]
Push bwmin to 1KBps. Also check running values against arguments before calling tc.
Faiyaz Ahmed [Fri, 25 Jul 2008 16:29:42 +0000 (16:29 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-8
exempt_init shouldn't modify iptables rules. Instead, only manipulate ipset. Assume iptables rules are setup properly (now downloaded from nodeconfig/PlanetLabConf for I2 and defaulted to iptables/planetlab-config for all other nodes).
Faiyaz Ahmed [Fri, 25 Jul 2008 16:06:43 +0000 (16:06 +0000)]
Remove iptables rule modification. Assume rule exists (downloaded from conf_files), and check for IPs in I2 hash. Add if absent.
Faiyaz Ahmed [Tue, 22 Jul 2008 17:02:03 +0000 (17:02 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-7
Init exempt flows into "mangle" table.
Faiyaz Ahmed [Tue, 22 Jul 2008 16:59:36 +0000 (16:59 +0000)]
MANGLE and mangle are not the same.
Daniel Hokka Zakrisson [Fri, 27 Jun 2008 16:40:56 +0000 (16:40 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-6
Optimized the case where it's already running.
Daniel Hokka Zakrisson [Fri, 27 Jun 2008 16:35:59 +0000 (16:35 +0000)]
Fix typo.
Daniel Hokka Zakrisson [Fri, 27 Jun 2008 15:58:54 +0000 (15:58 +0000)]
Optimization in case the context is already running.
Daniel Hokka Zakrisson [Thu, 26 Jun 2008 16:48:16 +0000 (16:48 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-5
Ignore ESRCH for setname.
Always create the home directory, regardless of configuration settings.
Daniel Hokka Zakrisson [Thu, 26 Jun 2008 16:40:00 +0000 (16:40 +0000)]
Ignore ESRCH.
Faiyaz Ahmed [Fri, 20 Jun 2008 15:34:06 +0000 (15:34 +0000)]
to create ~/ on non RH distros.
Stephen Soltesz [Fri, 9 May 2008 21:30:39 +0000 (21:30 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-4
Faiyaz Ahmed [Thu, 8 May 2008 21:12:56 +0000 (21:12 +0000)]
Check for file existance before blindly spawning them. Also, remove exit if spawn fails and try spawning subsequent scripts.
Stephen Soltesz [Wed, 23 Apr 2008 21:41:16 +0000 (21:41 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-3
Added support for vc_{set|get}_vhi_name() via util-vserver-pl.
Adding a tag to include in the 4.2rc2
Faiyaz Ahmed [Tue, 22 Apr 2008 18:19:17 +0000 (18:19 +0000)]
Set name as ints, not string.
Faiyaz Ahmed [Wed, 16 Apr 2008 20:38:19 +0000 (20:38 +0000)]
Tagging module util-vserver-pl - util-vserver-pl-0.3-2
* Can write vcVHI_CONTEXT
* CAP_NET_BIND_SERVICE is special, in all cases.
* Check if already mounted before mounting fs in vserver
* Optimized 0.0.0.0 case
* Removed vcached. DEPRECATED
Faiyaz Ahmed [Wed, 16 Apr 2008 18:48:46 +0000 (18:48 +0000)]
Added code from NodeManager.tools to close non standard file descriptors. Avoids zombies and priv'ed fds from entering context.
Faiyaz Ahmed [Mon, 14 Apr 2008 21:50:03 +0000 (21:50 +0000)]
Added wrapper functions to call set/getname
Faiyaz Ahmed [Mon, 14 Apr 2008 21:12:33 +0000 (21:12 +0000)]
Use an unused field. SYSNAME defaults to Linux which probably means this value may change over time. Context is empty and seems safer.
Faiyaz Ahmed [Mon, 14 Apr 2008 20:42:42 +0000 (20:42 +0000)]
syntax error.
Faiyaz Ahmed [Mon, 14 Apr 2008 18:52:38 +0000 (18:52 +0000)]
Set slice id as vcVHI_SYSNAME.
Thierry Parmentelat [Thu, 10 Apr 2008 14:03:14 +0000 (14:03 +0000)]
cross-module change -- cleaning vcached, and vserver pre install script
Daniel Hokka Zakrisson [Thu, 20 Mar 2008 19:13:24 +0000 (19:13 +0000)]
If it's busy, assume it's already mounted.
Daniel Hokka Zakrisson [Thu, 28 Feb 2008 18:30:09 +0000 (18:30 +0000)]
Stop the guest after creating the user/group in it.
Daniel Hokka Zakrisson [Tue, 26 Feb 2008 22:51:12 +0000 (22:51 +0000)]
CAP_NET_BIND_SERVICE is special, in all cases.
Daniel Hokka Zakrisson [Wed, 13 Feb 2008 13:17:36 +0000 (13:17 +0000)]
Enable raw sockets using VNET, and allow connections to 127.0.0.1.
Faiyaz Ahmed [Mon, 28 Jan 2008 20:43:53 +0000 (20:43 +0000)]
kill all processes. fixed syntax error. Thanks Daniel.
Daniel Hokka Zakrisson [Sat, 26 Jan 2008 02:04:34 +0000 (02:04 +0000)]
Optimize the 0.0.0.0 case, and get it working on 2.3 kernels.
Faiyaz Ahmed [Thu, 24 Jan 2008 19:32:59 +0000 (19:32 +0000)]
to avoid people logging in while deleting their slice.
Andy Bavier [Mon, 21 Jan 2008 19:19:07 +0000 (19:19 +0000)]
Clean up code for setting rlimits