The imgssapi plugin will segfault on initialization if used. The attached patch appears to resolve this issue (works in my environment). Has no effect on the omgssapi plugin, so kerberos senders do not need this patch - only receivers. Reproducible: Always Steps to Reproduce: 1. Add "$ModLoad imgssapi" to /etc/rsyslog.conf 2. Set $InputGSSServerServiceName to something reasonable 3. Set $InputGSSServerRun to a port 4. Run rsyslogd 5. Watch it almost immediately segfault Actual Results: rsyslogd segfaults Expected Results: rsyslogd runs with the imgssapi plugin
Created attachment 323666 [details, diff] Patch for rsyslog-5.8.11 ebuild (and rsyslogd) to fix imgssapi support Not needed if not using the imgssapi plugin. omgssapi does not exhibit this behavior.
Hi Richard, before we go further with this patch, did you propose it upstream ? If not it would be very cool to do so ! Thank you
un-CC'ing myself since I stepped down as co-maintainer of rsyslog
This version of rsyslog is not supported and not in tree anymore. Please try with a newer version and open a new bug if the issue persists. Cheers