Hi, after I upgraded udev to version 147 the udev init script always reports startup being failed although udevd is running. After some intensive research I found out that this is because of a missing "return 0" at the end of display_hotplugged_services() function. Explanation: When hotplugging is disabled via rc_hotplug="" in /etc/rc.conf the ${services} variable inside of the display_hotplugged_services() function stays empty. At the end of the function there's a test wether the variable is empty or not and that test returns 1 (false) when the variable is empty. As there's no explicit return statement at the end of the function the function returns with the value of the test for ${services} being empty. A simple "return 0" at the end of the function can fix this. Reproducible: Always Steps to Reproduce: 1. install udev-147 2. set rc_hotplug="" in /etc/rc.conf 3. reboot
Created attachment 210093 [details, diff] udev-147.init.patch
I added the "return 0" at the end of start this is the one that should return success. I also added it to the older init-scripts.