Re: How does s6 switch databases while keeping bundles
Reply #5 –
Why didn't you make a new topic? This has nothing to do with the thread.
Well this error message means exactly what it says. For whatever reason, there is no /run/s6-rc or /run/s6-rc/compiled on your machine. That is, of course, bad as both things are created on boot with s6-rc launches. If you are in a live iso environment chrooted into a root partition, those run directories will, of course, not exist but the hook deliberately skips doing the live update in that case. Without the run directories, you will not be able to properly do anything with the current live database. Not sure how you got into this state. It's something that shouldn't happen.
Not sure what you mean by "reboot fails" but it sounds like you'll have to fix your s6-rc database manually. Artix reads s6-rc databases from the /etc/s6/rc directory so it would be something like this.
# timestamp=$(date +%s)
# s6-rc-compile /etc/s6/rc/compiled-$timestamp /etc/s6/sv #if this step fails, you need to fix your service definitions
# ln -sf /etc/s6/rc/compiled-$timestamp /etc/s6/rc/compiled/compiled && mv -f /etc/s6/rc/compiled/compiled /etc/s6/rc
Give it a reboot after that and it should be OK. You'll have to readd any bundles to default again afterwards.