Re: s6-scripts gets stuck on update on freshly installed iso
Reply #1 –
A couple of ways around this would be to do the full update during the installation process while you are in chroot. s6-rc shouldn't be running then and it should be able to ignore any live database updates. You can also use the weekly isos which should not have this problem. As for s6-rc-update seemingly taking forever, I was able to confirm that behavior on an old VM install I had lying around. Whether this is a bug in how services were defined/changed or a bug in s6-rc is hard to say at this point. I would need to do a test case with heavy debug output (on my todo list). It's also worth noting that skalibs/execline/s6/etc. all had a major upgrade between versions at this point so perhaps that is actually the culprit here.
s6-rc-compile being stuck forever shouldn't happen either however I was able to confirm on my test case that the database was created anyway. Thus, I was able to proceed as usual to fix the database and all was fine (full instructions below).
# timestamp=$(date +%s)
# s6-rc-compile /etc/s6/rc/compiled-$timestamp /etc/s6/sv #if this hangs, you can just kill it after awhile, check that the database exists anyway and proceed
# ln -sf /etc/s6/rc/compiled-$timestamp /etc/s6/rc/compiled/compiled && mv -f /etc/s6/rc/compiled/compiled /etc/s6/rc
In any case, this is good justification for updating the stable isos.