Devuan bug report logs - #442
bash: cannot use job control in an unprivileged LXC container

version graph

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

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

Date: Fri, 8 May 2020 08:33:01 UTC

Severity: minor

Found in version 5.0-4

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#442: bash: cannot use job control in an unprivileged LXC container
Reply-To: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>, 442@bugs.devuan.org
Resent-From: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: devuan-dev@lists.dyne.org
X-Loop: owner@bugs.devuan.org
Resent-Date: Fri, 08 May 2020 11:18:04 +0000
Resent-Message-ID: <handler.442.B442.15889362038016@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 442
X-Devuan-PR-Package: bash
X-Devuan-PR-Keywords: 
References: <20200508095711.GF32762@hindley.org.uk> <20200508.194350.1212914054386440073.ryutaroh@ict.e.titech.ac.jp> <20200508105131.GG32762@hindley.org.uk> <20200508.170810.2233074873503603924.ryutaroh@ict.e.titech.ac.jp>
Received: via spool by 442-submit@bugs.devuan.org id=B442.15889362038016
          (code B ref 442); Fri, 08 May 2020 11:18:04 +0000
Received: (at 442) by bugs.devuan.org; 8 May 2020 11:10: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); Fri, 08 May 2020 11:10:03 +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 07390F60B86
	for <442@bugs.devuan.org>; Fri,  8 May 2020 13:00:03 +0200 (CEST)
Received: from 172.22.40.202
	by mail004.nap.gsic.titech.ac.jp with Mail2000 ESMTP Server V7.00(2773:0:AUTH_RELAY)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Fri, 08 May 2020 20:00:03 +0900 (JST)
Received: from mail001.nap.gsic.titech.ac.jp (mail001.nap.gsic.titech.ac.jp [131.112.13.101])
	by drweb05.nap.gsic.titech.ac.jp (Postfix) with SMTP id 31F9ADEE7;
	Fri,  8 May 2020 20:00:03 +0900 (JST)
Received: from 126.255.18.103
	by mail001.nap.gsic.titech.ac.jp with Mail2000 ESMTPA Server V7.00(2611:0:AUTH_LOGIN)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Fri, 08 May 2020 20:00:01 +0900 (JST)
Date: Fri, 08 May 2020 20:00:00 +0900 (JST)
Message-Id: <20200508.200000.1230304860982772175.ryutaroh@ict.e.titech.ac.jp>
To: mark@hindley.org.uk
Cc: 442@bugs.devuan.org
From: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
In-Reply-To: <20200508105131.GG32762@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
> The usual quoted workaround for this sysmptom is using setsid(1) so that
> the  process is a session leader. However, I don't have any experience with lxc
> to know if that is possible or relevant in this case.

"setsid bash" did not work around this symptom...
On the other hand, logging in by "lxc-attach -n devuan" as root
does not cause this symptom, so it is another workaround...

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: Fri Mar 29 09:19:56 2024;