Devuan bug report logs - #445
lxc-start and lxc-execute cause segfault started by non-root without libpam-cgfs

version graph

Package: lxc; Maintainer for lxc is (unknown); Source for lxc is src:lxc.

Reported by: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>

Date: Sat, 9 May 2020 01:33:02 UTC

Severity: minor

Tags: debian

Found in version 1:3.1.0+really3.0.3-8

Done: Mark Hindley <mark@hindley.org.uk>

Full log


Message #8 received at 445@bugs.devuan.org (full text, mbox, reply):

Received: (at 445) by bugs.devuan.org; 9 May 2020 16:20:03 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sat, 09 May 2020 16:20:03 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 282DBF60B1B
	for <445@bugs.devuan.org>; Sat,  9 May 2020 18:07:33 +0200 (CEST)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1jXS0c-0007Kk-I2; Sat, 09 May 2020 17:07:26 +0100
Received: (nullmailer pid 22035 invoked by uid 1000);
	Sat, 09 May 2020 16:07:25 -0000
Date: Sat, 9 May 2020 17:07:25 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>, 445@bugs.devuan.org
Subject: Re: bug#445: lxc-start and lxc-execute cause segfault started by
 non-root and completely unusable
Message-ID: <20200509160725.GK32762@hindley.org.uk>
References: <20200509.101605.670760606404745203.ryutaroh@ict.e.titech.ac.jp>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20200509.101605.670760606404745203.ryutaroh@ict.e.titech.ac.jp>
X-Debbugs-No-Ack: No Thanks
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
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

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sun Nov 24 01:26:00 2024;