Skip to content
Snippets Groups Projects
Commit 3af2d27e authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

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'.
parent bf2a56f8
No related branches found
No related tags found
No related merge requests found
...@@ -78,10 +78,13 @@ if test "x$guix_build_daemon" = "xyes"; then ...@@ -78,10 +78,13 @@ if test "x$guix_build_daemon" = "xyes"; then
dnl lutimes and lchown: used when canonicalizing store items. dnl lutimes and lchown: used when canonicalizing store items.
dnl posix_fallocate: used when extracting archives. dnl posix_fallocate: used when extracting archives.
dnl vfork: to speed up spawning of helper programs. 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 sched_setaffinity: to improve RPC locality.
dnl statvfs: to detect disk-full conditions. dnl statvfs: to detect disk-full conditions.
dnl strsignal: for error reporting. 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]) statvfs nanosleep strsignal])
dnl Check whether the store optimiser can optimise symlinks. dnl Check whether the store optimiser can optimise symlinks.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment