Summary: | syslog-ng-2.1.3.ebuild: syslog-ng forwarding to remote host; dies when remote host goes down | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Weissenbacher <webmaster> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | [1] http://www.syslog.org/forum/syslog-ng/syslog-ng-forwarding-to-remote-host-dies-when-remote-host-goes-down/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michael Weissenbacher
2009-04-10 17:30:01 UTC
More info about this bug: https://lists.balabit.hu/pipermail/syslog-ng/2009-March/012701.html The split-out patch: --- a/src/afsocket.c +++ b/src/afsocket.c @@ -912,6 +912,8 @@ afsocket_dd_notify(LogPipe *s, LogPipe *sender, gint notify_code, gpointer user_ { case NC_CLOSE: case NC_WRITE_ERROR: + log_writer_reopen(self->writer, NULL); + msg_error("Connection broken", evt_tag_int("time_reopen", self->time_reopen), NULL); 2.1.4 is already in the tree. If you need features from it, you should unmask it locally. I already unmasked it locally, but IMHO the stable version shouldn't have such a major bug. I don't like the idea of unmasking this package on 30+ machines. Why can't 2.1.4 be pushed to stable? |