I've installed udisks-glue on my Raspbian Raspberry Pi, along with a System V init script at /etc/init.d/udisks-glue (as per instructions here). I make it executable and run the following, which returns no errors.sudo update-rc.d udisks-glue defaultsI can start the script fine, and it works as expected.$ sudo service udisks-glue start[ ok ] Starting Automounter: udisks-glue.$ sudo service udisks-glue status[ ok ] udisks-glue is running.However, when I reboot, it's not running. This used to work fine, but I reinstalled a minimal system, and it no longer works. It's possible that I'm missing some packages.$ sudo service udisks-glue status[FAIL] udisks-glue is not running ... failed!TroubleshootingI've tried to log output and errors by changing a line in the start) block tostart-stop-daemon --start --exec $DAEMON -- -p $PIDFILE &>> /tmp/udisks-glue.logThis file is empty on reboot. However, it does exist, suggesting that the script is at least partially executed.Finally, I've tried to confirm proper installation. Amongst other things, locate udisks-glue returns/etc/rc0.d/K01udisks-glue/etc/rc1.d/K01udisks-glue/etc/rc2.d/S01udisks-glue/etc/rc3.d/S01udisks-glue/etc/rc4.d/S01udisks-glue/etc/rc5.d/S01udisks-glue/etc/rc6.d/K01udisks-glueEDIT  Further troubleshootingI thought I might test if the script was acting too early, so I tested two possible solutions. Both failed. Firstly, I tried making the script run at a lower priority.mv /etc/rc2.d/S{01,90}udisks-glueSecondly, I reverted this then inserted sleep 90 into the start) block, just before the start-stop-daemon invocation.
How can I make this System V init script start at boot?
raspberry pi;init script;raspbian;init.d;sysvinit