hyperboria / bugs

Peer-to-peer IPv6 networking, secure and near-zero-conf.
154 stars 17 forks source link

OpenRC script uses deprecated runscript, hangs on boot #185

Closed crabctrl closed 5 years ago

crabctrl commented 5 years ago

So the deprecation thing isn't really a huge problem as long as it works, but it's something worth mentioning.

The bigger issue is that when you add CJDNS to the default runlevel, it causes a hang at boot, waiting for the script to timeout and get killed (or something along those lines). You then need to manually run /etc/init.d/cjdns start once you've booted in. I'm not an OpenRC expert so I don't really know what's going on, but I'll try to investigate. Help would be greatly appreciated, I'm getting tired of having to manually start CJDNS every time I boot :P

Edit: The runscript thing is easily fixed by changing #!/sbin/runscript to #!/sbin/openrc-run