sysklogd v2.1.1
Bug fix release.
Changes
- Add unit test to verify rule option parsing
- Minor code cleanup and code de-duplication
Fixes
- Issue #11: Some users still reported problems with parallel build, which was worked-around with
.NOTPARALLEL
in v2.1. This v2 fix is a refactor ofsrc/Makefile.am
which removeslibcompat
and use the same objects for linking bothsyslogd
and the userlibsyslog
API. Yet still protecting against symbol poisoning - A Westermo customer reported problems sending to remote syslog sinks at startup. Turns out the handling if
sendmsg()
fails was the same as that ifsyslogd
fails to resolve the IP from a DNS name. The fix is to just letsendmsg()
retry on the next syslog message for all benign/common network errors;EHOSTUNREACHABLE
,ENETUNREACH
, etc. - Fix timer reset for suspended remote sinks. All suspended (remote) sinks had their timeout mistakenly reset to 180 sec for each new incoming message