guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/08: gnu: hurd: Do not create /servers/socket/1.


From: guix-commits
Subject: 07/08: gnu: hurd: Do not create /servers/socket/1.
Date: Sun, 5 Apr 2020 07:24:05 -0400 (EDT)

janneke pushed a commit to branch wip-hurd-vm
in repository guix.

commit ba88ffa4a4b32b39fdaf1378d093b2d559abb7d9
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Sun Apr 5 11:57:17 2020 +0200

    gnu: hurd: Do not create /servers/socket/1.
    
    The current bootstrap goes like this
    
       /hurd/startup -> /libexec/runsystem -> /hurd/init ->
            /libexec/runsystem.hurd -> /libexec/rc
    
    and /libexec/runsystem has this
    
        if ! test -e /servers/socket/1 ; then
          # The root filesystem should be read-only at this point.
          if fsysopts / --update --writable ; then
            settrans -c /servers/socket/1 /hurd/pflocal
    
    so try running this code by not having /servers/socket/1
    
    * gnu/system/hurd.scm (cross-hurd-image): Do not create /servers/socket/1.
---
 gnu/system/hurd.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/system/hurd.scm b/gnu/system/hurd.scm
index 9c834ec..862e8ec 100644
--- a/gnu/system/hurd.scm
+++ b/gnu/system/hurd.scm
@@ -89,7 +89,7 @@ menuentry \"GNU\" {
                "kill" "suspend"))
       ("/servers/crash" -> "crash-dump-core")
       (directory "/servers/socket")
-      (file "/servers/socket/1")
+      ;; (file "/servers/socket/1") ; this prevents runsystem.hurd setting / 
writable and settrans => pipe fail
       (file "/servers/socket/2")
       (file "/servers/socket/16")
       ("/servers/socket/local" -> "1")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]