New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] rsyslog addon compiled against wrong prefix #8125
Comments
Closing. Please see #8044 |
Sorry, somehow I could find that ticket. Bun since this is not fixed and does not work "out of the box" when installing the addon I still think this is a bug. The addon was not updated. |
Because of the way rsyslog plugins are done - the supported startup is via the systemd script (and this is automated) the following lines are part of the startup. LibreELEC.tv/packages/addons/service/rsyslog/source/system.d/service.rsyslog.service Lines 8 to 10 in c4db2d1
If you were looking to improve the addon build - to directly specify the RSYSLOG_MODDIR during build - then PR would be welcome. |
I will check again. |
@jsaathof This ended up being a problem with how settings were read when you were not using the default profile. All of the library stuff above was a problem with my testing. Check the forums. I just posted a novel about it with a workaround if you are also using a profile other than Master. |
Describe the bug
The rsyslog addon cannot load modules and therefore cannot start.
The modules are searched in /usr/lib/rsyslog which is not the correct folder. The module is installed in /storage/.kodi/addons/service.rsyslog. According to the manpage of rsyslog the modules are searched in the default directory prefix/lib/rsyslog. The prefix has been set to /usr.
The module should be recompiled with /storage/.kodi/addons/service.rsyslog as prefix.
How to reproduce
Steps to reproduce the behavior:
Information
Log file
Context
The manpage on a different node reads:
The prefix supplied during compilation shows it is set to /usr because rsyslogd searches for the modules in that location. The addon should be recompiled with /storage/.kodi/addons/service.rsyslog as prefix.
The text was updated successfully, but these errors were encountered: