:: [devuan-dev] bug#392: When pid1==ru…
Forside
Slet denne besked
Besvar denne besked
Skribent: KORN Andras
Dato:  
Til: Devuan Bug Tracking System
Emne: [devuan-dev] bug#392: When pid1==runit, mis-detects container and doesn't start
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...