- 12 Jul, 2017 15 commits
-
-
Christian Brauner authored
cgfsng: remove the old workdaround code
-
Christian Brauner authored
update doc and test
-
Long Wang authored
Signed-off-by:Long Wang <w@laoqinren.net>
-
Long Wang authored
Signed-off-by:Long Wang <w@laoqinren.net>
-
Long Wang authored
Signed-off-by:Long Wang <w@laoqinren.net>
-
Long Wang authored
Signed-off-by:Long Wang <w@laoqinren.net>
-
Long Wang authored
Signed-off-by:Long Wang <w@laoqinren.net>
-
Long Wang authored
Signed-off-by:Long Wang <w@laoqinren.net>
-
Long Wang authored
Signed-off-by:Long Wang <w@laoqinren.net>
-
Long Wang authored
Signed-off-by:Long Wang <w@laoqinren.net>
-
Long Wang authored
Signed-off-by:Long Wang <w@laoqinren.net>
-
Long Wang authored
Signed-off-by:Long Wang <w@laoqinren.net>
-
Long Wang authored
Signed-off-by:Long Wang <w@laoqinren.net>
-
Long Wang authored
Signed-off-by:Long Wang <w@laoqinren.net>
-
Long Wang authored
Signed-off-by:Long Wang <w@laoqinren.net>
-
- 11 Jul, 2017 7 commits
-
-
Christian Brauner authored
cgfsng: only output debug info when we set cgroup data
-
Christian Brauner authored
Update Japanese man pages
-
KATOH Yasufumi authored
add "--defined" option Signed-off-by:KATOH Yasufumi <karma@jazz.email.ne.jp>
-
KATOH Yasufumi authored
Follow updates of configuration keys: * Delete lxc.kmsg (commit 26a38fb6) * lxc.console -> lxc.console.path (commit 3aed4934) * lxc.mount -> lxc.mount.fstab (commit 47148e96) * lxc.net.ipv{4,6} -> lxc.net.ipv{4,6}.address (commit 9ff60df2, 2e44ae28) * lxc.tty -> lxc.tty.max, lxc.devttydir -> lxc.tty.dir (commit fe1c5887) * lxc.pts -> lxc.pty.max (commit 232763) Signed-off-by:
KATOH Yasufumi <karma@jazz.email.ne.jp>
-
Long Wang authored
Only output debug info `cgroup 'xxxx' set to 'yyyy'` when we set cgroup data. Signed-off-by:Long Wang <w@laoqinren.net>
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
William Gathoye authored
Fix potential CVE when using spaces in LXC names Signed-off-by:William Gathoye <william@gathoye.be>
-
- 10 Jul, 2017 3 commits
-
-
Christian Brauner authored
start: dup std{in,out,err} to pty slave -
Christian Brauner authored
non-functional changes Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Li Feng authored
In the case the container has a console with a valid slave pty file descriptor we duplicate std{in,out,err} to the slave file descriptor so console logging works correctly. When the container does not have a valid slave pty file descriptor for its console and is started daemonized we should dup to /dev/null. Closes #1646. Signed-off-by:Li Feng <lifeng68@huawei.com> Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com>
-
- 09 Jul, 2017 5 commits
-
-
Christian Brauner authored
delete comments
-
Serge Hallyn authored
utils: use access instead of stat
-
Long Wang authored
we shoud test whether the file exists and grants execute permissions. Signed-off-by:Long Wang <w@laoqinren.net>
-
Long Wang authored
Signed-off-by:Long Wang <w@laoqinren.net>
-
Long Wang authored
Signed-off-by:Long Wang <w@laoqinren.net>
-
- 08 Jul, 2017 10 commits
-
-
Serge Hallyn authored
start: use separate socket on daemonized start
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
This adds a little more flexibility to the state server. The idea is to have a command socket function "lxc_cmd_add_state_client()" whose only task is to add a new state client to the container's in-memory handler. This function returns either the state of the container if it is already in the requested state or it will return the newly registered client's fd in one of its arguments to the caller. We then provide a separate helper function "lxc_cmd_sock_rcv_state()" which can be passed the returned client fd and listens on the fd for the requested state. This is useful when we want to first register a client, then send a signal to the container and wait for a state. This ensure that the client fd is registered before the signal can have any effect and can e.g. be used to catch something like the "STOPPING" state that is very ephemeral. Additionally we provide a convenience function "lxc_cmd_sock_get_state()" which combines both tasks and is used in e.g. "lxc_wait()". Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
The new wait commands API is not yet stable so this change is ok. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Add a test to see if we can start daemonized containers that have a very short-lived init process. The point of this is to see whether we can correctly retrieve the state. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-