mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-11 06:10:18 +00:00
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:
6d25833980
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Collection of layers for the OE-core universe Please see the respective READMEs in the layer subdirectories
Description
Languages
BitBake
85.5%
Shell
6.1%
C
3%
Roff
2.1%
NASL
1.9%
Other
1.1%