Lucas found the right root cause: It looks like the preload lib is not loaded on that platform. See https://github.com/rsyslog/rsyslog/issues/1268
I can modify the test so that it is skipped if the preload fails, but I wonder why this happens in the first place (and if there is a better solution that skipping). Rainer 2016-11-20 14:18 GMT+01:00 Michael Biebl <bi...@debian.org>: > Am 20.11.2016 um 08:50 schrieb Lucas Nussbaum: >> ------------------------------------------------------------ >> Test: ./empty-hostname.sh >> ------------------------------------------------------------ >> rsyslogd started with pid 71369 >> imdiag[13500]: mainqueue empty >> expected hostname "localhost" not found in logs, rsyslog.out.log is: >> 2016-11-18T23:01:17.942712+00:00 ip-172-31-8-210 rsyslogd: [origin >> software="rsyslogd" swVersion="8.23.0" x-pid="71369" >> x-info="http://www.rsyslog.com"] start >> 2016-11-18T23:01:19.984583+00:00 ip-172-31-8-210 rsyslogd: [origin >> software="rsyslogd" swVersion="8.23.0" x-pid="71369" >> x-info="http://www.rsyslog.com"] exiting on signal 15. >> FAIL empty-hostname.sh (exit status: 1) >> >> I can still reproduce the problem. > > It was hinted on IRC, that this build failure is triggered on AWS as > /etc/hosts is configured differently there. > A standard Debian setup has > > 127.0.0.1 localhost > 127.0.1.1 <hostname> > > whereas AWS uses > > 127.0.0.1 <hostname> localhost > > > -- > Why is it that all of the instruments seeking intelligent life in the > universe are pointed away from Earth? >