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

Received: (at 445) by bugs.devuan.org; 10 May 2020 08:30: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); Sun, 10 May 2020 08:30: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 382FFF6050B
	for <445@bugs.devuan.org>; Sun, 10 May 2020 10:19:05 +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 1jXhAo-0005hK-Li; Sun, 10 May 2020 09:18:58 +0100
Received: (nullmailer pid 30955 invoked by uid 1000);
	Sun, 10 May 2020 08:18:58 -0000
Date: Sun, 10 May 2020 09:18:58 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: 445@bugs.devuan.org, Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
Subject: Re: bug#445: lxc-start and lxc-execute cause segfault started by
 non-root and completely unusable
Message-ID: <20200510081858.GP32762@hindley.org.uk>
References: <20200509.101605.670760606404745203.ryutaroh@ict.e.titech.ac.jp>
 <20200509160725.GK32762@hindley.org.uk>
 <20200510.094704.2143693438085557183.ryutaroh@ict.e.titech.ac.jp>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20200510.094704.2143693438085557183.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
Control: tags -1 debian

On Sun, May 10, 2020 at 09:47:04AM +0900, Ryutaroh Matsumoto wrote:
> > 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.

I am glad you found the cause.

libpam-cgfs is a Recommends for lxc. If you feel this should be a Depends then
please report to Debian BTS who package lxc. I agree that if an absent
recommends is not handled gracefully, that is a bug.

Thanks.

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:42:56 2024;