On Wed, 20 Sep 2017 11:21:51 +0200 ludo@gnu.org (Ludovic Courtès) wrote: > As you can see, > /gnu/store/9whwwppmb2sjfsy0967s627bzgdfl8bc-guile-static-stripped-2.2.2/share/guile/2.2, > which is at the tail of %load-path, is missing from the root file > system, hence the failure. > > To work around it, we’d have to either ensure that > ‘guile-static-stripped’ is on the root file system, or adjust the load > path when we switch roots, or (simplest solution) pre-load (ice-9 > popen) before ‘switch-root’. > > To be continued… Awesome investigation Ludo. This explanation could match what I was experiencing when using the mysql service on GuixSD. Sometimes after running guix gc, the system wouldn't boot. This could have been because the guile package needed by the initrd was removed from the store. Given that the initrd has a dependency on this guile, but it doesn't reference it because its compressed, how about adding a explicit reference to the guile used? I've attached a patch, and this looks to fix the issue as far as the mysql service is concerned.