component/userhosts: use github.com/figiel/hosts for compatibility with recent libc
In ubuntu 21.04 (libc6 2.33-0ubuntu5) or current debian testing (libc6 2.32-5) no longer use open to open /etc/hosts, but what appears as "openat" in strace output - but can not be replaced by defining an openat function. This uses https://github.com/figiel/hosts which uses another approach of replacing getaddrinfo, gethostbyname* and inet_aton. Users have been updated a bit, because there are some small differences: - the /etc/hosts replacement file is defined by HOSTS_FILE environment variable, not HOSTS - the library name is libuserhosts.so, not userhosts.so Other notable differences, for which we did not need code change are: - the new library also try to load a file when HOSTS_FILE is not set - the new library still use original /etc/hosts file - the new library supports aliases to hostnames, not only ip addresses
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
failed |
#336483
external
|
Cloudooo.UnitTest-Master |
|
||||||
passed |
#336731
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
01:09:27
|
||||||
passed |
#336705
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
01:18:49
|
||||||
passed |
#336632
external
|
SlapOS.SlapRunner.ResilienceTest-Master |
00:23:15
|
||||||
failed |
#336631
external
|
SlapOS.SlapRunner.ResilienceTest-Master.ERP5 |
01:30:24
|
||||||
passed |
#336612
external
|
SlapOS.SoftwareReleases.IntegrationTest-Master.Python2 |
05:28:49
|
||||||
failed |
#336630
external
|
SlapOS.SoftwareReleases.IntegrationTest-Master.Python3 |
04:05:40
|
||||||
passed |
#336590
external
|
Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master |
08:11:49
|
||||||
passed |
#336605
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:10:21
|
||||||
passed |
#336577
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:12:04
|
||||||
passed |
#336490
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
|
||||||
passed |
#336505
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:14:29
|
||||||
passed |
#336689
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:11:50
|
||||||
passed |
#336637
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:12:59
|
||||||
passed |
#336489
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
|
||||||
passed |
#336493
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:11:05
|
||||||
passed |
#336554
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:13:17
|
||||||
passed |
#336620
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:21:49
|
||||||
passed |
#336655
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:24:18
|
||||||
passed |
#336518
external
retried
|
SlapOS.SlapRunner.ResilienceTest-Master |
|
||||||
passed |
#336519
external
retried
|
SlapOS.SlapRunner.ResilienceTest-Master |
00:22:51
|
||||||
passed |
#336567
external
retried
|
SlapOS.SlapRunner.ResilienceTest-Master |
00:22:16
|
||||||
failed |
#336521
external
retried
|
SlapOS.SlapRunner.ResilienceTest-Master.ERP5 |
|
||||||
failed |
#336524
external
retried
|
SlapOS.SlapRunner.ResilienceTest-Master.ERP5 |
01:30:11
|
||||||
failed |
#336584
external
retried
|
SlapOS.SlapRunner.ResilienceTest-Master.ERP5 |
01:29:35
|
||||||
failed |
#336541
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-Master.Python2 |
|
||||||
failed |
#336542
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-Master.Python2 |
04:23:50
|
||||||
passed |
#336539
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-Master.Python3 |
|
||||||
failed |
#336540
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-Master.Python3 |
03:51:01
|
||||||
passed |
#336532
external
retried
|
Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master |
08:07:47
|
||||||