[syslog-ng] "Illegal seek" with file("/proc/net/xt_recent/violators")

Gergely Nagy algernon at balabit.hu
Wed Sep 4 14:40:08 CEST 2013


Valentijn Sessink <valentyn at blub.net> writes:

> I'm replying to a 2 year old issue - now it has become a problem :-S
>
> I'm using syslog-ng to file() messages into 
> /proc/net/xt_recent/violators. This used to work well in version 
> 3.1.2-1~lucid1 (Ubuntu 10.04), but now, in 3.3.4.dfsg-2ubuntu1 (Ubuntu 
> 12.04), I get:
>
> Aug 27 13:01:55 duikboot syslog-ng[13037]: I/O error occurred while 
> writing; fd='23', error='Illegal seek (29)'
> Aug 27 13:01:55 duikboot syslog-ng[13037]: Suspending write operation 
> because of an I/O error; fd='23', time_reopen='60'
>
> This is probably because the /proc/net/xt_recent/somefile isn't a real
> file.

This has been fixed in 3.4's git tree, and will be part of 3.4.4
release. I do not plan to backport it to 3.3.

Debian packages for 3.4.4 will be provided at the usual place[1].

 [1]: http://asylum.madhouse-project.org/projects/debian/

Thanks for the report, and to Bazsi for the fix!

-- 
|8]



More information about the syslog-ng mailing list