diff options
author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2017-09-05 10:25:21 +0300 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-09-07 10:57:39 +0200 |
commit | 7b7a49b1bae9204e7c8997e92ab5ccb076df9bc0 (patch) | |
tree | a6ccdd149d6fcdbb3d4616a1e4106d162b3ad081 /meta-perl/recipes-extended/logcheck/logcheck_1.3.18.bb | |
parent | 142edc3f0654efe90a7951a0d911fc5b59bfa2a1 (diff) | |
download | meta-openembedded-7b7a49b1bae9204e7c8997e92ab5ccb076df9bc0.tar.gz |
rsyslog: fix segfault after configuration errors
rsyslog will segfault on startup if
a) the local machine's hostname is set to a non-FQDN name
b) the getaddrinfo() system call fails
This scenario is higly unlikely, but may exist especially with
provisioned VMs which may not properly be able to do name queries
on startup (seen for example on AWS).
This patch fixes the situation and also provides more robustness
for very early startup error messages when some of the error-reporting
subsystem is not yet properly initialized. Note that under these
circumstances, errors may only show up on stderr.
closes https://github.com/rsyslog/rsyslog/issues/1573
Reference:
https://github.com/rsyslog/rsyslog/issues/1573
Upstream patch:
https://github.com/rsyslog/rsyslog/commit/6d258339802cb9f13d8a4a157a4b74eccb902d8f
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-perl/recipes-extended/logcheck/logcheck_1.3.18.bb')
0 files changed, 0 insertions, 0 deletions