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>
parent
3948ac25b1
commit
32916e04f7
|
@ -2057,7 +2057,6 @@ void DerivationGoal::runChild()
|
||||||
Path source = i->second;
|
Path source = i->second;
|
||||||
Path target = chrootRootDir + i->first;
|
Path target = chrootRootDir + i->first;
|
||||||
if (source == "/proc") continue; // backwards compatibility
|
if (source == "/proc") continue; // backwards compatibility
|
||||||
debug(format("bind mounting `%1%' to `%2%'") % source % target);
|
|
||||||
if (stat(source.c_str(), &st) == -1)
|
if (stat(source.c_str(), &st) == -1)
|
||||||
throw SysError(format("getting attributes of path `%1%'") % source);
|
throw SysError(format("getting attributes of path `%1%'") % source);
|
||||||
if (S_ISDIR(st.st_mode))
|
if (S_ISDIR(st.st_mode))
|
||||||
|
|
Reference in New Issue