Devuan bug report logs - #392
When pid1==runit, mis-detects container and doesn't start

version graph

Package: eudev; Maintainer for eudev is Devuan Dev Team <devuan-dev@lists.dyne.org>; Source for eudev is src:eudev.

Reported by: KORN Andras <korn-debbugs@elan.rulez.org>

Date: Sun, 9 Feb 2020 10:48:02 UTC

Severity: normal

Found in version 3.2.9-4

Done: Svante Signell <svante.signell@gmail.com>

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#392: When pid1==runit, mis-detects container and doesn't start
Reply-To: KORN Andras <korn-debbugs@elan.rulez.org>, 392@bugs.devuan.org
Resent-From: KORN Andras <korn-debbugs@elan.rulez.org>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: Devuan Dev Team <devuan-dev@lists.dyne.org>
X-Loop: owner@bugs.devuan.org
Resent-Date: Sun, 09 Feb 2020 10:48:02 +0000
Resent-Message-ID: <handler.392.B.15812445703844@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: report 392
X-Devuan-PR-Package: eudev
X-Devuan-PR-Keywords: 
Received: via spool by submit@bugs.devuan.org id=B.15812445703844
          (code B); Sun, 09 Feb 2020 10:48:02 +0000
Received: (at submit) by bugs.devuan.org; 9 Feb 2020 10:36:10 +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); Sun, 09 Feb 2020 10:36:10 +0000 (UTC)
Received: from flamant.cae-engineering.hu (flamant.cae-engineering.hu [62.210.203.57])
	by vm6.ganeti.dyne.org (Postfix) with ESMTP id 2C2DEF608BE
	for <submit@bugs.devuan.org>; Sun,  9 Feb 2020 11:34:54 +0100 (CET)
Received: (qmail 54715 invoked from network); 9 Feb 2020 11:34:54 +0100
Received: from flamant.amavis.cae-engineering.hu (HELO localhost) (172.18.30.131)
  by flamant.qmail.cae-engineering.hu with ESMTP; 9 Feb 2020 11:34:54 +0100
X-Virus-Scanned: by amavisd-new-2.7.1 (20120429) at cae-engineering.hu
Received: from unknown ([172.18.30.1])
	by localhost (flamant.amavis.cae-engineering.hu [172.18.30.131]) (amavisd-new, port 1628)
	id DA246nol7m4l for <submit@bugs.devuan.org>;
	Sun,  9 Feb 2020 11:34:48 +0100 (CET)
Received: from akorn-home.user.vpn.cae-engineering.hu (HELO hellgate.av.hu) (172.18.28.253)
  by flamant.cae-engineering.hu with ESMTP; 9 Feb 2020 11:34:48 +0100
Received: (qmail 24661 invoked by uid 1000); 9 Feb 2020 11:34:48 +0100
Date: Sun, 9 Feb 2020 11:34:48 +0100
From: KORN Andras <korn-debbugs@elan.rulez.org>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Message-ID: <20200209103448.lancgj764wum4y4x@hellgate>
X-Reportbug-Version: 7.5.1+devuan1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
Package: eudev
Version: 3.2.9-4
Severity: important

Hi,

the /etc/init.d/eudev initscript has this bit:

if ! ps -p1|grep -q "init\|systemd"; then
  log_warning_msg "udevd does not support containers, not started"
  exit 0
fi

If running with runit as the init system (which is obviously neither
sysvinit nor systemd), the script exits without starting eudev, which
results in no keyboard and mouse under X and no local way of switching to a
text console.

Perhaps use virt-what to detect containers instead?

András

-- 
                   Can February March? No, but April May...

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: Wed Apr 24 00:48:40 2024;