Subject: bug#392 closed by Svante Signell <[email-masked]> (reply to [email-masked]) ([Devuan-bugs] bug#392: When pid1==runit, mis-detects container and doesn't start)

From: "Devuan bug Tracking System" <[email-masked]>
Date: Mon, 24 Feb 2020 10:33:07 +0000

This is an automatic notification regarding your bug report
which was filed against the eudev package:

#392: When pid1==runit, mis-detects container and doesn't start

It has been closed by Svante Signell <[email-masked]> (reply to [email-masked]).

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Svante Signell <[email-masked]> (reply to [email-masked]) by
replying to this email.

-- 
392: https://bugs.devuan.org/cgi/bugreport.cgi?bug=392
Devuan Bug Tracking System
Contact [email-masked] with problems

Subject: [Devuan-bugs] bug#392: When pid1==runit, mis-detects container and doesn't start
From: Svante Signell <[email-masked]>
To: [email-masked]
Date: Mon, 24 Feb 2020 11:15:59 +0100

Fixed by eudev-3.2.9-6, closing.

Subject: When pid1==runit, mis-detects container and doesn't start
From: KORN Andras <[email-masked]>
To: Devuan Bug Tracking System <[email-masked]>
Date: Sun, 9 Feb 2020 11:34:48 +0100

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...