- 19 May, 2021 4 commits
-
-
Stéphane Graber authored
conf: support idmapped lxc.mount.entry entries
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Make sure we catch any weird behavior. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 18 May, 2021 2 commits
-
-
Christian Brauner authored
Skip rootfs pinning for read-only file system.
-
Wei Mingzhi authored
Signed-off-by:Wei Mingzhi <weimingzhi@baidu.com>
-
- 17 May, 2021 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>
-
- 14 May, 2021 2 commits
-
-
Stéphane Graber authored
start: move idmapped mount setup later
-
Christian Brauner authored
At the prior location we we're placed between sending and receiving networking information over the data socket causing the startup to fail. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 12 May, 2021 4 commits
-
-
Stéphane Graber authored
conf: fix containers without rootfs
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Fixes: #3838 Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Fixes: #3838 Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 11 May, 2021 2 commits
-
-
Stéphane Graber authored
cgroups: clean up cgroup_ops on initialization error
-
Christian Brauner authored
Fixes: #3836 Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 10 May, 2021 3 commits
-
-
Stéphane Graber authored
oss-fuzz: add basic cgroup_init()/cgroup_exit() fuzzing
-
Stéphane Graber authored
tests: fix lxc-test-arch-parse for make dist
-
Christian Brauner authored
Fixes: https://jenkins.linuxcontainers.org/job/lxc-build-tarballs/2762/consoleSigned-off-by:
Christian Brauner <christian.brauner@ubuntu.com>
-
- 09 May, 2021 6 commits
-
-
Stéphane Graber authored
confile: re-add aarch64 architecture
-
Christian Brauner authored
Ensure that we detect all supported architectures and don't regress recognizing them. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Apparenty we dropped this when we cleaned up architecture handling. Fixes: #3832 Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Skip rootfs pinning for ZFS roots.
-
Jeff Cook authored
Per https://github.com/lxc/lxc/pull/3831#discussion_r628865713Signed-off-by:
Jeff Cook <jeff@jeffcook.io>
-
Jeff Cook authored
Signed-off-by:Jeff Cook <jeff@jeffcook.io>
-
- 07 May, 2021 2 commits
-
-
Stéphane Graber authored
doc: document new idmap= option for lxc.rootfs.options
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 06 May, 2021 2 commits
-
-
Stéphane Graber authored
conf: handle kernels with CAP_SETFCAP
-
Christian Brauner authored
LXC is being very clever and sometimes maps the caller's uid into the child userns. This means that the caller can technically write fscaps that are valid in the ancestor userns (which can be a security issue in some scenarios) so newer kernels require CAP_SETFCAP to do this. Until newuidmap/newgidmap are updated to account for this simply write the mapping directly in this case. Cc: stable-4.0 Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 04 May, 2021 11 commits
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Stéphane Graber authored
lxc.arch fixes
-
Christian Brauner authored
Introduce LXC_ATTACH_DETECT_PERSONALITY to make it explicit what is happening instead of using -1. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Catch errors in personality handling better. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
In a moment of idioticity I switch -1 with 0xffffffff in the header definition but we use -1 to autodetect. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Fix architecture parsing. So far we couldn't really differ between "want default architecture" and "failed to parse requested architecture" because the -1 return value means both. Fix this by using the return value only to indicate success or failure and return the parsed personality in a return argument. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Use the dedicated LXC_ARCH_UNCHANGED macro everywhere instead of relying on -1 being correct. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Now that we have the infra to make personality handling unconitional remove the ifndefs everywhere. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
There's no need to making personality handling conditional as it has been around for such a long time that only weird systems wouldn't have support for it. And especially if the user requested a specific personality to be set but the system doesn't support the personality syscall we should loudly fail instead of moving on. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Don't spam the logs because we do receive a lot of file descriptors. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-