Commit Graph

1578 Commits

Author SHA1 Message Date
legoater
6c5084efa4 fix missing src/lxc/lxc-checkconfig 2008-10-23 07:21:49 +00:00
dlezcano
22e761af89 This new command is a helper to check if the needed functionalities are
compiled the kernel. It relies on /proc/config.gz, if it is not compiled,
the command will simply fail.
If a feature is missing but not mandatory, "disabled" keyword will appear
in yellow, if it is mandatory, it will appear in "red", otherwise the key
word "enabled" will appear in green.
2008-10-20 11:45:19 +00:00
dlezcano
80f412985e These modifications improve the monitoring support of the container. Now
several readers can attend the events from one or several containers.
The syntax of the command has been enhanced to interpret regular expressions.
If you want to monitor foo, lxc-monitor -n foo is the right command. If you
want to monitor foo and bar, you should specify lxc-monitor -n "foo|bar",
if you want to monitor all containers with the name beginning with 'foo',
you have to specify lxc-monitor -n "foo.*". More complex regexp can be specified
in accordance with the POSIX definitions, man regex (7).
2008-10-18 21:07:39 +00:00
dlezcano
848e89275f Updated with the cgroup section and fixed some typos 2008-10-15 07:30:09 +00:00
dlezcano
e704563b6a Updated changelog for version 0.3.0 2008-10-09 18:46:11 +00:00
dlezcano
477080842b Updated changelog 2008-10-09 18:39:34 +00:00
dlezcano
c3f0a28cec Removed useless readlink before chrooting 2008-10-08 14:15:58 +00:00
dlezcano
536b97f0c8 Removed useless opentty function and moved the sighandler restore to the right place 2008-10-08 14:15:17 +00:00
dlezcano
69437d52ec Changed indentation ... :) 2008-10-08 11:39:24 +00:00
dlezcano
86f7d054cd Fix configure error when checking the netlink headers 2008-10-08 11:24:31 +00:00
dlezcano
2ab8e9baa7 Add a command line to setup/retrieve value of cgroup subsystem, lxc-cgroup -n <container name> <subsystem> [value]. If the value is specified, the subsystem is modified, if it is not specified, the value of the subsystem is returned 2008-10-07 14:24:56 +00:00
dlezcano
218d4250a9 Create the cgroup proxy before trying to set it up. 2008-10-07 14:23:25 +00:00
dlezcano
8c6c947549 Fix missing container name, reorder subsystems component 2008-10-07 14:22:49 +00:00
dlezcano
7f118a6c74 Change version to 3.2.0 2008-10-06 18:49:02 +00:00
dlezcano
576f946d78 Add cgroup support, the configuration file should be specified with the format:
lxc.cgroup.xxx = yyy
where xxx is a cgroup subsystem (eg. cpu.shares) and the yyy is the value to
be set.
2008-10-06 18:47:19 +00:00
dlezcano
893c6f54ef Freeze/unfreeze when checkpointing, stop the container when specified with '-s' option 2008-10-06 18:45:20 +00:00
dlezcano
975878a9ea Add x86_64 syscall 2008-10-04 19:48:29 +00:00
dlezcano
22ebac194e Replace asprintf by snprintf 2008-10-04 19:47:17 +00:00
dlezcano
19df00c503 Change freezer to stick with the cgroup freezer fs API, replace "RUNNING" by "THAWED" 2008-09-25 21:20:51 +00:00
dlezcano
ab192b72b6 Changed 'chroot' by 'rootfs' 2008-09-24 16:42:38 +00:00
legoater
935ccedbf2 update restart and fix syscall numbers 2008-09-23 13:08:34 +00:00
legoater
faf67c2a59 fix syscall number 2008-09-23 13:07:57 +00:00
legoater
ba2aee2c1e fixed typo in logs 2008-09-23 13:07:02 +00:00
dlezcano
ab44835ca3 Fixed missing initialization variable 2008-09-19 19:17:50 +00:00
dlezcano
682d7e543c Display a warning when the architecture is not supported for checkpoint/restart. 2008-09-19 11:17:23 +00:00
legoater
925aaa3124 add experimental checkpoint and restart commands 2008-09-19 10:20:04 +00:00
dlezcano
7b40d70f6b If no configuration file is specified or the container was not created before.
The lxc-execute command will automatically create a new container and destroy
it when it dies. If a configuration file is specified and the container does
not exists, the container is created with the configuration file and destroyed
when it dies.
2008-09-19 09:29:58 +00:00
dlezcano
5e30dbead0 Fixed typos 2008-09-19 09:27:37 +00:00
dlezcano
681799f9b3 Added the function returning the version and the corresponding cli 2008-09-17 10:26:16 +00:00
dlezcano
70a591439b Fix using the right file name for the freezer 2008-09-17 10:24:12 +00:00
dlezcano
4345ad0d5f Notify the frozen / running states 2008-09-17 10:23:44 +00:00
dlezcano
c79ea89b19 Tagging lxc_0_2_1 2008-09-10 10:00:28 +00:00
dlezcano
4b45091fcf *** empty log message *** 2008-09-09 21:25:46 +00:00
dlezcano
f4d507d5fe Added console support 2008-09-09 14:35:44 +00:00
dlezcano
ff7e42df13 A little example to launch an isolated sshd daemon inside a container 2008-09-08 14:49:03 +00:00
dlezcano
b3ec97139d Added lxc-wait 2008-09-08 14:27:24 +00:00
dlezcano
afdbaabd45 Command to wait a specific state for the container 2008-09-08 14:26:35 +00:00
dlezcano
b09ef13319 Compute absolute path name for the root fs 2008-09-08 14:25:42 +00:00
dlezcano
f3184c773a Replace configuration check by flag check 2008-09-08 14:24:39 +00:00
dlezcano
a9c7e2be64 Remove 'init' file when destroying the container 2008-09-08 14:24:05 +00:00
dlezcano
b491539932 Changelog 2008-09-05 15:11:09 +00:00
dlezcano
c6f55da86a Version 0.2.0 2008-09-05 14:55:57 +00:00
dlezcano
eae6543da1 Header code cleanup 2008-09-05 14:32:09 +00:00
dlezcano
b113348ebd Change header inclusion path 2008-09-04 10:09:53 +00:00
dlezcano
d6cfdf433c Changed 'state' to 'info' 2008-09-04 10:09:26 +00:00
dlezcano
38e5f6c633 Removed duplicate file 2008-09-04 10:04:39 +00:00
dlezcano
06efeb5c0e Headers cleanup 2008-09-04 09:46:22 +00:00
dlezcano
f291d61b3f Fixed typo 2008-09-04 08:43:45 +00:00
dlezcano
549bbe37b8 Merged with lxc/.cvsignore 2008-09-04 08:27:59 +00:00
dlezcano
114646dc04 Merged with lxc/Makefile.am 2008-09-04 08:26:19 +00:00