]> git.proxmox.com Git - mirror_lxc.git/log
mirror_lxc.git
15 years agoAdd sys admin capabilty to lxc-netstat to mount /proc/net
dlezcano [Wed, 26 Nov 2008 17:32:16 +0000 (17:32 +0000)]
Add sys admin capabilty to lxc-netstat to mount /proc/net

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Add sys admin capability to lxc-netstat to mount /proc/net.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoRemove annoying compilation message
dlezcano [Wed, 26 Nov 2008 17:08:00 +0000 (17:08 +0000)]
Remove annoying compilation message

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Remove annoying compilation message

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoFix compilation error
dlezcano [Wed, 26 Nov 2008 17:06:19 +0000 (17:06 +0000)]
Fix compilation error

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Remove ';' symbol at the end of the macro.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoRemove annoying warnings and fix tty for restart
dlezcano [Wed, 26 Nov 2008 17:05:11 +0000 (17:05 +0000)]
Remove annoying warnings and fix tty for restart

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Remove annoying compilation messages and fix tty for the restart.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoAdd read permission checking for the container
dlezcano [Tue, 25 Nov 2008 17:01:56 +0000 (17:01 +0000)]
Add read permission checking for the container

From: Daniel Lezcano <dlezcano@fr.ibm.com>

When an user tries to look at the pids or network information belonging
to a container not owned by the user. The command silently fails, I changed
that to check the read permission, display an error and exit.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoAdd more options for the mount points
dlezcano [Tue, 25 Nov 2008 16:57:24 +0000 (16:57 +0000)]
Add more options for the mount points

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Add the readonly and noexec options for the mount points.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agolxc: minimal C/R plugin
dlezcano [Tue, 25 Nov 2008 13:02:29 +0000 (13:02 +0000)]
lxc: minimal C/R plugin

From: Cedric Le Goater <clg@fr.ibm.com>

Plugin for columbia CR.

Signed-off-by: Cedric Le Goater <clg@fr.ibm.com>
15 years agoPass the ttyname to the lxc_setup function
dlezcano [Tue, 25 Nov 2008 13:00:49 +0000 (13:00 +0000)]
Pass the ttyname to the lxc_setup function

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Retrieve the ttyname and pass it to the lxc_setup function.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoAdd the framework for a console
dlezcano [Tue, 25 Nov 2008 12:58:21 +0000 (12:58 +0000)]
Add the framework for a console

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Add the setup information to create a console. This temporary code will
be improved to take into account ttys and console.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoAdded the console error value
dlezcano [Tue, 25 Nov 2008 12:51:52 +0000 (12:51 +0000)]
Added the console error value

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Added the console error value

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoRemove nsgroup link when destroying the container
dlezcano [Tue, 25 Nov 2008 12:50:20 +0000 (12:50 +0000)]
Remove nsgroup link when destroying the container

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Remove nsgroup link when destroying the container

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoFix some typos
dlezcano [Tue, 25 Nov 2008 12:49:14 +0000 (12:49 +0000)]
Fix some typos

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Fixed some typos in the man pages

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoAdded missing lxc.7 man page
dlezcano [Mon, 24 Nov 2008 10:36:18 +0000 (10:36 +0000)]
Added missing lxc.7 man page

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Added the file lxc.sgml.in to the repository.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoHard code localstatedir in the scripts. pkgconfig is too difficult to handle
dlezcano [Fri, 21 Nov 2008 18:20:48 +0000 (18:20 +0000)]
Hard code localstatedir in the scripts. pkgconfig is too difficult to handle
between 32bits and 64bits architecture and different pkgconfig conflict.

15 years agoAdd a netstat per container
dlezcano [Fri, 21 Nov 2008 18:19:36 +0000 (18:19 +0000)]
Add a netstat per container

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Added the ability to do netstat from outside of the container to see
network resources used by the container.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoRemove lxc.pc pkgconfig usage
dlezcano [Fri, 21 Nov 2008 18:17:38 +0000 (18:17 +0000)]
Remove lxc.pc pkgconfig usage

15 years agoFixed a typo
dlezcano [Fri, 21 Nov 2008 18:16:39 +0000 (18:16 +0000)]
Fixed a typo

15 years agoReturn error code in child process
dlezcano [Fri, 21 Nov 2008 15:56:38 +0000 (15:56 +0000)]
Return error code in child process

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Return the error code when the exec fails in the child process, that
decreases the granularity of the error given to the user.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoUse pkgconfig to retrieve localstatedir
dlezcano [Thu, 20 Nov 2008 19:57:47 +0000 (19:57 +0000)]
Use pkgconfig to retrieve localstatedir

From: Matt Helsley <matthltc@us.ibm.com>

Use the pkgconfig to locate in the lxc scripts the place where .../var/lxc
is.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoDisable test compilation by default
dlezcano [Thu, 20 Nov 2008 17:06:02 +0000 (17:06 +0000)]
Disable test compilation by default

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Disable the test programs compilation by default in order to reduce the
compilation time when generating rpm and dist.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoMake the README file a copy of lxc.7
dlezcano [Thu, 20 Nov 2008 15:08:22 +0000 (15:08 +0000)]
Make the README file a copy of lxc.7

From: Daniel Lezcano <dlezcano@fr.ibm.com>

The man lxc.7 being complete enough, I copy the man to the README file.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoAdd lxc.7 man page
dlezcano [Thu, 20 Nov 2008 15:04:09 +0000 (15:04 +0000)]
Add lxc.7 man page

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Added the overview man page for lxc.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoAdded the man page lxc.conf.5
dlezcano [Wed, 19 Nov 2008 16:58:09 +0000 (16:58 +0000)]
Added the man page lxc.conf.5

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Added the man page for the lxc.conf configuration file.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agochanged /var location
legoater [Wed, 19 Nov 2008 11:08:06 +0000 (11:08 +0000)]
changed /var location

From: Cedric Le Goater <clg@fr.ibm.com>

changed /var location

Signed-off-by: Cedric Le Goater <clg@fr.ibm.com>
15 years agofixed readlink to add an ending '\0'
legoater [Wed, 19 Nov 2008 11:05:42 +0000 (11:05 +0000)]
fixed readlink to add an ending '\0'

From: Cedric Le Goater <clg@fr.ibm.com>

fixed readlink to add an ending '\0'

Signed-off-by: Cedric Le Goater <clg@fr.ibm.com>
15 years agoAdd the lxc-cgroup man page
dlezcano [Tue, 18 Nov 2008 14:27:12 +0000 (14:27 +0000)]
Add the lxc-cgroup man page

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Added the lxc-cgroup man page

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoGenerate only if docbook is installed
dlezcano [Tue, 18 Nov 2008 14:03:57 +0000 (14:03 +0000)]
Generate only if docbook is installed

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Generate the man pages only if the docbook tool is available.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoAdded the man.1 pages
dlezcano [Tue, 18 Nov 2008 13:45:49 +0000 (13:45 +0000)]
Added the man.1 pages

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Added the different man pages for the lxc commands. The generation of the
man pages relies on the docbook tool.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoList the available containers and the processes belonging to such container.
dlezcano [Tue, 18 Nov 2008 09:40:05 +0000 (09:40 +0000)]
List the available containers and the processes belonging to such container.

From: Daniel Lezcano <dlezcano@fr.ibm.com>

This modification change the lxc-ps command and adds the lxc-ls command.

The lxc-ps command takes the container name argument and shows the processes
belonging to the specified container. The usual ps argument can be passed to
the lxc-ps to change the output.
Examples:
  lxc-ps -n foo --forest
  lxc-ps -n foo -o pid=

The lxc-ls command list the container name available on the system. This is
useful to retrieve information for each container.
Examples:
  for i in $(lxc-ls); do
lxc-info -n $i
lxc-ps -n $i --forest
  done

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoReturn a lxc-error for creation and starting
dlezcano [Mon, 17 Nov 2008 18:22:29 +0000 (18:22 +0000)]
Return a lxc-error for creation and starting

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Return a lxc-error when for the lxc_configure and lxc_setup function.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoHandle the lock error and show message to user
dlezcano [Mon, 17 Nov 2008 17:55:49 +0000 (17:55 +0000)]
Handle the lock error and show message to user

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Handle the lock error and show message to user.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoAdd return error status in the different functions
dlezcano [Mon, 17 Nov 2008 16:01:34 +0000 (16:01 +0000)]
Add return error status in the different functions

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Add the most known error to the different API to be followed up by the
caller, so we can later show a better message to the user when something
goes wrong. The error catching is coarse grain right now but will be improved,
step by step.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoAdd error status for the API
dlezcano [Mon, 17 Nov 2008 15:18:19 +0000 (15:18 +0000)]
Add error status for the API

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Added the error codes and the corresponding strings to the liblxc, so
the error raised to the user can be more understandable.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoDo some cleanup in the lxc.h file
dlezcano [Mon, 17 Nov 2008 14:24:07 +0000 (14:24 +0000)]
Do some cleanup in the lxc.h file

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Do some cleanup in the lxc.h file, remove dead code and move definition to
the right place.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoRemove the kill container processes code
dlezcano [Mon, 17 Nov 2008 14:15:40 +0000 (14:15 +0000)]
Remove the kill container processes code

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Remove the kill container processes code because it can be implemented with
a very few scripting lines

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoSetup the control group
dlezcano [Mon, 17 Nov 2008 13:55:01 +0000 (13:55 +0000)]
Setup the control group

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Setup the control group when executing the container.
Remove the dead code.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoChange at compilation time the destruction of the network devices
dlezcano [Fri, 14 Nov 2008 16:16:35 +0000 (16:16 +0000)]
Change at compilation time the destruction of the network devices

From: Daniel Lezcano <dlezcano@fr.ibm.com>

The future kernel version will automatically autodestroy the network devices
when the network namespace exits. This is not the case for the current version.
In order to handle the both cases, I added a configuration option to disable
the network destruction when the container exits:
--disable-network-destroy

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoFix cgroup configuration format
dlezcano [Fri, 14 Nov 2008 15:42:59 +0000 (15:42 +0000)]
Fix cgroup configuration format

From: Daniel Lezcano <dlezcano@fr.ibm.com>

This modification change the configuration format. Instead of creating
a 'cgroup' directory with a file per controller, a single file is used
to store the different value for the control groups. That allows to assign
several values to the same controller like "devices.allow" and keep the same
assignation order as defined in the configuration.

In order to keep compatibility, when the old cgroup format is detected, it
is automatically converted to the new format.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoDefault command is "/sbin/init" for lxc-start
dlezcano [Fri, 14 Nov 2008 15:35:40 +0000 (15:35 +0000)]
Default command is "/sbin/init" for lxc-start

From: Daniel Lezcano <dlezcano@fr.ibm.com>

When no command is specified is specified for lxc-start, the "/sbin/init"
is automatically used.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoAdd setpcap capabilty to be able to drop the sys_boot capabilty.
dlezcano [Thu, 13 Nov 2008 16:53:23 +0000 (16:53 +0000)]
Add setpcap capabilty to be able to drop the sys_boot capabilty.

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Previously, we dropped the CAP_SYS_BOOT capabilty. Unfortunatly if we are
non root user, we are not able to do that. So I had the CAP_SETPCAP to
lxc-execute and lxc-start command line to remove this capabilty.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoFix function prototype
dlezcano [Thu, 13 Nov 2008 15:23:44 +0000 (15:23 +0000)]
Fix function prototype

From: Daniel Lezcano <dlezcano@fr.ibm.com>

The lxc_start function prototype has been changed.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoReplace lxc_execute by an intermediate lxc_init
dlezcano [Thu, 13 Nov 2008 15:21:55 +0000 (15:21 +0000)]
Replace lxc_execute by an intermediate lxc_init

From: Daniel Lezcano <dlezcano@fr.ibm.com>

The main difference between lxc_start and lxc_execute is the latter creates
an intermediate process to wait for all the childs. That allows to support
daemons or orphan process group for the pid namespace.

Having such difference makes the code to be duplicate between the two
functions. So instead of doing this, I create an intermediate <init> program
which is in charge to launch the specified command. This command is the
lxc-init program taking different options:
 --mount-procfs : mount the proc filesystem before exec'ing the command
 --mount-sysfs : mount the sys filesystem before exec'ing the command

A double dash indicates the end of the options of lxc-init and the beginning
of the command to be launched.

To summarize:
 * lxc_execute function is no more.
 * lxc-execute command uses the lxc_start function and launch the specified
command via lxc-init

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoFix typo.
dlezcano [Wed, 5 Nov 2008 19:55:10 +0000 (19:55 +0000)]
Fix typo.

From: Daniel Lezcano <dlezcano@fr.ibm.com>

Fix trivial typo

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoAdd guidelines for contribution to the 'lxc' project
dlezcano [Wed, 5 Nov 2008 19:51:21 +0000 (19:51 +0000)]
Add guidelines for contribution to the 'lxc' project

From: Daniel Lezcano <dlezcano@fr.ibm.com>

CONTRIBUTING file give the guidelines to submit patches to this project.
MAINTAINERS contains the maintainer name and mailing list to send the patches.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoFrom: Daniel Lezcano <dlezcano@fr.ibm.com>
dlezcano [Tue, 4 Nov 2008 22:18:23 +0000 (22:18 +0000)]
From: Daniel Lezcano <dlezcano@fr.ibm.com>

Remove the CAP_SYS_BOOT capability from the bouding set, so we can poweroff,
halt, reboot the container safely without shutting down the real host.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoFrom: Daniel Lezcano <dlezcano@fr.ibm.com>
dlezcano [Tue, 4 Nov 2008 22:16:21 +0000 (22:16 +0000)]
From: Daniel Lezcano <dlezcano@fr.ibm.com>

To allow user to properly configure the location of lxcpath (/var/lxc),
it should be build based on variable 'localstatedir' instead of 'prefix'.

By default, localstatedir=$prefix/var
localstatedir can be set by the user during configure:

./configure --localstatedir=/var

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoFrom: Daniel Lezcano <dlezcano@fr.ibm.com>
dlezcano [Tue, 4 Nov 2008 21:52:48 +0000 (21:52 +0000)]
From: Daniel Lezcano <dlezcano@fr.ibm.com>

Exit instead of returning in child process.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
15 years agoRedirect the Changelog diff to file instead of stdout
dlezcano [Tue, 28 Oct 2008 22:38:23 +0000 (22:38 +0000)]
Redirect the Changelog diff to file instead of stdout

15 years agoGenerate a ChangeLog, if possible, and copy it to the dist directory in order
dlezcano [Tue, 28 Oct 2008 22:08:05 +0000 (22:08 +0000)]
Generate a ChangeLog, if possible, and copy it to the dist directory in order
to be shipped with the release

15 years agoAdded a helper to generate the Changelog between two releases
dlezcano [Tue, 28 Oct 2008 22:06:58 +0000 (22:06 +0000)]
Added a helper to generate the Changelog between two releases

15 years agoFixed different compilation scheme by making /var/lxc directory relative to
dlezcano [Sun, 26 Oct 2008 22:06:49 +0000 (22:06 +0000)]
Fixed different compilation scheme by making /var/lxc directory relative to
the installation prefix and by adding some extra path to search for the
'setcap' command.

15 years agoAdded automatic generation of packages and repository tagging
dlezcano [Fri, 24 Oct 2008 22:08:25 +0000 (22:08 +0000)]
Added automatic generation of packages and repository tagging

15 years agoAutomatically generated now with cvs2cl command
dlezcano [Fri, 24 Oct 2008 22:06:14 +0000 (22:06 +0000)]
Automatically generated now with cvs2cl command

15 years agoHelper script to generate releases
dlezcano [Fri, 24 Oct 2008 21:56:50 +0000 (21:56 +0000)]
Helper script to generate releases

15 years agoVersion lxc-0.4.0
dlezcano [Fri, 24 Oct 2008 21:33:51 +0000 (21:33 +0000)]
Version lxc-0.4.0

15 years agoAdded file capabilities to lxc-restart
dlezcano [Fri, 24 Oct 2008 20:24:07 +0000 (20:24 +0000)]
Added file capabilities to lxc-restart

15 years agoGive the ability to non-root user to play with the containers. This feature
dlezcano [Fri, 24 Oct 2008 20:14:57 +0000 (20:14 +0000)]
Give the ability to non-root user to play with the containers. This feature
relies on the file capabilities, when the lxc commands are installed, the
sys/net admin capabilities are given to these files. These capabilities are
not available for the application running inside the container.

15 years agoExit instead of returning in the child processes, otherwise the execution
dlezcano [Fri, 24 Oct 2008 20:11:25 +0000 (20:11 +0000)]
Exit instead of returning in the child processes, otherwise the execution
path of the child will be wrong in case of error.

15 years agoremoved opentty now useless and fixed pid of root process for restart
legoater [Thu, 23 Oct 2008 13:09:01 +0000 (13:09 +0000)]
removed opentty now useless and fixed pid of root process for restart

15 years agofix missing src/lxc/lxc-checkconfig
legoater [Thu, 23 Oct 2008 07:21:49 +0000 (07:21 +0000)]
fix missing src/lxc/lxc-checkconfig

15 years agoThis new command is a helper to check if the needed functionalities are
dlezcano [Mon, 20 Oct 2008 11:45:19 +0000 (11:45 +0000)]
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.

15 years agoThese modifications improve the monitoring support of the container. Now
dlezcano [Sat, 18 Oct 2008 21:07:39 +0000 (21:07 +0000)]
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).

15 years agoUpdated with the cgroup section and fixed some typos
dlezcano [Wed, 15 Oct 2008 07:30:09 +0000 (07:30 +0000)]
Updated with the cgroup section and fixed some typos

15 years agoUpdated changelog for version 0.3.0
dlezcano [Thu, 9 Oct 2008 18:46:11 +0000 (18:46 +0000)]
Updated changelog for version 0.3.0

15 years agoUpdated changelog
dlezcano [Thu, 9 Oct 2008 18:39:34 +0000 (18:39 +0000)]
Updated changelog

15 years agoRemoved useless readlink before chrooting
dlezcano [Wed, 8 Oct 2008 14:15:58 +0000 (14:15 +0000)]
Removed useless readlink before chrooting

15 years agoRemoved useless opentty function and moved the sighandler restore to the right place
dlezcano [Wed, 8 Oct 2008 14:15:17 +0000 (14:15 +0000)]
Removed useless opentty function and moved the sighandler restore to the right place

15 years agoChanged indentation ... :)
dlezcano [Wed, 8 Oct 2008 11:39:24 +0000 (11:39 +0000)]
Changed indentation ... :)

15 years agoFix configure error when checking the netlink headers
dlezcano [Wed, 8 Oct 2008 11:24:31 +0000 (11:24 +0000)]
Fix configure error when checking the netlink headers

15 years agoAdd a command line to setup/retrieve value of cgroup subsystem, lxc-cgroup -n <contai...
dlezcano [Tue, 7 Oct 2008 14:24:56 +0000 (14:24 +0000)]
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

15 years agoCreate the cgroup proxy before trying to set it up.
dlezcano [Tue, 7 Oct 2008 14:23:25 +0000 (14:23 +0000)]
Create the cgroup proxy before trying to set it up.

15 years agoFix missing container name, reorder subsystems component
dlezcano [Tue, 7 Oct 2008 14:22:49 +0000 (14:22 +0000)]
Fix missing container name, reorder subsystems component

15 years agoChange version to 3.2.0
dlezcano [Mon, 6 Oct 2008 18:49:02 +0000 (18:49 +0000)]
Change version to 3.2.0

15 years agoAdd cgroup support, the configuration file should be specified with the format:
dlezcano [Mon, 6 Oct 2008 18:47:19 +0000 (18:47 +0000)]
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.

15 years agoFreeze/unfreeze when checkpointing, stop the container when specified with '-s' option
dlezcano [Mon, 6 Oct 2008 18:45:20 +0000 (18:45 +0000)]
Freeze/unfreeze when checkpointing, stop the container when specified with '-s' option

15 years agoAdd x86_64 syscall
dlezcano [Sat, 4 Oct 2008 19:48:29 +0000 (19:48 +0000)]
Add x86_64 syscall

15 years agoReplace asprintf by snprintf
dlezcano [Sat, 4 Oct 2008 19:47:17 +0000 (19:47 +0000)]
Replace asprintf by snprintf

16 years agoChange freezer to stick with the cgroup freezer fs API, replace "RUNNING" by "THAWED"
dlezcano [Thu, 25 Sep 2008 21:20:51 +0000 (21:20 +0000)]
Change freezer to stick with the cgroup freezer fs API, replace "RUNNING" by "THAWED"

16 years agoChanged 'chroot' by 'rootfs'
dlezcano [Wed, 24 Sep 2008 16:42:38 +0000 (16:42 +0000)]
Changed 'chroot' by 'rootfs'

16 years agoupdate restart and fix syscall numbers
legoater [Tue, 23 Sep 2008 13:08:34 +0000 (13:08 +0000)]
update restart and fix syscall numbers

16 years agofix syscall number
legoater [Tue, 23 Sep 2008 13:07:57 +0000 (13:07 +0000)]
fix syscall number

16 years agofixed typo in logs
legoater [Tue, 23 Sep 2008 13:07:02 +0000 (13:07 +0000)]
fixed typo in logs

16 years agoFixed missing initialization variable
dlezcano [Fri, 19 Sep 2008 19:17:50 +0000 (19:17 +0000)]
Fixed missing initialization variable

16 years agoDisplay a warning when the architecture is not supported for checkpoint/restart.
dlezcano [Fri, 19 Sep 2008 11:17:23 +0000 (11:17 +0000)]
Display a warning when the architecture is not supported for checkpoint/restart.

16 years agoadd experimental checkpoint and restart commands
legoater [Fri, 19 Sep 2008 10:20:04 +0000 (10:20 +0000)]
add experimental checkpoint and restart commands

16 years agoIf no configuration file is specified or the container was not created before.
dlezcano [Fri, 19 Sep 2008 09:29:58 +0000 (09:29 +0000)]
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.

16 years agoFixed typos
dlezcano [Fri, 19 Sep 2008 09:27:37 +0000 (09:27 +0000)]
Fixed typos

16 years agoAdded the function returning the version and the corresponding cli
dlezcano [Wed, 17 Sep 2008 10:26:16 +0000 (10:26 +0000)]
Added the function returning the version and the corresponding cli

16 years agoFix using the right file name for the freezer
dlezcano [Wed, 17 Sep 2008 10:24:12 +0000 (10:24 +0000)]
Fix using the right file name for the freezer

16 years agoNotify the frozen / running states
dlezcano [Wed, 17 Sep 2008 10:23:44 +0000 (10:23 +0000)]
Notify the frozen / running states

16 years agoTagging lxc_0_2_1
dlezcano [Wed, 10 Sep 2008 10:00:28 +0000 (10:00 +0000)]
Tagging lxc_0_2_1

16 years ago*** empty log message ***
dlezcano [Tue, 9 Sep 2008 21:25:46 +0000 (21:25 +0000)]
*** empty log message ***

16 years agoAdded console support
dlezcano [Tue, 9 Sep 2008 14:35:44 +0000 (14:35 +0000)]
Added console support

16 years agoA little example to launch an isolated sshd daemon inside a container
dlezcano [Mon, 8 Sep 2008 14:49:03 +0000 (14:49 +0000)]
A little example to launch an isolated sshd daemon inside a container

16 years agoAdded lxc-wait
dlezcano [Mon, 8 Sep 2008 14:27:24 +0000 (14:27 +0000)]
Added lxc-wait

16 years agoCommand to wait a specific state for the container
dlezcano [Mon, 8 Sep 2008 14:26:35 +0000 (14:26 +0000)]
Command to wait a specific state for the container

16 years agoCompute absolute path name for the root fs
dlezcano [Mon, 8 Sep 2008 14:25:42 +0000 (14:25 +0000)]
Compute absolute path name for the root fs

16 years agoReplace configuration check by flag check
dlezcano [Mon, 8 Sep 2008 14:24:39 +0000 (14:24 +0000)]
Replace configuration check by flag check

16 years agoRemove 'init' file when destroying the container
dlezcano [Mon, 8 Sep 2008 14:24:05 +0000 (14:24 +0000)]
Remove 'init' file when destroying the container

16 years agoChangelog
dlezcano [Fri, 5 Sep 2008 15:11:09 +0000 (15:11 +0000)]
Changelog