me
/
guix
Archived
1
0
Fork 0

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>
yarl-baudig@mailoo.org 2022-05-17 23:08:54 +02:00 committed by Ludovic Courtès
parent 3948ac25b1
commit 32916e04f7
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 0 additions and 1 deletions

View File

@ -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))