diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-12-18 00:35:21 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-12-18 01:17:17 +0100 |
commit | 495c50008be91429ebea3805e161a1e385a2a572 (patch) | |
tree | 86700aa10ba9f39726e2d1895e234304531ff234 /nix | |
parent | 9b6703eabee07068328a5e489deb3d532f242daa (diff) |
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}.
Diffstat (limited to 'nix')
0 files changed, 0 insertions, 0 deletions