summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-10-23 12:20:55 +0200
committerLudovic Courtès <ludo@gnu.org>2022-10-23 15:56:18 +0200
commit3fb3bd3da530a5f82a169b1fa451474f9d90c3b6 (patch)
tree69410893329af16958a435ce48b0c55df8a71d9c
parentb741f3057202ca7bd489d4faec444e8e0ee079e5 (diff)
downloadguix-3fb3bd3da530a5f82a169b1fa451474f9d90c3b6.tar.gz
system: hurd: Boot with the statically-linked 'exec' server.
This works around <https://issues.guix.gnu.org/58631>.

* gnu/system.scm (hurd-multiboot-modules): Use '/hurd/exec.static'
instead of 'ld.so /hurd/exec'.
-rw-r--r--gnu/system.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index b7f19d741a..f92c7de8e3 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -1492,8 +1492,14 @@ a list of <menu-entry>, to populate the \"old entries\" menu."
                      (cross-libc target))
                    glibc))
          (exec-server-command
-          (list (file-append libc "/lib/ld.so.1") "exec"
-                (file-append hurd "/hurd/exec") "'$(exec-task=task-create)'")))
+          ;; XXX: Run the statically-linked 'exec' to work around
+          ;; <https://issues.guix.gnu.org/58631>, which manifests on some
+          ;; machines.
+
+          ;; (list (file-append libc "/lib/ld.so.1") "exec"
+          ;;       (file-append hurd "/hurd/exec") "'$(exec-task=task-create)'")
+          (list (file-append hurd "/hurd/exec.static") "exec"
+                "'$(exec-task=task-create)'")))
     (list root-file-system-command exec-server-command)))
 
 (define* (operating-system-boot-parameters os root-device