Subject: Re: bug#445: lxc-start and lxc-execute cause segfault started by non-root and completely unusable

From: Mark Hindley <[email-masked]>
Date: Sat, 9 May 2020 17:07:25 +0100

On Sat, May 09, 2020 at 10:16:05AM +0900, Ryutaroh Matsumoto wrote:
> Package: lxc
> Version: 1:3.1.0+really3.0.3-8
> Severity: grave
> Justification: renders package unusable

Thanks.
 
> On a Devuan Beowulf (running on qemu-kvm), as root I can use the lxc package
> with no problem. Thank you. As root, "lxc-start -F -n beowulf" works fine
> in the below qemu-kvm image.
> 
> But when lxc-execute or lxc-start is run by a non-root user, they always give
> segmentation fault and are completely unsable (screenshot attached).
> One of claimed advantages of lxc is to allow non-root users to use containers,
> but Devuan users cannot enjoy it...

Is this different behaviour than when running on a Debian host? Devuan doesn't
fork lxc and uses Debian's packages directly.

Does your unprivileged user have write access to cgroups? That appears to be a
common cause of this from a quick internet search.

Mark