Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Errors in log and in console each boot after upgrade to 23.7.x
« previous
next »
Print
Pages: [
1
]
Author
Topic: Errors in log and in console each boot after upgrade to 23.7.x (Read 1297 times)
karlson2k
Full Member
Posts: 114
Karma: 4
Errors in log and in console each boot after upgrade to 23.7.x
«
on:
August 18, 2023, 12:53:07 pm »
I recently upgraded my router to 23.7.1_3 from 23.1.11.
After upgrade I noticed error message in console during each boot:
Configuring system logging...Error opening plugin module; module='examples', error='/usr/local/lib/syslog-ng/libexamples.so: Undefined symbol "random_choice_generator_parser"'
The same message could be found in system log.
I solved it by renaming libexamples.so to libexamples.so.bak, as this module probably was built by mistake, but I'm not sure whether this is correct fix or not.
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: Errors in log and in console each boot after upgrade to 23.7.x
«
Reply #1 on:
August 18, 2023, 12:55:20 pm »
It's for Syslog-ng to repair this in another release, but so far nobody had any operational issue due to this.
Cheers,
Franco
Logged
karlson2k
Full Member
Posts: 114
Karma: 4
Re: Errors in log and in console each boot after upgrade to 23.7.x
«
Reply #2 on:
August 18, 2023, 01:16:37 pm »
Should we just ignore this error or disable the module?
Looks like "examples" module must not be used in production as it is a set of samples only.
https://github.com/syslog-ng/syslog-ng/tree/master/modules/examples
«
Last Edit: August 18, 2023, 01:19:38 pm by karlson2k
»
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: Errors in log and in console each boot after upgrade to 23.7.x
«
Reply #3 on:
August 18, 2023, 02:09:43 pm »
> disable the module?
The truth is we never enabled it. The first time we saw the error was Syslog 4.3.1 which came with 23.7.2. Evidence suggests 4.3.1 is to blame.
Cheers,
Franco
Logged
karlson2k
Full Member
Posts: 114
Karma: 4
Re: Errors in log and in console each boot after upgrade to 23.7.x
«
Reply #4 on:
August 18, 2023, 02:26:38 pm »
While waiting for the upstream, it could be disabled by very simple local patch for port/package;)
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: Errors in log and in console each boot after upgrade to 23.7.x
«
Reply #5 on:
August 18, 2023, 02:33:27 pm »
Which costs half a day of work for a single cosmetic error. I'm not going to get that approved...
Cheers,
Franco
Logged
karlson2k
Full Member
Posts: 114
Karma: 4
Re: Errors in log and in console each boot after upgrade to 23.7.x
«
Reply #6 on:
August 18, 2023, 02:51:12 pm »
I'm not aware of the procedures and they can be complicated, but the patch itself should be one line removal (for CMake).
Hopefully this module does not expose some unexpected external APIs.
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: Errors in log and in console each boot after upgrade to 23.7.x
«
Reply #7 on:
August 18, 2023, 02:52:28 pm »
Rebuild packages, redo QA on release, distribute to package mirrors, retest updates?
Logged
karlson2k
Full Member
Posts: 114
Karma: 4
Re: Errors in log and in console each boot after upgrade to 23.7.x
«
Reply #8 on:
August 18, 2023, 02:59:59 pm »
No need for the hotfix. Just fix for the next minor release update.
FreeBSD uses autoreconf instead of CMake, but it is still one line removal (in Makefile.am).
«
Last Edit: August 18, 2023, 03:16:14 pm by karlson2k
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Errors in log and in console each boot after upgrade to 23.7.x