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


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#445: lxc-start and lxc-execute cause segfault started by non-root and completely unusable
Reply-To: Mark Hindley <mark@hindley.org.uk>, 445@bugs.devuan.org
Resent-From: Mark Hindley <mark@hindley.org.uk>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: devuan-dev@lists.dyne.org
X-Loop: owner@bugs.devuan.org
Resent-Date: Sat, 09 May 2020 16:33:01 +0000
Resent-Message-ID: <handler.445.B445.15890412033668@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 445
X-Devuan-PR-Package: lxc
X-Devuan-PR-Keywords: 
References: <20200509.101605.670760606404745203.ryutaroh@ict.e.titech.ac.jp> <20200509.101605.670760606404745203.ryutaroh@ict.e.titech.ac.jp>
Received: via spool by 445-submit@bugs.devuan.org id=B445.15890412033668
          (code B ref 445); Sat, 09 May 2020 16:33:01 +0000
Received: (at 445) by bugs.devuan.org; 9 May 2020 16:20:03 +0000
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
Message-ID: <20200509160725.GK32762@hindley.org.uk>
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>
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: Thu Apr 18 23:02:32 2024;