• devuan-packages
  • eudev
  • Issues
  • #22

Closed
Open
Opened 2020-02-24T06:13Z by Ivan Gonzalez Polanco @polanco

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 andslim(and other processes, I guess) failed to start.

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

I checked/etc/init.d/eudevand found the line preceding the containers message made use ofhead.

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

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

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

  • Ivan Gonzalez Polanco
    Ivan Gonzalez Polanco @polanco · 2020-03-02T21:12Z

    Hi, I upgraded eudev to 3.2.9-6 and the issue's been fixed. I think it was due to the addition of/usr/binto$PATH, now the shell knows whereheadis.

    I'm gonna close this issue.

  • Ivan Gonzalez Polanco @polanco closed · 2020-03-02T21:12Z

    closed