liminix-rebuild always requires reboot #8

Open
opened 2024-02-05 14:47:09 +00:00 by dan · 0 comments

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

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
dan added the
enhancement
label 2024-02-05 14:47:09 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: dan/liminix#8
There is no content yet.