guix-play/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 installer: Use 'glibc-supported-locales'. 2019-05-13 23:46:08 +02:00
newt installer: Report known-unsupported PCI devices. 2022-11-15 12:16:43 +01:00
connman.scm installer: Continue even if Connman cannot phone home. 2022-02-26 15:56:55 +01:00
dump.scm installer: Add core dump support. 2022-11-02 15:52:19 +01:00
final.scm installer: final: Delete SQLite WAL and shm files upon completion. 2022-12-18 01:17:17 +01:00
hardware.scm installer: Report known-unsupported PCI devices. 2022-11-15 12:16:43 +01:00
hostname.scm installer: Add hostname. 2019-01-17 14:04:23 +01:00
keymap.scm installer: keymap: Fix optional fields handling. 2021-09-21 20:35:49 +00:00
locale.scm maint: Switch to Guile-JSON 3.x. 2019-07-25 00:16:41 +02:00
newt.scm installer: Print progress bars and such as soon as \r is read. 2022-12-09 17:49:22 +01:00
parted.scm installer: Detect mapped installation devices. 2022-12-10 11:23:27 +01:00
proxy.scm install: Discover local substitute servers. 2020-12-11 21:37:07 +01:00
record.scm installer: Report known-unsupported PCI devices. 2022-11-15 12:16:43 +01:00
services.scm installer: Add comment above the 'packages' field. 2022-11-20 23:20:31 +01:00
steps.scm installer: Skip the backtrace page on user abort. 2022-11-02 15:52:19 +01:00
substitutes.scm install: Discover local substitute servers. 2020-12-11 21:37:07 +01:00
tests.scm installer: tests: Fix typo. 2022-09-24 14:15:47 +02:00
timezone.scm gnu: Fix some typos in the installer. 2019-02-18 01:52:47 +01:00
user.scm installer: Move <secret> to utils and use it for crypt passwords. 2022-09-22 16:00:29 +02:00
utils.scm installer: Print progress bars and such as soon as \r is read. 2022-12-09 17:49:22 +01:00