Subject: A "live" profile is missing

From: Leo Famulari <[email-masked]>
Date: Tue, 19 Jan 2021 13:56:13 -0500

My root user's latest default package installation profile has gone
missing:

------
# ls -l ~root/.guix-profile
lrwxrwxrwx 1 root root 45 Jun 13  2017 /root/.guix-profile -> /var/guix/profiles/per-user/root/guix-profile

# realpath ~root/.guix-profile 
/gnu/store/1ph7vxq4hhqr1hjkmgin16p1cqx3v904-profile

# realpath --canonicalize-existing ~root/.guix-profile 
realpath: /root/.guix-profile: No such file or directory

# ls -l /var/guix/profiles/per-user/root/
total 0
lrwxrwxrwx 1 root root 21 Jan 18 13:24 current-guix -> current-guix-113-link
lrwxrwxrwx 1 root root 51 Dec  6 18:50 current-guix-109-link -> /gnu/store/1bng1iikqj2h9hfqylcd47ya1cmjf2ww-profile
lrwxrwxrwx 1 root root 51 Dec  8 20:05 current-guix-110-link -> /gnu/store/kpp7rq67df1751g6al5fxv7anm4h6fvv-profile
lrwxrwxrwx 1 root root 51 Dec 20 17:45 current-guix-111-link -> /gnu/store/yg9r3vys1cx3xwsqmbl2kq20ih4xbryi-profile
lrwxrwxrwx 1 root root 51 Jan 13 03:27 current-guix-112-link -> /gnu/store/4aj0ydxfrbfz2yshlv1qg6kr5qw17mjz-profile
lrwxrwxrwx 1 root root 51 Jan 18 13:24 current-guix-113-link -> /gnu/store/5kfv0zzf1mmkyl3c9q42piwcb0h3fyzj-profile
-rw-r--r-- 1 root root  0 Jan 19 13:44 current-guix.lock
lrwxrwxrwx 1 root root 21 Jan 18 13:25 guix-profile -> guix-profile-197-link
lrwxrwxrwx 1 root root 51 Dec 20 17:47 guix-profile-192-link -> /gnu/store/hnmdaga6m5d1jvq1yjs0w1w10r8ffsha-profile
lrwxrwxrwx 1 root root 51 Dec 22 21:32 guix-profile-193-link -> /gnu/store/wfz6qbzd6imqg7cg0w5f8arnpzc5a8ck-profile
lrwxrwxrwx 1 root root 51 Jan  1 01:44 guix-profile-194-link -> /gnu/store/daixf0dvmxlavplc1v987sfqmkjv258j-profile
lrwxrwxrwx 1 root root 51 Jan  9 13:32 guix-profile-195-link -> /gnu/store/w14sbx2ja9g178lxbl8173c3xbbcapf9-profile
lrwxrwxrwx 1 root root 51 Jan 13 03:29 guix-profile-196-link -> /gnu/store/99qhzhhrm73mawbzcgp9kfcxhzs51kk3-profile
lrwxrwxrwx 1 root root 51 Jan 18 13:25 guix-profile-197-link -> /gnu/store/1ph7vxq4hhqr1hjkmgin16p1cqx3v904-profile
-rw-r--r-- 1 root root  0 Jan 18 13:25 guix-profile.lock

# ls -l /gnu/store/1ph7vxq4hhqr1hjkmgin16p1cqx3v904-profile
ls: cannot access '/gnu/store/1ph7vxq4hhqr1hjkmgin16p1cqx3v904-profile': No such file or directory
------

That's weird, right? Any ideas?

I noticed a change in the garbage collector performance recently.  It
seemed to slow down by a lot, with frequent pauses. I wonder if that
could be related?

Here are the generations of my current-guix profile (this is not the
profile that is broken):

------
# guix package -p ~/.config/guix/current -l
Generation 109	Dec 06 2020 18:50:21
  guix	8f80565	out	/gnu/store/ikwp5p0nfhlmp2xvxyh0l5x7349ws24k-guix-8f805657b

Generation 110	Dec 08 2020 20:05:00
 + guix	02b21f3	out	/gnu/store/b30hyzr2ln51dc7sdrwgzqklmkl71sni-guix-02b21f35c
 - guix	8f80565	out	/gnu/store/ikwp5p0nfhlmp2xvxyh0l5x7349ws24k-guix-8f805657b

Generation 111	Dec 20 2020 17:45:49
 + guix	cfee860	out	/gnu/store/xvswkzhadlsdlkxj2yikfq60vakvmpi8-guix-cfee8608c
 - guix	02b21f3	out	/gnu/store/b30hyzr2ln51dc7sdrwgzqklmkl71sni-guix-02b21f35c

Generation 112	Jan 13 2021 03:27:33
 + guix	645a28e	out	/gnu/store/08rk3q8s9qqzph0hah66mx1ws2ssll15-guix-645a28ee9
 - guix	cfee860	out	/gnu/store/xvswkzhadlsdlkxj2yikfq60vakvmpi8-guix-cfee8608c

Generation 113	Jan 18 2021 13:24:01	(current)
 + guix	c20eee7	out	/gnu/store/zpmabbkh27myw01gjfczbrlqjr0ih5pd-guix-c20eee77a
 - guix	645a28e	out	/gnu/store/08rk3q8s9qqzph0hah66mx1ws2ssll15-guix-645a28ee9
 ------