guix/gnu/installer
Ludovic Courtès 495c50008b
installer: final: Delete SQLite WAL and shm files upon completion.
Previously, db.sqlite-{wal,shm} could be left behind after stopping
guix-daemon.  When resuming installation, SQLite could end up behaving
as if transactions visible in the WAL file had been committed, in spite
of having restored SAVED-DATABASE.

Fixes <https://issues.guix.gnu.org/59784>.
Reported by pelzflorian (Florian Pelz) <pelzflorian@pelzflorian.de>.

* gnu/installer/final.scm (install-system): Before restarting
guix-daemon, delete db.sqlite-{wal,shm}.
2022-12-18 01:17:17 +01:00
..
aux-files
newt
connman.scm
dump.scm
final.scm installer: final: Delete SQLite WAL and shm files upon completion. 2022-12-18 01:17:17 +01:00
hardware.scm
hostname.scm
keymap.scm
locale.scm
newt.scm
parted.scm
proxy.scm
record.scm
services.scm
steps.scm
substitutes.scm
tests.scm
timezone.scm
user.scm
utils.scm