Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
Pieter Noordhuis 3af322a694 warden: Use string keys in unchecked hashes
Change-Id: I4056bea0bcbe673d030747ba25b3f168b81769ad
2012-03-29 15:37:35 -07:00
mpage e6e10d2ada [warden] Add sample config for linux platform
This adds a sample config that uses the linux container implementation
instead of the default insecure implementation. Also transform the
"container_klass" property into a klass.

Change-Id: Ida50dc0e4d7c2291ba2d1f6bfec5750d54e5f62e
2012-02-23 15:17:33 -08:00
mpage cc5931aaa8 [warden] Add option to specify config file to warden:start
Change-Id: I08ffd0b8801459fb7a26bd16d40608741d5f5c15
2012-01-20 13:10:13 -08:00
mpage 7b9941d42f [warden] Allow base chroot specification during setup
This adds the ability to specify a specific directory to install the chroot in,
as well as flags to disable debootstrap and apt setup.

Test plan:
- rake setup && rake spec

Change-Id: I8064aa2b757911f3241da26337a40ff1fb1d254b
2012-01-20 13:10:13 -08:00
Pieter Noordhuis 3660be4be0 warden: Extract warden client to a separate gem
Change-Id: Ie56b2e7143fc8e52a6357bc7eb649ed269c22e6a
2012-01-18 19:06:44 -08:00
Pieter Noordhuis 8609330c2e warden: Rework container management scripts
Change-Id: I3588b0a3cee13817903d8c2e103734b8ff55cf6d
2012-01-13 09:47:31 -08:00
Pieter Noordhuis c27daa0e52 warden: Update README
Change-Id: I48f8416e4e1cc52fb34a2c285cd4ba95e71e8999
2011-12-21 14:29:13 -08:00
mpage ce10fc982b Add uid pool to LXC container
This is in preparation for adding quota support to the LXC container.
If a uid pool is supplied the LXC container will now attempt to acquire a
uid for each container that is created. A WardenError will be raised in the
event that a uid cannot be acquired. Note that the uid is the same both inside
and outside the container in order to facilitate enforcement of disk quotas.

Test plan:
- All existing tests pass.
- New tests pass.

Change-Id: Ic509c0cd9e40275f92207d35bb9bfb943d700026
2011-12-05 14:30:00 -08:00
Pieter Noordhuis 79d198df25 warden: Use em-posix-spawn
Change-Id: I07bb2bed927049ca9cfecaaf007ef43d84314c61
2011-11-23 18:27:17 -08:00
Pieter Noordhuis 33459df52c Add warden: manager for ephemeral Linux containers
Change-Id: I3913e5be6392ffec183e9eb58d933988c15deafb
2011-11-17 13:37:25 -08:00