summaryrefslogtreecommitdiff
path: root/config-daemon.ac
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-09-02 22:52:45 +0200
committerLudovic Courtès <ludo@gnu.org>2014-09-02 22:52:45 +0200
commit3af2d27eb39102aebba4d79a663a4e024fd9700d (patch)
tree8358784079253a25aaf1951ae55405c27e8f501a /config-daemon.ac
parentbf2a56f8ecd889817f9e3e0040ad1b48293547ba (diff)
downloadpatches-3af2d27eb39102aebba4d79a663a4e024fd9700d.tar
patches-3af2d27eb39102aebba4d79a663a4e024fd9700d.tar.gz
daemon: Do not use 'vfork'.
This fixes random EBADF errors in the daemon on ancient Linux kernels such as version 2.6.32. * config-daemon.ac: Remove detection of 'vfork'.
Diffstat (limited to 'config-daemon.ac')
-rw-r--r--config-daemon.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/config-daemon.ac b/config-daemon.ac
index a13525a7f5..072fb84b46 100644
--- a/config-daemon.ac
+++ b/config-daemon.ac
@@ -78,10 +78,13 @@ if test "x$guix_build_daemon" = "xyes"; then
dnl lutimes and lchown: used when canonicalizing store items.
dnl posix_fallocate: used when extracting archives.
dnl vfork: to speed up spawning of helper programs.
+ dnl `--> now disabled because of unpredictable behavior:
+ dnl see <http://lists.gnu.org/archive/html/guix-devel/2014-05/msg00036.html>
+ dnl and Nix commit f794465c (Nov. 2012).
dnl sched_setaffinity: to improve RPC locality.
dnl statvfs: to detect disk-full conditions.
dnl strsignal: for error reporting.
- AC_CHECK_FUNCS([lutimes lchown posix_fallocate vfork sched_setaffinity \
+ AC_CHECK_FUNCS([lutimes lchown posix_fallocate sched_setaffinity \
statvfs nanosleep strsignal])
dnl Check whether the store optimiser can optimise symlinks.