OPNsense Forum

English Forums => 25.7 Series => Topic started by: ayanami_rei on October 09, 2025, 06:42:27 PM

Title: syslog-ng warning after update from 25.7.4 to 25.7.5
Post by: ayanami_rei on October 09, 2025, 06:42:27 PM
hello,
after update from 25.7.4 to 25.7.5 i got this warning from syslog-ng:
"WARNING: Configuration file format is newer than the current version, please specify the current version number (4.8) in the @version directive. syslog-ng will operate at its highest supported version in this mode; config-version='4.10' "
do I have to worry about that?

greetings
Title: Re: syslog-ng warning after update from 25.7.4 to 25.7.5
Post by: franco on October 09, 2025, 07:31:24 PM
I think this is a build artefact in the core package since Syslog-NG was originally intended to be at version 4.10 but it was pulled at the last minute because it stalled the boot of the system.

But there's no issue with that situation current situation and the warning in the logs. The config version inside the configuration is a fringe Syslog-NG quirk to begin with.


Cheers,
Franco
Title: Re: syslog-ng warning after update from 25.7.4 to 25.7.5
Post by: czanik on October 10, 2025, 07:32:33 AM
Hi,

You can make the version related startup warnings to go away. Here is how, and what are the possible side effects: https://www.syslog-ng.com/community/b/blog/posts/why-it-is-useful-to-set-the-version-number-in-the-syslog-ng-configuration

Can you report your 4.10 problem upstream at https://github.com/syslog-ng/syslog-ng/issues ? I tested 4.10.1 on FreeBSD 13 and 15, but of course not with every possible configuration...

CzP, from syslog-ng upstream
Title: Re: syslog-ng warning after update from 25.7.4 to 25.7.5
Post by: franco on October 10, 2025, 08:17:50 AM
Hi Peter,

The issue appears to be a file descriptor not being closed by the process that should background. I couldn't reproduce in a shell either, but PHP's exec() seems to be affected by it. Haven't had the time to do a proper bug report yet. Likely not before next week.


Cheers,
Franco
Title: Re: syslog-ng warning after update from 25.7.4 to 25.7.5
Post by: czanik on October 10, 2025, 08:44:45 AM
Could it be something similar to https://github.com/syslog-ng/syslog-ng/issues/5524 ?
Title: Re: syslog-ng warning after update from 25.7.4 to 25.7.5
Post by: franco on October 10, 2025, 08:54:21 AM
Could be, but 4.8.2 was/is fine. Unfortunately FreeBSD jumped directly to 4.10.1 so it's not easy to pin it to a particular version number (yet).

I'll gather more data for you, but I have other issues to deal with today.


Cheers,
Franco
Title: Re: syslog-ng warning after update from 25.7.4 to 25.7.5
Post by: czanik on October 10, 2025, 09:29:37 AM
Yeah. There was a problem, that 4.9 did not compile on FreeBSD 15 under some circumstances, so it was skipped. 4.10.0 also failed for us, so we released 4.10.1 to make sure that FreeBSD 15 also works. You can compile 4.9 using instructions from my blog: https://www.syslog-ng.com/community/b/blog/posts/installing-syslog-ng-4-9-0-on-freebsd My suspicion is that it's something between 4.8 and 4.9, which was a huge jump.