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 #17 received at 445@bugs.devuan.org (full text, mbox, reply):

Received: (at 445) by bugs.devuan.org; 10 May 2020 00:50:05 +0000
Return-Path: <matsumoto.r.aa@m.titech.ac.jp>
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); Sun, 10 May 2020 00:50:05 +0000 (UTC)
Received: from mail004.nap.gsic.titech.ac.jp (mail004.nap.gsic.titech.ac.jp [131.112.13.104])
	by vm6.ganeti.dyne.org (Postfix) with SMTP id 616C3F60B88
	for <445@bugs.devuan.org>; Sun, 10 May 2020 02:47:08 +0200 (CEST)
Received: from 172.22.40.202
	by mail004.nap.gsic.titech.ac.jp with Mail2000 ESMTP Server V7.00(2778:0:AUTH_RELAY)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Sun, 10 May 2020 09:47:05 +0900 (JST)
Received: from mail004.nap.gsic.titech.ac.jp (mail004.nap.gsic.titech.ac.jp [131.112.13.104])
	by drweb05.nap.gsic.titech.ac.jp (Postfix) with SMTP id A287CE253;
	Sun, 10 May 2020 09:47:05 +0900 (JST)
Received: from 126.255.18.103
	by mail004.nap.gsic.titech.ac.jp with Mail2000 ESMTPA Server V7.00(2776:0:AUTH_LOGIN)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Sun, 10 May 2020 09:47:05 +0900 (JST)
Date: Sun, 10 May 2020 09:47:04 +0900 (JST)
Message-Id: <20200510.094704.2143693438085557183.ryutaroh@ict.e.titech.ac.jp>
To: mark@hindley.org.uk
Cc: 445@bugs.devuan.org
Subject: Re: bug#445: lxc-start and lxc-execute cause segfault started by
 non-root and completely unusable
From: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
In-Reply-To: <20200509160725.GK32762@hindley.org.uk>
References: <20200509.101605.670760606404745203.ryutaroh@ict.e.titech.ac.jp>
	<20200509160725.GK32762@hindley.org.uk>
X-Mailer: Mew version 6.8 on Emacs 26.3
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
Control: retitle -1 lxc-start and lxc-execute cause segfault started by non-root without libpam-cgfs
Control: severity -1 minor

Hi Mark, Thanks again for your attention and response.

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

I have never seen this. What I saw on Debian and Ubuntu was
https://github.com/lxc/lxc/issues/3221#issuecomment-600171973
which was unusable but not a segfault.

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

The cause was that I did not install libpam-cgfs package.
You are welcome to close this, though this seems a minor bug to me.
I have no idea if this is an upstream issue.

Best regards, Ryutaroh

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:22:39 2024;