l...@gnu.org (Ludovic Courtès) skribis: >> Test end: >> result-kind: fail >> actual-value: #f >> actual-error: (srfi-34 #<condition &nix-protocol-error [message: "closing >> file descriptor 1599602736: Bad file descriptor" status: 1] 8a62798>) > > That one occurs many times. I suspect this has to do with the daemon > features enabled by c0412fedf, though I don’t see which one.
(4 months later...) I reproduced this EBADF thing with a 2.6.35 kernel on x86_64, and the culprit turned out to be vfork: commenting out uses of vfork in the daemon solved the problem. That sort of ringed a bell, and indeed, Nix commit f794465c (Nov. 2012!) disabled vfork for similar reasons. So guix-daemon no longer uses vfork. Ludo’.