liminix-rebuild always requires reboot #8
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Every time
liminix-rebuild
runs, it reboots the device to ensure that all services are stopped/started appropriately. This is correct but also quite slow, especially on devices that take a long time to boot due to hardware probes, STP or whatever.It's also (probably) overkill, as s6-rc allows the live service database to be switched on the fly - so we should be able to install the new service database and then tell it to switch over and it can figure out for us everything that needs to be stopped or started. Investigate how it works this out (hopefully it's not just comparing service names) and see if we can use it to speed up rebuilds.
https://www.skarnet.org/software/s6-rc/faq.html