eudev fails to start, says `head` is not found
Hello! I'm running Devuan Ceres and yesterday I upgraded eudev to 3.2.9-5.
Today I turned my computer on and
slim(and other processes, I guess) failed
After a bit of debugging I noticed that in the boot process it said "head not found" while running eudev's init script, followed by:
eudevd does not support containers, not started
/etc/init.d/eudevand found the line preceding the containers
message made use of
Then I looked into the mailing lists and found @gnu_srs ' effort for detecting when Devuan is being run inside a container. After a quick git blame in this repo I found the commit that changed the behaviour is 5f69bb65
The temporal solution I found was to simply comment the part of eudev's init script where it tests if it's inside a container:
-if ! cat /proc/1/sched | head -n 1 | grep -q "(1,"; then - log_warning_msg "udevd does not support containers, not started" - exit 0 -fi +# if ! cat /proc/1/sched | head -n 1 | grep -q "(1,"; then +# log_warning_msg "udevd does not support containers, not started" +# exit 0 +# fi
headwas a shell built-in but apparently it's not. I don't know if
someone else if suffering the same error or if it's a misconfiguration in my machine.
If there's something I can do to help I'd be glad to.