Quoting Yang Shi (yang@linaro.org):
> When run the below command:
> lxc-start -n name -f /path/to/config
>
> If config is not a regular file, lxc-start will be killed by SEG FAULT
> directly.
What exactly was the file to get a segfault? When I try with a device
or a directory I do not get a
Signed-off-by: Christian Brauner
---
share/lxc.mount.hook.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/share/lxc.mount.hook.in b/share/lxc.mount.hook.in
index 7194ab8..5ed2d60 100755
--- a/share/lxc.mount.hook.in
+++
Quoting Christian Brauner (christianvanbrau...@gmail.com):
> Signed-off-by: Christian Brauner
Acked-by: Serge E. Hallyn
> ---
> share/lxc.mount.hook.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git
Quoting Christian Brauner (christianvanbrau...@gmail.com):
> The mount_entry_create_*_dirs() functions currently assume that the rootfs of
> the container is actually named "rootfs". This has the consequence that
>
> del = strstr(lxcpath, "/rootfs");
> if (!del) {
>
Quoting Christian Brauner (christianvanbrau...@gmail.com):
> The mount_entry_create_*_dirs() functions currently assume that the rootfs of
> the container is actually named "rootfs". This has the consequence that
>
> del = strstr(lxcpath, "/rootfs");
> if (!del) {
>
On 10/15/2015 7:31 AM, Serge Hallyn wrote:
Quoting Yang Shi (yang@linaro.org):
When run the below command:
lxc-start -n name -f /path/to/config
If config is not a regular file, lxc-start will be killed by SEG FAULT
directly.
What exactly was the file to get a segfault? When I try with a
Quoting Stéphane Graber (stgra...@ubuntu.com):
> Signed-off-by: Stéphane Graber
Acked-by: Serge E. Hallyn
> ---
> templates/lxc-ubuntu-cloud.in | 46
> ---
> 1 file changed, 4 insertions(+), 42 deletions(-)
The lxc monitor does not store the container's cgroups, rather it
recalculates them whenever needed.
Systemd moves itself into a /init.scope cgroup for the systemd
controller.
It might be worth changing that (by storing all cgroup info in the
lxc_handler), but for now go the hacky route and chop