Subject: bug#57838: failing to boot, probably due to guix gc

From: Attila Lendvai <[email-masked]>
Date: Sun, 25 Sep 2022 16:31:45 +0000

> > on one of my installs i ran the following two commands as root:
> > 
> > guix gc --delete-generations=60d
> > guix system delete-generations 60d
> > 
> > i think i ran a reboot pretty soon after this, and the machine is failing to boot with the error "no code for module (ice-9 popen)".
> 
> 
> How did you reboot? Maybe whatever rebooting mechanism you use doesn't
> do 'sync' first or doesn't wait for 'sync' to complete.

i'm pretty sure i have issued a `reboot` in an ssh session.

> To test the hypothesis that there is store corruption, could you do
> "guix gc --verify=contents" (assuming there are some old system
> generations you can boot from)?

as i have explained in an earlier mail, all my old generations (3 remained after the GC) got broken, but they all got repaired by a subsequent reconfigure from a chroot. it has probably installed some files that were missing.

# guix gc --verify=contents
reading the store...
checking path existence...
checking hashes...
#

-- 
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“Self knowledge is always bad news.”
	— John Barth (1930–)