guix-commits
[Top][All Lists]
Advanced

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

04/10: daemon: runChild() is forbidden to talk during environment set up


From: guix-commits
Subject: 04/10: daemon: runChild() is forbidden to talk during environment set up
Date: Wed, 18 May 2022 16:32:26 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 32916e04f7e1729b7ea5ab768607eb08183c015d
Author: yarl-baudig@mailoo.org <yarl-baudig@mailoo.org>
AuthorDate: Tue May 17 23:08:54 2022 +0200

    daemon: runChild() is forbidden to talk during environment set up
    
    DerivationGoal::startBuilder() is waiting for an empty line as a check that
    the environment set up is fine.
    
    Fixes <https://issues.guix.gnu.org/55324>.
    
    * nix/libstore/build.cc (DerivationGoal::runChild): Remove 'debug'
    statement corresponding to bind mounts.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 nix/libstore/build.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc
index f6431bb726..9305208009 100644
--- a/nix/libstore/build.cc
+++ b/nix/libstore/build.cc
@@ -2057,7 +2057,6 @@ void DerivationGoal::runChild()
                 Path source = i->second;
                 Path target = chrootRootDir + i->first;
                 if (source == "/proc") continue; // backwards compatibility
-                debug(format("bind mounting `%1%' to `%2%'") % source % 
target);
                 if (stat(source.c_str(), &st) == -1)
                     throw SysError(format("getting attributes of path `%1%'") 
% source);
                 if (S_ISDIR(st.st_mode))



reply via email to

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