2016-11-20 17:45 GMT+01:00 Michael Biebl <bi...@debian.org>:
> Am 20.11.2016 um 16:17 schrieb Rainer Gerhards:
>> 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'm not sure. I can't reproduce the issue with a standard Debian
> /etc/hosts which contains separate lines for localhost and the hostname.

Well, the key point of the override library is that gethostname()
ALWAYS returns "", no matter how the system is configured. So if the
configured name is returned, the preload (or lib) did not work. I'd
outrule that the lib does not work, as it is ultra-small:

https://github.com/rsyslog/rsyslog/blob/master/tests/override_gethostname.c

Any suggestion of what may be wrong with the test tooling is appreciated.

Rainer
>
> I'm able to reproduce the failing test if I modify /etc/hosts to have
> 127.0.0.1 foo localhost
>
> The library seems to be loaded in both cases.
>
>
>
> --
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?
>

Reply via email to