- 18 Nov, 2017 1 commit
-
-
Serge Hallyn authored
console: add lxc.console.buffer.size, lxc.console.buffer.logfile, lxc.console.rotate
-
- 17 Nov, 2017 8 commits
-
-
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
When a "clear" request is sent to the console ringbuffer we should truncate the console log file as well. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
The lxc_console_create() function used to munge the ringbuffer setup and the log file setup already. This made somewhat sense when we didn't have a separate ringbuffer log file. Now it's just plain confusing. So split this into logical helpers that future maintainers can understand: - lxc_console_create_log_file() - lxc_console_create_ringbuf(console); - lxc_console_create_ringbuf_log_file(console); Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
If we do it unconditionally a request to only clear the ringbuffer and not read or write anything will fail. 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
Determines the size of the ringbuffer. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 13 Nov, 2017 5 commits
-
-
Serge Hallyn authored
console: exit mainloop on SIGTERM
-
Serge Hallyn authored
lvm: generate new UUID for xfs + btrfs filesystems
-
Christian Brauner authored
Closes #1909. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
This allows cleanly exiting a console session without control sequences. Relates to https://github.com/lxc/lxd/pull/4001 . Note that the existence of a signal handler now doesn't guarantee that ts->node is allocated. Instead, ts->node will now only be added to if stdinfd is a tty. New checks need to take that into account. Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Non-functional changes to enable handling more signals. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 12 Nov, 2017 1 commit
-
-
Serge Hallyn authored
console: use correct escape sequence check
-
- 11 Nov, 2017 3 commits
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Serge Hallyn authored
lxccontainer: enable daemonized execute
-
Serge Hallyn authored
cgroups/cgfsng: adapt to new cgroup2 delegation
-
- 10 Nov, 2017 11 commits
-
-
Christian Brauner authored
This lets's users run daemonized application containers with our minimal init as pid 1 and the requested program as pid 2. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
This enables daemonized application containers with our minimal init running as pid one and the requested program running as second pid. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Stéphane Graber authored
console: report detach message on demand
-
Christian Brauner authored
When users pass -1 there's there won't be an escape sequence to exit the console so no need to print a misleading info message about how to detach. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Stéphane Graber authored
console: fix console info message
-
CC-Hsu authored
Hi, I try to create a Slackware container in a Slackware64 14.2 current and find that wget depends on libunistring. So I add libunistring to the package list. Closes #1915 Signed-off-by: Chia-Chun Hsu a12321aabb@gmail.com Acked-by:Stéphane Graber <stgraber@ubuntu.com>
-
Christian Brauner authored
Now it will be displayed nicely formatted: a1 login: chb@conventiont|~ > lxc console a1 Connected to tty 0 Type <Ctrl+a q> to exit the console, <Ctrl+a Ctrl+a> to enter Ctrl+a itself Ubuntu 17.10 a1 console a1 login: Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Stéphane Graber authored
attach: allow attach with empty conf
-
Stéphane Graber authored
lxc-oci: correctly handle --url
-
Felix Abecassis authored
Fix: #1898 Signed-off-by:Felix Abecassis <fabecassis@nvidia.com>
-
Christian Brauner authored
First tools/ refactor for review
-
- 09 Nov, 2017 2 commits
-
-
Austin Reichert authored
Signed-off-by:Austin Reichert <austinskyreichert@utexas.edu>
-
Christian Brauner authored
lxc-test-unpriv: fix the overlayfs mount error
-
- 08 Nov, 2017 4 commits
-
-
Serge Hallyn authored
API: add console ringbuffer extension
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Po-Hsu Lin authored
This patch fixes the missing workdir issue for the overlayfs mount command in the lxc-test-unpriv test. Bug link: https://bugs.launchpad.net/bugs/1730915Signed-off-by:
Po-Hsu Lin <po-hsu.lin@canonical.com>
-
Christian Brauner authored
In order to enable proper unprivileged cgroup delegation on newer kernels we not just need to delegate the "cgroup.procs" file but also "cgroup.threads". But don't report an error in case it doesn't exist. Also delegate "cgroup.subtree_control" to enable delegation of controllers to descendant cgroups. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 07 Nov, 2017 3 commits
-
-
Serge Hallyn authored
cgroups/cgfsng: fixes, features, and improved cgroup2 handling
-
Serge Hallyn authored
storage: switch to ext4 as default fs
-
Serge Hallyn authored
attach: handle namespace inheritance
-
- 06 Nov, 2017 2 commits
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-