:: [devuan-dev] bug#392: When pid1==ru…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: KORN Andras
Date:  
À: Devuan Bug Tracking System
Sujet: [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...