History log of /lxc/doc/lxc-attach.sgml.in
Revision Date Author Comments Expand
be3ee4adbabb62f0d5a8564e21c8b47fd13793c9 15-Aug-2016 KATOH Yasufumi <karma@jazz.email.ne.jp>

doc: Update lxc-attach(1) * Add undocumented options (-v/--set-var, --keep-var, -f/--rcfile) * Change order of option in SYNOPSIS (-L that is placed after "command") * Add long options in SYNOPSIS Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>

659ce93a2e405f928cd4e1a457270572571a8db8 11-Aug-2016 Stéphane Graber <stgraber@ubuntu.com>

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

54e478606b53e5983aba84c1f6619d55923ff605 18-Apr-2016 Christian Brauner <christian.brauner@mailbox.org>

lxc-attach: add logging option to manpage Signed-off-by: Christian Brauner <christian.brauner@mailbox.org>

e9555a6bc7056cd887ee19c80b6c59627ac61255 03-Apr-2016 Evgeni Golov <evgeni@debian.org>

fix spelling mistakes spotted by Debian's lintian Signed-off-by: Evgeni Golov <evgeni@debian.org>

759d521b1fd7bb6c82fc5f7759a1fefc397a7969 02-Mar-2016 Christian Brauner <christian.brauner@mailbox.org>

lxc-attach: small improvements to manpage Explain that the pipe symbol needs to be escaped for -e and -s. Signed-off-by: Christian Brauner <christian.brauner@mailbox.org>

478dda766ac987ac54df79a126209bbd30792b49 25-Feb-2016 Christian Brauner <christian.brauner@mailbox.org>

lxc-attach: rework pty allocation Previously we implemented two ways to get a pty for lxc-attach: 1. get a pty in the container 2. get a pty on the host Where 1. was the default and 2. was only tried after 1. failed. For safety and simplicity reasons, we remove 1. and just keep 2. around. Signed-off-by: Christian Brauner <christian.brauner@mailbox.org>

02e5d92b70562457a963f0803f0069053ce3292b 23-Feb-2016 Christian Brauner <christian.brauner@mailbox.org>

update manpages - add note to lxc-clone manpage that it is superseded by lxc-copy - add note to lxc-start-ephemeral manpage that it is superseded by lxc-copy - fix typo in lxc-attach manpage - fix some of my comments in lxc_ls.c Signed-off-by: Christian Brauner <christian.brauner@mailbox.org>

e986ea3dfa4a2957f71ae9bfaed406dd6e1ffff6 22-Feb-2016 Christian Brauner <christian.brauner@mailbox.org>

update lxc-attach manpage - explain rationale behind allocation of pty - briefly explain how a pty is allocated - add a short note that describes the changed behavior for lxc-attach when the user is not placed in a writeable cgroup at login Signed-off-by: Christian Brauner <christian.brauner@mailbox.org>

a600d021adf34e58b3991269a9ceca3737c63aa8 06-Jan-2014 KATOH Yasufumi <karma@jazz.email.ne.jp>

doc: Update man pages to the latest information * lxc-attach(1): Update to the status of kernel 3.8 or higher * lxc-create(1), lxc-destroy(1): Now lxc-ls don't have "-l" option, so remove * lxc(7): update description of lxc-ls and lxc-info to current version * see-also: fix lxc(1) to lxc(7) Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp> Acked-by: Stéphane Graber <stgraber@ubuntu.com>

4d69b2939ce09fbe624636dc01734a542e050ef9 20-Nov-2013 Nikola Kotur <kotnick@gmail.com>

lxc-attach: elevate specific privileges There are scenarios in which we want to execute process with specific privileges elevated. An example for this might be executing a process inside the container securely, with capabilities dropped, but not in container's cgroup so that we can have per process restrictions inside single container. Similar to namespaces, privileges to be elevated can be OR'd: lxc-attach --elevated-privileges='CAP|CGROUP' ... Backward compatibility with previous versions is retained. In case no privileges are specified behaviour is the same as before: all of them are elevated. Signed-off-by: Nikola Kotur <kotnick@gmail.com> Acked-By: Christian Seiler <christian@iwakd.de> Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.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>

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
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>

799f96fdd8fc9c0685fffee5998aab2287ebc25f 01-Apr-2013 Christian Seiler <christian@iwakd.de>

lxc-attach: Implement --clear-env and --keep-env This patch introduces the --clear-env and --keep-env options for lxc-attach, that allows the user to specify whether the environment should be passed on inside the container or not. This is to be expanded upon in later versions, this patch only introduces the most basic functionality. Signed-off-by: Christian Seiler <christian@iwakd.de> Acked-by: Serge E. Hallyn <serge.hallyn@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
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>

037ba55cbee97bb9e1be95423c358ac1a7b33a2a 12-Nov-2012 Dwight Engen <dwight.engen@oracle.com>

fix minor spelling error Signed-off-by: Dwight Engen <dwight.engen@oracle.com>

7a0b0b5672a33c190eefb4b2d3e3693241c130f2 12-Nov-2012 Christian Seiler <christian@iwakd.de>

lxc-attach: Add -R option to remount /sys and /proc when only partially attaching When attaching to only some namespaces of the container but not the mount namespace, the contents of /sys and /proc of the host system do not properly reflect the context of the container's pid and/or network namespaces, and possibly others. The introduced -R option adds the possibility to additionally unshare the mount namespace (when it is not being attached) and remount /sys and /proc in order for those filesystems to properly reflect the container's context even when only attaching to some of the namespaces. Signed-off-by: Christian Seiler <christian@iwakd.de> Acked-by: Serge Hallyn <serge.hallyn@canonical.com> Cc: Daniel Lezcano <daniel.lezcano@free.fr>

e13eeea2db3743bf8d3fe2833e069a80e2c4102c 12-Nov-2012 Christian Seiler <christian@iwakd.de>

lxc-attach: Add -s option to select namespaces to attach to This patch allows the user to select any list of namespaces (network, pid, mount, uts, ipc, user) that lxc-attach should use when attaching to the container; all other namespaces will not be attached to. This allows the user to for example attach to just the network namespace and use the host's (and not the container's) network tools to reconfigure the network of the container. Signed-off-by: Christian Seiler <christian@iwakd.de> Cc: Daniel Lezcano <daniel.lezcano@free.fr> Acked-by: Serge Hallyn <serge.hallyn@canonical.com>

b4578c5b380130a41a69b5b49c970157acaf1dbb 25-Oct-2012 Dwight Engen <dwight.engen@oracle.com>

lxc-doc-synopsis-args I was getting raw nroff ".SH DESCRIPTION" in my man pages. This fixes the synopsis cmd args so that doesn't happen. Added replaceable to a few arguments. Signed-off-by: Dwight Engen <dwight.engen@oracle.com>

baf977694ac0754b53c5c12aa13aa63acd6b5a7c 02-Mar-2012 Daniel Lezcano <daniel.lezcano@free.fr>

fix lxc-attach.sgml.in spurious variable list Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>

49ee6cdcbf79d8b6fa617479ec8ab753ccca923d 23-Feb-2012 Christian Seiler <christian@iwakd.de>

Add man page for lxc-attach Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>