History log of /lxc/doc/lxc.conf.sgml.in
Revision Date Author Comments Expand
55fc19a1042bca36ae431cb4a51c2abc0ca4d801 23-Jan-2014 Stéphane Graber <stgraber@ubuntu.com>

doc: Try to clear some confusion about lxc.conf Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>

04a243f11d5d4891b427107774d30d058bb191e7 15-Jan-2014 Serge Hallyn <serge.hallyn@ubuntu.com>

lxc.conf: note the 'lxc.network.type = none' option Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> Acked-by: Stéphane Graber <stgraber@ubuntu.com>

83b4b1dca80ab147a7596ffb634863c138b8d9cf 14-Jan-2014 KATOH Yasufumi <karma@jazz.email.ne.jp>

doc: Update lxc.conf(5) * Update Japanese lxc.conf(5) for commit 508c263ee6ed2fac73f6979af287caba38963b4b * Remove duplicate line in English lxc.conf(5) Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp> Acked-by: Stéphane Graber <stgraber@ubuntu.com>

508c263ee6ed2fac73f6979af287caba38963b4b 13-Jan-2014 Serge Hallyn <serge.hallyn@ubuntu.com>

This change introduce mac address templating. By setting lxc.network.hwaddr to something like fe:xx:xx:xx:xx:xx each "x" will be replaced by a random value. If less significant bit of first byte is "templated", it will be set to 0. This change introduce also a common randinit() function that could be used to initialize random generator. Signed-off-by: gza <lxc@zitta.fr> Acked-by: Serge Hallyn <serge.hallyn@ubuntu.com>

df2d4205073d3f57543951ca7ffabf891b230634 13-Jan-2014 Dwight Engen <dwight.engen@oracle.com>

ensure all config items are duplicated on clone/write_config Since previously I had found a config item that wasn't being propagated by lxc-clone, I went through all the config items and made sure that: a) Each item is documented in lxc.conf b) Each item is written out by write_config The only one that isn't is lxc.include, which by its nature only pulls in other config item types. Signed-off-by: Dwight Engen <dwight.engen@oracle.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>

f0f1d8c076ae93d8ecf735c2eeae471e27ca6abd 06-Jan-2014 Dwight Engen <dwight.engen@oracle.com>

add lxc.haltsignal for soft shutdown - use this in the busybox template since busybox's init expects to receive SIGUSR1 to halt - fix lxc.stopsignal to be output by write_config so lxcapi_clone() and lxcapi_save_config() will output it Signed-off-by: Dwight Engen <dwight.engen@oracle.com> Acked-by: Stéphane Graber <stgraber@ubuntu.com>

ee1e7aa0eb82fe35a871166a8fa1834c01293ecf 19-Dec-2013 Stéphane Graber <stgraber@ubuntu.com>

autostart: Define lxc.start.* and lxc.group First patch in the set of changes required for container autostart. This commit adds the new configuration keys and parsers that will then be used by lxc-start and lxc-stop. Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> Acked-by: Dwight Engen <dwight.engen@oracle.com>

36b33520f67cd1a83be8031fccc3c2d7d7255e06 20-Oct-2013 Stéphane Graber <stgraber@ubuntu.com>

Fix typos identified by lintian Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>

3157e673952bb857caf98666983eb5c0aec831a9 04-Oct-2013 Dwight Engen <dwight.engen@oracle.com>

fix errors when using docbook2man docbook2man picks up some errors that docbook2x does not, fixing them isn't harmful to docbook2x. The only real change is adding <para> and <citerefentry> tags. Signed-off-by: Dwight Engen <dwight.engen@oracle.com> Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

99282c429a23a2ffa699ca149bb7f9cd5705646a 02-Oct-2013 KATOH Yasufumi <karma@jazz.email.ne.jp>

doc: Fix some typos Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp> Acked-by: Stéphane Graber <stgraber@ubuntu.com>

a2ff31c71070f1f42b8e844a294577812284097b 27-Sep-2013 Christian Seiler <christian@iwakd.de>

Automatic mounting: document options in lxc.conf(5) manpage Signed-off-by: Christian Seiler <christian@iwakd.de> Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

fe4de9a66d112cb9ddd5977dcce075323f29a39a 26-Sep-2013 Dwight Engen <dwight.engen@oracle.com>

refactor AppArmor into LSM backend, add SELinux support Currently, a maximum of one LSM within LXC will be initialized and used. If in the future stacked LSMs become a reality, we can support it without changing the configuration syntax and add support for more than a single LSM at a time to the lsm code. Generic LXC code should note that lsm_process_label_set() will take effect "now" for AppArmor, and upon exec() for SELinux. - fix Oracle template mounting of proc and sysfs, needed when using SELinux Signed-off-by: Dwight Engen <dwight.engen@oracle.com> Acked-by: Serge Hallyn <serge.hallyn@ubuntu.com> Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

dd97408ae27220ceccf21357421e390345f3a688 11-Sep-2013 Stéphane Graber <stgraber@ubuntu.com>

Fix some typos Signed-off-by: KATOH Yasufumi karma@jazz.email.ne.jp Acked-by: Stéphane Graber <stgraber@ubuntu.com>

1fb86a7cdc22d22b14d03eb0cbd1aa6702862dd4 06-Sep-2013 Serge Hallyn <serge.hallyn@ubuntu.com>

introduce lxc.cap.keep The lxc configuration file currently supports 'lxc.cap.drop', a list of capabilities to be dropped (using the bounding set) from the container. The problem with this is that over time new capabilities are added. So an older container configuration file may, over time, become insecure. Walter has in the past suggested replacing lxc.cap.drop with lxc.cap.preserve, which would have the inverse sense - any capabilities in that set would be kept, any others would be dropped. Realistically both have the same problem - the sendmail capabilities bug proved that running code with unexpectedly dropped privilege can be dangerous. This patch gives the admin a choice: You can use either lxc.cap.keep or lxc.cap.drop, not both. Both continue to be ignored if a user namespace is in use. Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

250b1eec71b074acdff1c5f6b5a1f0d7d2c20b77 03-Sep-2013 Stéphane Graber <stgraber@ubuntu.com>

licensing: Add missing headers and FSF address Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>

/lxc/autogen.sh common_options.sgml.in legacy/lxc-ls.sgml.in lxc-attach.sgml.in lxc-cgroup.sgml.in lxc-checkconfig.sgml.in lxc-checkpoint.sgml.in lxc-clone.sgml.in lxc-console.sgml.in lxc-create.sgml.in lxc-destroy.sgml.in lxc-device.sgml.in lxc-execute.sgml.in lxc-freeze.sgml.in lxc-info.sgml.in lxc-kill.sgml.in lxc-ls.sgml.in lxc-monitor.sgml.in lxc-netstat.sgml.in lxc-ps.sgml.in lxc-restart.sgml.in lxc-start-ephemeral.sgml.in lxc-start.sgml.in lxc-stop.sgml.in lxc-top.sgml.in lxc-unfreeze.sgml.in lxc-unshare.sgml.in lxc-version.sgml.in lxc-wait.sgml.in lxc.conf.sgml.in lxc.sgml.in see_also.sgml.in /lxc/hooks/mountcgroups /lxc/hooks/mountecryptfsroot /lxc/lxc.spec.in /lxc/runapitests.sh /lxc/src/include/getline.c /lxc/src/include/getline.h /lxc/src/include/lxcmntent.c /lxc/src/include/lxcmntent.h /lxc/src/include/openpty.c /lxc/src/include/openpty.h /lxc/src/lxc/af_unix.c /lxc/src/lxc/af_unix.h /lxc/src/lxc/apparmor.c /lxc/src/lxc/apparmor.h /lxc/src/lxc/arguments.c /lxc/src/lxc/arguments.h /lxc/src/lxc/attach.c /lxc/src/lxc/attach.h /lxc/src/lxc/attach_options.h /lxc/src/lxc/bdev.c /lxc/src/lxc/bdev.h /lxc/src/lxc/caps.c /lxc/src/lxc/caps.h /lxc/src/lxc/cgroup.c /lxc/src/lxc/cgroup.h /lxc/src/lxc/checkpoint.c /lxc/src/lxc/commands.c /lxc/src/lxc/commands.h /lxc/src/lxc/conf.c /lxc/src/lxc/conf.h /lxc/src/lxc/confile.c /lxc/src/lxc/confile.h /lxc/src/lxc/console.c /lxc/src/lxc/console.h /lxc/src/lxc/error.c /lxc/src/lxc/error.h /lxc/src/lxc/execute.c /lxc/src/lxc/freezer.c /lxc/src/lxc/genl.c /lxc/src/lxc/genl.h /lxc/src/lxc/legacy/lxc-ls.in /lxc/src/lxc/list.c /lxc/src/lxc/list.h /lxc/src/lxc/log.c /lxc/src/lxc/log.h /lxc/src/lxc/lxc-destroy.in /lxc/src/lxc/lxc-device /lxc/src/lxc/lxc-ls /lxc/src/lxc/lxc-netstat.in /lxc/src/lxc/lxc-ps.in /lxc/src/lxc/lxc-start-ephemeral.in /lxc/src/lxc/lxc.functions.in /lxc/src/lxc/lxc.h /lxc/src/lxc/lxc_attach.c /lxc/src/lxc/lxc_cgroup.c /lxc/src/lxc/lxc_checkpoint.c /lxc/src/lxc/lxc_config.c /lxc/src/lxc/lxc_console.c /lxc/src/lxc/lxc_execute.c /lxc/src/lxc/lxc_freeze.c /lxc/src/lxc/lxc_info.c /lxc/src/lxc/lxc_init.c /lxc/src/lxc/lxc_kill.c /lxc/src/lxc/lxc_monitor.c /lxc/src/lxc/lxc_monitord.c /lxc/src/lxc/lxc_restart.c /lxc/src/lxc/lxc_start.c /lxc/src/lxc/lxc_stop.c /lxc/src/lxc/lxc_unfreeze.c /lxc/src/lxc/lxc_unshare.c /lxc/src/lxc/lxc_usernsexec.c /lxc/src/lxc/lxc_wait.c /lxc/src/lxc/lxccontainer.h /lxc/src/lxc/lxcseccomp.h /lxc/src/lxc/lxcutmp.c /lxc/src/lxc/lxcutmp.h /lxc/src/lxc/mainloop.c /lxc/src/lxc/mainloop.h /lxc/src/lxc/monitor.c /lxc/src/lxc/monitor.h /lxc/src/lxc/namespace.c /lxc/src/lxc/namespace.h /lxc/src/lxc/network.c /lxc/src/lxc/network.h /lxc/src/lxc/nl.c /lxc/src/lxc/nl.h /lxc/src/lxc/parse.c /lxc/src/lxc/parse.h /lxc/src/lxc/restart.c /lxc/src/lxc/rtnl.c /lxc/src/lxc/rtnl.h /lxc/src/lxc/seccomp.c /lxc/src/lxc/start.c /lxc/src/lxc/start.h /lxc/src/lxc/state.c /lxc/src/lxc/state.h /lxc/src/lxc/sync.c /lxc/src/lxc/sync.h /lxc/src/lxc/utils.c /lxc/src/lxc/utils.h /lxc/src/lxc/version.c /lxc/src/lxc/version.h /lxc/src/python-lxc/examples/api_test.py /lxc/src/python-lxc/examples/pyconsole-vte.py /lxc/src/python-lxc/examples/pyconsole.py /lxc/src/python-lxc/lxc.c /lxc/src/python-lxc/lxc/__init__.py /lxc/src/python-lxc/setup.py /lxc/src/tests/lxc-test-usernic /lxc/templates/lxc-altlinux.in /lxc/templates/lxc-archlinux.in /lxc/templates/lxc-busybox.in /lxc/templates/lxc-debian.in /lxc/templates/lxc-fedora.in /lxc/templates/lxc-opensuse.in /lxc/templates/lxc-oracle.in /lxc/templates/lxc-sshd.in
840295ff4cf11da0938a19f99fef8a1525de8106 30-Aug-2013 Stéphane Graber <stgraber@ubuntu.com>

Fix some typos Signed-off-by: Dmitry Shachnev <mitya57@ubuntu.com> Reported-by: Vincent Ladeuil Acked-by: Stéphane Graber <stgraber@ubuntu.com>

55c76589fd19e5f04697dcfd0084039cd77ef304 19-Aug-2013 Stéphane Graber <stgraber@ubuntu.com>

Remove all trailing whitespaces Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>

baece282266318a9bb527cefc85ebf7b6dd7f10e 13-Aug-2013 Serge Hallyn <serge.hallyn@ubuntu.com>

lxc.conf.sgml.in: note the arguments and environment variables passed to hooks Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

64f782ca69c70fd155427a81d69fda593981e770 28-May-2013 Serge Hallyn <serge.hallyn@ubuntu.com>

lxc.conf.sgml.in: fill in missing configuration file statements Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

dc92f6c7eec81dc104b3f7873ffd74ec56a1dae1 16-May-2013 Serge Hallyn <serge.hallyn@ubuntu.com>

document clone hooks Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

d9e80daf54e15b89b0b08d475b29893be9830be0 16-May-2013 Dwight Engen <dwight.engen@oracle.com>

doc/lxc.conf minor clarifications Signed-off-by: Dwight Engen <dwight.engen@oracle.com> Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

7f95145833bb24f54e037f73ecc37444d6635697 30-Apr-2013 Dwight Engen <dwight.engen@oracle.com>

fix building docs Commit 69fe23ff added checking for the older docbook2man back into configure, but this breaks building the docs on at least Oracle Linux and Fedora when docbook2X is not installed as docbook2man will be found but the docs don't actually build with that tool. This change makes it so the docs can be built with either the older docbook2man or the newer 2X tools by using configure to set the dtd string to an appropriate value depending on use of docbook2man or db2x_docbook2man. Also fixed a small error in lxc-destroy.sgml.in that was noticed by the old tools. Signed-off-by: Dwight Engen <dwight.engen@oracle.com> Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

6320e49454b0fd86dde7df0af54a2e194ae59821 25-Apr-2013 Stéphane Graber <stgraber@ubuntu.com>

lxc.conf: Add reference to capabilities manpage This adds a reference to capabilities(7) to the lxc.conf manpage. Signed-off-by: Tomáš Pospíšek <tpo_deb@sourcepole.ch> Acked-by: Stéphane Graber <stgraber@ubuntu.com>

9afe19d634946d50eab30e3b90cb5cebcde39eea 19-Mar-2013 Daniel Lezcano <daniel.lezcano@free.fr>

Change author email address Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>

/lxc/MAINTAINERS common_options.sgml.in lxc-attach.sgml.in lxc-cgroup.sgml.in lxc-checkpoint.sgml.in lxc-clone.sgml.in lxc-console.sgml.in lxc-create.sgml.in lxc-destroy.sgml.in lxc-execute.sgml.in lxc-freeze.sgml.in lxc-kill.sgml.in lxc-ls.sgml.in lxc-monitor.sgml.in lxc-ps.sgml.in lxc-restart.sgml.in lxc-start.sgml.in lxc-stop.sgml.in lxc-unfreeze.sgml.in lxc-unshare.sgml.in lxc-wait.sgml.in lxc.conf.sgml.in lxc.sgml.in see_also.sgml.in /lxc/lxc.spec.in /lxc/src/lxc/af_unix.c /lxc/src/lxc/af_unix.h /lxc/src/lxc/arguments.c /lxc/src/lxc/arguments.h /lxc/src/lxc/attach.c /lxc/src/lxc/attach.h /lxc/src/lxc/caps.c /lxc/src/lxc/caps.h /lxc/src/lxc/cgroup.c /lxc/src/lxc/cgroup.h /lxc/src/lxc/checkpoint.c /lxc/src/lxc/commands.c /lxc/src/lxc/commands.h /lxc/src/lxc/conf.c /lxc/src/lxc/conf.h /lxc/src/lxc/confile.c /lxc/src/lxc/confile.h /lxc/src/lxc/console.c /lxc/src/lxc/console.h /lxc/src/lxc/error.c /lxc/src/lxc/error.h /lxc/src/lxc/execute.c /lxc/src/lxc/freezer.c /lxc/src/lxc/genl.c /lxc/src/lxc/genl.h /lxc/src/lxc/list.c /lxc/src/lxc/log.h /lxc/src/lxc/lxc.h /lxc/src/lxc/lxc_attach.c /lxc/src/lxc/lxc_cgroup.c /lxc/src/lxc/lxc_checkpoint.c /lxc/src/lxc/lxc_console.c /lxc/src/lxc/lxc_execute.c /lxc/src/lxc/lxc_freeze.c /lxc/src/lxc/lxc_info.c /lxc/src/lxc/lxc_init.c /lxc/src/lxc/lxc_kill.c /lxc/src/lxc/lxc_monitor.c /lxc/src/lxc/lxc_restart.c /lxc/src/lxc/lxc_start.c /lxc/src/lxc/lxc_stop.c /lxc/src/lxc/lxc_unfreeze.c /lxc/src/lxc/lxc_unshare.c /lxc/src/lxc/lxc_wait.c /lxc/src/lxc/lxcutmp.c /lxc/src/lxc/lxcutmp.h /lxc/src/lxc/mainloop.c /lxc/src/lxc/mainloop.h /lxc/src/lxc/monitor.c /lxc/src/lxc/monitor.h /lxc/src/lxc/namespace.c /lxc/src/lxc/namespace.h /lxc/src/lxc/network.c /lxc/src/lxc/network.h /lxc/src/lxc/nl.c /lxc/src/lxc/nl.h /lxc/src/lxc/parse.c /lxc/src/lxc/parse.h /lxc/src/lxc/restart.c /lxc/src/lxc/rtnl.c /lxc/src/lxc/rtnl.h /lxc/src/lxc/start.c /lxc/src/lxc/start.h /lxc/src/lxc/state.c /lxc/src/lxc/state.h /lxc/src/lxc/stop.c /lxc/src/lxc/sync.c /lxc/src/lxc/sync.h /lxc/src/lxc/utils.c /lxc/src/lxc/utils.h /lxc/src/lxc/version.c /lxc/src/lxc/version.h
2f3f41d0d586bbf4d16969ea13074eddf761d1d1 13-Mar-2013 Serge Hallyn <serge.hallyn@ubuntu.com>

default kmsg symlinking to on, and document lxc.kmsg Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

a84b99323ab760d67cf76ef2418313bfd4f8b3ca 12-Mar-2013 Alexander Vladimirov <alexander.idkfa.vladimirov@gmail.com>

Add lxc.stopsignal config option I remember discussion about implementing proper way to shutdown guests using different signals, so here's a patch proposal. It allows to use specific signal numbers to shutdown guests gracefully, for example SIGRTMIN+4 starts poweroff.target in systemd. Signed-off-by: Alexander Vladimirov <alexander.idkfa.vladimirov@gmail.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>

ac7725e7bb6753087aa63bbefb999529b0625212 11-Mar-2013 Dwight Engen <dwight.engen@oracle.com>

make [ug]id map ordering consistent with /proc/<nr>/[ug]id_map The id ordering and case of u,g is also consistent with uidmapshift, reducing confusion. doc: Moved example to the the EXAMPLES section, and used values corresponding to the defaults in the pending shadow-utils subuid patch. Signed-off-by: Dwight Engen <dwight.engen@oracle.com> Acked-by: Stéphane Graber <stgraber@ubuntu.com>

f6d3e3e47069b2bfc15de7cc81ccb0200aa2c341 15-Jan-2013 Serge Hallyn <serge.hallyn@canonical.com>

Implement userid mappings (enable user namespaces) The 3.8 kernel now supporst uid mappings, so I believe it's appropriate to proceed with this patchset. The container config supports new entries of the form: lxc.id_map = U 100000 0 10000 lxc.id_map = G 100000 0 10000 meaning map 'virtual' uids (in the container) 0-10000 to uids 100000-110000 on the host, and same for gids. So long as there are mappings specified in the container config, then CONFIG_NEWUSER will be used when the container is cloned. This means that container setup is no longer done with root privilege on the host, only root privilege in the container. Therefore cgroup setup is moved from the init task to the monitor task. To use this patchset, you currently need to either use the raring kernel at ppa:serge-hallyn/usern-natty, or build your own kernel from either git://kernel.ubuntu.com/serge/quantal-userns.git. (Alternatively you can use Eric's tree at the latest userns-always-map-* branch at git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git but you will likely want to at least enable tmpfs mounts in user namespaces) You also need to chown the files in the container rootfs into the mapped range. There is a utility at https://code.launchpad.net/~serge-hallyn/+junk/nsexec to do this. uidmapshift does the chowning, while the container-userns-convert script nicely wraps that program. So I simply sudo lxc-create -t ubuntu -n r1 sudo container-userns-convert r1 200000 will create a container which is shifted so uid 0 in the container is uid 200000 on the host. TODO: when doing setuid(0), need to only do that if 0 is one of the ids we map to. Similarly, when dropping capabilities, need to only not do that if 0 is one of the ids we map to. However, the question of what to do for 'weird' containers in private user namespaces is one I'm punting for later. Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> Acked-by: Stéphane Graber <stgraber@ubuntu.com>

f7bee6c6f30c92252f07a5468f9c89c309a740c2 14-Jan-2013 Michael H. Warfield <mhw@WittsEnd.com>

MAKEDEV call, add autodev hooks, add environment variables for hook scripts. Ok... Here's the patch again. Since Serge is removing the loglevel structure member, this patch no longer references that element. From the original description: 1) Removes run_makedev() and the call to it from conf.c per discussion. 2) Adds an lxc.hook.autodev hook. Note: This hook is very close (one routine level abstracted) from where the run_makedev was called. Anyone really rrreeeaaalllyyy needing MAKEDEV can add it in with a small shim script to do whatever they want under whatever distro they're using, so no functionality is lost there. 3) Added a number of environment variables for all the hook scripts to reference to assist in execution. Things like LXC_ROOTFS_MOUNT could be very useful but others were added as well. Room for more if anyone has an itch. All in one spot in lxc_start.c. 4) clearenv and putenv( "container=lxc" ) calls were moved to just after the "start" hook in the container just prior to actually firing up the container so we could use environment variables prior to that and have them flushed them before firing up init. Nice side effect is that you can define environment variables and then call lxc-start and have them show up in those hooks scripts. 5) I actually DID update the man page for lxc.conf! I guess I lied when I said I wouldn't get that done. [... and ...] I added the rcfile to the lxc_conf structure as suggested and moved the setenv bundle from lxc-start.c over to start.c just prior to calling run_lxc_hooks for the pre-start hook. Signed-off-by: Michael H. Warfield <mhw@WittsEnd.com> Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

f79d43bbe70a01454049b77d6f15f6369744959e 26-Nov-2012 Stéphane Graber <stgraber@ubuntu.com>

Remove all trailing whitespaces. Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>

ad493d03fed380ac151dacb53ddfd01a23aeacee 26-Nov-2012 Stéphane Graber <stgraber@ubuntu.com>

lxc.conf.sgml.in: Fix typo Fix a typo in the previous lxc.conf.sgml.in change. Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>

c6883f383e587725552f7c71e96ebe1c34ae7c56 26-Nov-2012 Serge Hallyn <serge.hallyn@ubuntu.com>

Add lxc.autodev Add a container config option to mount and populate /dev in a container. We might want to add options to specify a max size for /dev other than the default 100k, and to specify other devices to create. And maybe someone can think of a better name than autodev. Changelog: Don't error out if we couldn't mknod a /dev/ttyN. Changelog: Describe the option in lxc.conf manpage. Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

aa8d013ec5b09cd1cd904173d6234ef126eb2126 12-Nov-2012 Peter Simons <simons@cryp.to>

Update documentation to Docbook 4.5 The package 'docbook-tools' [1] required to format Docbook 3.0 into man pages has been obsoleted a long time ago and can no longer be downloaded from its former homepage. Recent versions of that package -- now called 'docbook2X' --, cannot deal with that old markup format anymore (and don't support the '-w all' command line switch either). To remedy these issues, all SGML files have been updated to Docbook 4.5 so that recent versions of docbook2man can process them. [1] http://sources.redhat.com/docbook-tools/ [2] http://docbook2x.sourceforge.net/ Signed-off-by: Peter Simons <simons@cryp.to> Acked-by: Stéphane Graber <stgraber@ubuntu.com>

f282a2f4b8f1d44702eb746c8554408d802f402d 12-Nov-2012 Stéphane Graber <stgraber@ubuntu.com>

Revert "Update documentation to Docbook 4.5" This reverts commit 9a84044bc97098821cce2721ea40a1368f17a091. The changes made the branch to fail to build on Ubuntu/Debian, so reverting the commits and re-opening the pull request. Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>

75d0acd48f46e63b3d6e835ffbf36a771ecd2a4a 12-Nov-2012 Peter Simons <simons@cryp.to>

Update documentation to Docbook 4.5 The package 'docbook-tools' [1] required to format Docbook 3.0 into man pages has been obsoleted a long time ago and can no longer be downloaded from its former homepage. Recent versions of that package -- now called 'docbook2X' --, cannot deal with that old markup format anymore (and don't support the '-w all' command line switch either). To remedy these issues, all SGML files have been updated to Docbook 4.5 so that recent versions of docbook2man can process them. [1] http://sources.redhat.com/docbook-tools/ [2] http://docbook2x.sourceforge.net/ Signed-off-by: Peter Simons <simons@cryp.to>

767d4c6743155a6835a596fc6b1baf56e14ad430 12-Nov-2012 Serge Hallyn <serge.hallyn@ubuntu.com>

premount hook is implemented in git Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

472c97e97684494ecfd0541fa779c301a1855447 12-Nov-2012 Serge Hallyn <serge.hallyn@ubuntu.com>

document lxc.hooks in lxc.conf manpage Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

74a2b5864f2ece87bf522d1c1cbd590dc24c0c53 12-Nov-2012 Jan Kiszka <jan.kiszka@siemens.com>

Add network-down script Analogously to lxc.network.script.up, add the ability to register a down script. It is called before the guest network is finally destroyed, allowing to clean up resources that are not reset/destroyed automatically. Parameters of the down script are identical to the up script except for the execution context "down". Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

5548f2182e0a4c1677871aca48eaf24c19012a03 31-Jul-2012 Daniel Baumann <daniel.baumann@progress-technologies.net>

Change ipv4 addresses in the configuration examples Use non-routed, private IPv4 address in documentation examples (Closes: #571525). Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

1305dd24af039cefc54bc2f21b04b33b62bb26c8 19-Mar-2012 Serge Hallyn <serge.hallyn@canonical.com>

Update manpages to reflect some updated options. (which reminds me a lxc-clone manpage still needs to be written) Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

be58c6b5b4110a3136f26b69394de725a4318619 30-Aug-2011 Matthijs Kooijman <matthijs@stdin.nl>

.gateway options Man for the gateway option. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

dff21ef019d001a25adcaa947d67942b61bbab22 09-Aug-2011 Daniel Lezcano <daniel.lezcano@free.fr>

explicitly do not use the console If the keyword 'none' is specified for the console name, lxc will ignore creating a console. That allows to have a rootfs but without a console. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

955f4ce683988742da4cf3c2a26a104184f55aff 06-Feb-2011 Daniel Lezcano <daniel.lezcano@free.fr>

update configuration wrt to the broadcast address Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

6ecad93f9618b07145c2db9aa4e3d1b464b83326 26-Oct-2010 Daniel Lezcano <daniel.lezcano@free.fr>

update the man page with the net script hook Update the man page wrt the hook script added for the host side network configuration. Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>

49d3e78dceea24fcdd09529d1c748b69e19ef63f 05-Oct-2010 Daniel Lezcano <daniel.lezcano@free.fr>

update the lxc.conf man page Update the man page regarding the image or block device supported as a rootfs. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

cccc74b5146cb1b88facef29a530c653dbe0cb90 13-Sep-2010 Daniel Lezcano <daniel.lezcano@free.fr>

configure container architecture When a container is installed with 32bits binaries while we are running on a 64bits host, inside the container we are seen as 64bits arch. That leads to some problems for the package updates because the scripts will download 64bits packages instead of 32bits. This patch defines a configuration variable to set the architecture of the container. lxc.arch = i686 | x86 | x86_64 | amd64 Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

765a4e07838e51be672b4e0535845ff8e0a719eb 17-Jun-2010 Daniel Lezcano <dlezcano@fr.ibm.com>

add lxc.console documentation Add missing documenation about the console output. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

3103609ddc82f25061965ad0a0d3800c2a60f490 11-Jun-2010 Ferenc Wagner <wferi@niif.hu>

change pivotdir default to mnt The mnt directory has a good chance to already exist in the new root filesystem, so creation and removal can be avoided. This also eases use of read only root filesystems (no configuration necessary). Signed-off-by: Ferenc Wagner <wferi@niif.hu> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

64b90b3d1e90bfc7a6b3174fc0a923332995e31a 11-Jun-2010 Ferenc Wagner <wferi@niif.hu>

document rootfs options Signed-off-by: Ferenc Wagner <wferi@niif.hu> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

b78b21258cc26682641bd72fd8fc10d1c6140e33 29-Apr-2010 Michel Normand <normand@fr.ibm.com>

man update lxc.conf reformating given examples and add reference to examples directory. Signed-off-by: Michel Normand <normand@fr.ibm.com> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

9eb09f87215e8df035df975635f8a68b3201a5b1 22-Jan-2010 Daniel Lezcano <dlezcano@fr.ibm.com>

version 0.6.5 Increment to 0.6.5 version. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

81810dd120291b78daf7c6833e6fcbca0289aad5 21-Jan-2010 Daniel Lezcano <dlezcano@fr.ibm.com>

drop capabilities Hello everyone! I've written a patch which adds a new config keyword 'lxc.cap.drop'. This keyword allows to specify capabilities which are dropped before executing the container binary. Example: lxc.cap.drop = sys_chroot lxc.cap.drop = mknod lxc.cap.drop = sys_module or specify in a single line: lxc.cap.drop = sys_chroot mknod sys_module Reworked-by: Daniel Lezcano <daniel.lezcano@free.fr> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: Michael Holzt <lxc@my.fqdn.org> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

23a92fad754b6671f11f8908c32718762d7a3fdd 05-Jan-2010 Paul Fee <pfee@talk21.com>

fix manpage typo Fix and clarify some parts of the lxc.conf man page. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

e892973e391aa93f4aac144527400ae24ad68032 28-Dec-2009 Daniel Lezcano <daniel.lezcano@free.fr>

add macvlan vepa and bridge mode The future kernel 2.6.33 will incorporate the macvlan bridge mode where all the macvlan will be able to communicate if they are using the same physical interface. This is an interesting feature to have containers to communicate together. If we are outside of the container, we have to setup a macvlan on the same physical interface than the containers and use it to communicate with them. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

0f71d073eec849672b7f5a089fb4697f423c35bc 19-Nov-2009 Daniel Lezcano <daniel.lezcano@free.fr>

update the man pages Update the man pages regarding the modifications around the configuration option, volatile containers and new configuration file format. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

9f78081ae0b20141ae6d3e4230b7ec401b174c3c 02-Jul-2009 christophe.quintard@fr.ibm.com <christophe.quintard@fr.ibm.com>

Rewriting the pts section man for lxc.conf I think this explanation is better. Signed-off-by: Christophe Quintard <christophe.quintard@fr.ibm.com> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

99e4008cad9e959b683c6f48411fcf15a92be3b5 28-May-2009 Michel Normand <normand@fr.ibm.com>

change man pages to use a seealso file for references the common references to lxc man pages are now placed in one file "see_also.sgml.in" Note that the few man pages that refer to man pages that are not lxc ones have two "See Also" paragraph. Signed-off-by: Michel Normand <normand@fr.ibm.com> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

341a091c39862e34090653a85f518184e47d3d4d 12-Feb-2009 dlezcano <dlezcano>

Update the man according new devpts instance From: Daniel Lezcano <dlezcano@fr.ibm.com> Update the man page with the new devpts instance option. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

b0a33c1eb65d2c87e886c740a0dadd8ad5f8d87d 25-Jan-2009 dlezcano <dlezcano>

From: Daniel Lezcano <daniel.lezcano@free.fr> Console support for the system container. Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

998dc19ad6f62fcc7722e596c8cbaa488a5a5e93 25-Nov-2008 dlezcano <dlezcano>

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>

8a67a2b2eaf28033962a432c214bd3303c29c54c 19-Nov-2008 dlezcano <dlezcano>

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>