+++ This bug was initially created as a clone of Bug #1631293 +++
We should fix a regression respective to RHEL 7 in the gethostid function. Fix upstream thusly:
commit 1214ba06e6771acb953a190091b0f6055c64fd25
Author: Mingli Yu <Mingli.Yu>
Date: Thu Sep 20 12:02:48 2018 +0200
Linux gethostid: Check for NULL value from gethostbyname_r [BZ #23679]
A NULL value can happen with certain gethostbyname_r failures.
commit db9a8ad4ff3fc58e3773a9a4d0cabe3c1bc9c94c
Author: Florian Weimer <fweimer>
Date: Thu Sep 20 12:03:01 2018 +0200
misc: New test misc/tst-gethostid
The empty /etc/hosts file used to trigger bug 23679.
The upstream test will likely not run during the build because support_become_root does not yet work on the builders.
Comment 1Fedora Update System
2018-11-03 07:01:11 UTC