Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 525
    • Issues 525
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 101
    • Merge requests 101
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • BINDBIND
  • Issues
  • #1528

Closed
Open
Created Dec 20, 2019 by Jean-Christophe Manciot@jean-christophe-manciot

[v9_15_7] tcp.c:298: fatal error: RUNTIME_CHECK(r == 0) failed

Ubuntu 20.04

Building with:

echo --------------------
echo Building ./configure
echo --------------------
export NOCONFIGURE=yes
./autogen.sh
...
echo ---------------------
echo "Configuring $package"
echo ---------------------
./configure  --build=x86_64-pc-linux-gnu \
             --prefix=/usr --sysconfdir=/etc/bind --localstatedir=/var \
             --datarootdir=/usr/share --docdir=/usr/share/doc --mandir=/usr/share/man \
             --disable-linux-caps \
             --disable-querytrace \
             --enable-auto-validation \
             --enable-developer \
             --enable-dnsrps \
             --enable-dnstap \
             --enable-fixed-rrset \
             --enable-full-report \
             --enable-largefile \
             --with-cc-alg=aes \
             --with-cmocka=no \
             --with-gperftools-profiler \
             --with-libxml2=yes \
             --with-maxminddb=yes \
             --with-openssl \
             --with-tuning=large \
             --with-zlib
...
echo -------------------
echo "Compiling $package"
echo -------------------
make
...
---------------------------------
Building and Installing bind9
---------------------------------
...

leads to:

Job for bind9.service failed because the control process exited with error code.
See "systemctl status bind9.service" and "journalctl -xe" for details.
● bind9.service - BIND Domain Name Server
     Loaded: loaded (/lib/systemd/system/bind9.service; disabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2019-12-19 23:48:43 CET; 14ms ago
       Docs: man:named(8)
    Process: 537390 ExecStart=/usr/sbin/named $OPTIONS (code=exited, status=1/FAILURE)

Dec 19 23:48:41 samsung5-ubuntu named[537401]: looking for GeoIP2 databases in '/usr/share/GeoIP'
Dec 19 23:48:41 samsung5-ubuntu named[537401]: using default UDP/IPv4 port range: [32768, 60999]
Dec 19 23:48:41 samsung5-ubuntu named[537401]: using default UDP/IPv6 port range: [32768, 60999]
Dec 19 23:48:41 samsung5-ubuntu named[537401]: listening on IPv6 interfaces, port 953
Dec 19 23:48:41 samsung5-ubuntu named[537401]: tcp.c:298: fatal error:
Dec 19 23:48:41 samsung5-ubuntu named[537401]: RUNTIME_CHECK(r == 0) failed
Dec 19 23:48:41 samsung5-ubuntu named[537401]: exiting (due to fatal error in library)
Dec 19 23:48:43 samsung5-ubuntu systemd[1]: bind9.service: Control process exited, code=exited, status=1/FAILURE
Dec 19 23:48:43 samsung5-ubuntu systemd[1]: bind9.service: Failed with result 'exit-code'.
Dec 19 23:48:43 samsung5-ubuntu systemd[1]: Failed to start BIND Domain Name Server.
...

The systemd service file looks like this:

[Unit]
Description=BIND Domain Name Server
Documentation=man:named(8)
After=network.target
Wants=nss-lookup.target
Before=nss-lookup.target

[Service]
Type=forking
EnvironmentFile=-/etc/default/bind9
ExecStart=/usr/sbin/named $OPTIONS
ExecReload=/usr/sbin/rndc reload
ExecStop=/usr/sbin/rndc stop

[Install]
WantedBy=multi-user.target

The full build & test log is attached:

bind9_9.15.7_amd64.build.log

Assignee
Assign to
Time tracking