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

From: KORN Andras <[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...