]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Use /dev/urandom as BIND 9.11 randomness source
authorMichal Nowak <mnowak@isc.org>
Mon, 6 Sep 2021 10:04:49 +0000 (12:04 +0200)
committerMichal Nowak <mnowak@isc.org>
Thu, 23 Dec 2021 10:37:59 +0000 (11:37 +0100)
This prevents resolver timeouts for the reference (BIND 9.11) servers
used in respdiff tests run on Debian 11 "bullseye".

.gitlab-ci.yml

index 50ce1f9b2cd36844bfb902d60b36b1a753eede71..02896a302a4e97a0d6823f3ba9af8b110a3003d5 100644 (file)
@@ -1227,13 +1227,13 @@ respdiff:
     MAX_DISAGREEMENTS_PERCENTAGE: "0.5"
   script:
     - autoreconf -fi
-    - ./configure
+    - *configure
     - make -j${BUILD_PARALLEL_JOBS:-1} V=1
     - *setup_interfaces
     - git clone --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.isc.org/isc-private/bind-qa.git
     - git clone --branch "${BIND_BASELINE_VERSION}" --depth 1 https://gitlab.isc.org/isc-projects/bind9.git refserver
     - cd refserver/
-    - ./configure
+    - ./configure --with-randomdev=/dev/urandom
     - make -j${BUILD_PARALLEL_JOBS:-1} V=1
     - cd ../bind-qa/bind9/respdiff
     - bash respdiff.sh -s named -q "${PWD}/100k_mixed.txt" -c 3 -w "${PWD}/rspworkdir" "${CI_PROJECT_DIR}" "${CI_PROJECT_DIR}/refserver"
@@ -1258,7 +1258,7 @@ respdiff-third-party:
     MAX_DISAGREEMENTS_PERCENTAGE: "0.5"
   script:
     - autoreconf -fi
-    - ./configure
+    - *configure
     - make -j${BUILD_PARALLEL_JOBS:-1} V=1
     - *setup_interfaces
     - git clone --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.isc.org/isc-private/bind-qa.git