diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2014-09-02 22:52:45 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2014-09-02 22:52:45 +0200 |
| commit | 3af2d27eb39102aebba4d79a663a4e024fd9700d (patch) | |
| tree | 8358784079253a25aaf1951ae55405c27e8f501a | |
| parent | bf2a56f8ecd889817f9e3e0040ad1b48293547ba (diff) | |
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'.
| -rw-r--r-- | config-daemon.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config-daemon.ac b/config-daemon.ac index a13525a7f5d..072fb84b46d 100644 --- a/config-daemon.ac +++ b/config-daemon.ac | |||
| @@ -78,10 +78,13 @@ if test "x$guix_build_daemon" = "xyes"; then | |||
| 78 | dnl lutimes and lchown: used when canonicalizing store items. | 78 | dnl lutimes and lchown: used when canonicalizing store items. |
| 79 | dnl posix_fallocate: used when extracting archives. | 79 | dnl posix_fallocate: used when extracting archives. |
| 80 | dnl vfork: to speed up spawning of helper programs. | 80 | dnl vfork: to speed up spawning of helper programs. |
| 81 | dnl `--> now disabled because of unpredictable behavior: | ||
| 82 | dnl see <http://lists.gnu.org/archive/html/guix-devel/2014-05/msg00036.html> | ||
| 83 | dnl and Nix commit f794465c (Nov. 2012). | ||
| 81 | dnl sched_setaffinity: to improve RPC locality. | 84 | dnl sched_setaffinity: to improve RPC locality. |
| 82 | dnl statvfs: to detect disk-full conditions. | 85 | dnl statvfs: to detect disk-full conditions. |
| 83 | dnl strsignal: for error reporting. | 86 | dnl strsignal: for error reporting. |
| 84 | AC_CHECK_FUNCS([lutimes lchown posix_fallocate vfork sched_setaffinity \ | 87 | AC_CHECK_FUNCS([lutimes lchown posix_fallocate sched_setaffinity \ |
| 85 | statvfs nanosleep strsignal]) | 88 | statvfs nanosleep strsignal]) |
| 86 | 89 | ||
| 87 | dnl Check whether the store optimiser can optimise symlinks. | 90 | dnl Check whether the store optimiser can optimise symlinks. |
