Subject: bug#78356: Broken system and home containers

From: Ludovic Courtès <[email-masked]>
Date: Mon, 12 May 2025 10:54:14 +0200

Hi,

Rutherther <[email-masked]> writes:

> Seems that the recent commit 'Lock mounts by default'
> a57ed987ffd1452ba5a4d70feb54893e99b8e076 has broken both guix system
> container and guix home container. For system container, the system
> container command finishes fine, but then running the run-container
> script fails. For home container the command itself errors out, since
> it's what is starting the container as well.
>
> Here are the backtraces:
> guix system:

Fixed in 437bb9ece55f37d4b5a62cafc98c0c3b848a53ce.

> guix home:

What command did you run, precisely?  I cannot experience it:

--8<---------------cut here---------------start------------->8---
$ guix describe
Generation 345	mai 11 2025 23:03:38	(current)
  shepherd a54a503
    repository URL: https://git.savannah.gnu.org/git/shepherd.git
    branch: main
    commit: a54a503b01f9da4f6fb49d736dcf90da0fe51f1b
  guile af96820
    repository URL: https://git.savannah.gnu.org/git/guile.git
    branch: main
    commit: af96820e072d18c49ac03e80c6f3466d568dc77d
  guix 300d29e
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 300d29e69988caf23684f08effa51f621c7ec083
$ guix home container doc/he-config-bare-bones.scm
substitute: looking for substitutes on 'https://ci.guix.gnu.org'... 100.0%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 100.0%
substitute: looking for substitutes on 'https://guix.bordeaux.inria.fr'... 100.0%
The following derivations will be built:
  /gnu/store/3j1dim91nm280hfhfjh9j130f77svhpk-provenance.drv
  /gnu/store/ni8rlk32hbr7s6gyps0dr0lfy7g9c5dl-shepherd.conf.drv
  /gnu/store/4khnkn4rab0p6vv9h99n9yfmk2lm1jwj-on-first-login.drv
  /gnu/store/lm40rfw0y4jank8bw5m05mjkwbw9w1bd-bashrc.drv
  /gnu/store/6as6qxw72lcr90gml6wk8mjib5rj8j87-files.drv
  /gnu/store/dqlgr0jg3kiyzbbc4pmd9vk188sl3kh1-activate.drv
  /gnu/store/qdsfz93g85l509qvw199j2b86nh2iqz8-profile.drv
  /gnu/store/jig19g154iqhp7yml0yd93g3rqhf855k-home.drv

building /gnu/store/3j1dim91nm280hfhfjh9j130f77svhpk-provenance.drv...
building /gnu/store/lm40rfw0y4jank8bw5m05mjkwbw9w1bd-bashrc.drv...
building CA certificate bundle...
listing Emacs sub-directories...
building /gnu/store/ni8rlk32hbr7s6gyps0dr0lfy7g9c5dl-shepherd.conf.drv...
building profile with 3 packages...
building /gnu/store/dqlgr0jg3kiyzbbc4pmd9vk188sl3kh1-activate.drv...
building /gnu/store/6as6qxw72lcr90gml6wk8mjib5rj8j87-files.drv...
building /gnu/store/4khnkn4rab0p6vv9h99n9yfmk2lm1jwj-on-first-login.drv...
building /gnu/store/jig19g154iqhp7yml0yd93g3rqhf855k-home.drv...
The following derivations will be built:
  /gnu/store/si9ibx12dkqir83z7bd0bic06d9a0p9q-module-import.drv
  /gnu/store/md9kdf2whka0gnaylhypbrw760184wk1-home-system-profile.drv

building profile with 1 package...
building /gnu/store/si9ibx12dkqir83z7bd0bic06d9a0p9q-module-import.drv...
WARNING: (guile-user): imported module (guix build utils) overrides core binding `delete'
WARNING: (guile-user): imported module (guix build utils) overrides core binding `delete'
Symlinking /home/ludo/.bashrc -> /gnu/store/b9ppn0jdrda5h88mw5x35m2jvms8izw6-bashrc... done
Symlinking /home/ludo/.bash_profile -> /gnu/store/gghay5fzpad5w7082nnk6z9lj7q00drv-bash_profile... done
Symlinking /home/ludo/.profile -> /gnu/store/vvxqfhlkpi90bgmfh1b03kkwfq7pmfkk-shell-profile... done
Symlinking /home/ludo/.config/test.conf -> /gnu/store/i8wsnvh1q8lbgyf50vapfsn2rfj7a2nc-tmp-file.txt... done
Symlinking /home/ludo/.config/fontconfig/fonts.conf -> /gnu/store/mw4clgkwj3rvlnfv0gd694aabvamr0sa-fonts.conf... done
Symlinking /home/ludo/.config/shepherd/init.scm -> /gnu/store/ysg5icpancicn1hi2gfd1q3xvmmgb8lf-shepherd.conf... done
 done
Finished updating symlinks.

Comparing /gnu/store/non-existing-generation/profile/share/fonts and
          /gnu/store/9ylfbl50dlng3rqp1kvd3qalr87yyjcl-home/profile/share/fonts... done (same)
Evaluating on-change gexps.

On-change gexps evaluation finished.

ludo@ribbon ~$ id
uid=1000(ludo) gid=1000(users) groups=1000(users),65534(overflow)
ludo@ribbon ~$ ls
ludo@ribbon ~$ logout
--8<---------------cut here---------------end--------------->8---

Thanks,
Ludo’.