(cherry picked from commit 60dafc2028)
047d345b logmngr: /dev/log permissions should allow all processes to write
Co-authored-by: Husaam Mehdi <husaam.mehdi@iopsys.eu>
Always migrate configuration. Do not set executable bit on config
files and uci-defaults scripts. Remove unused /lib/functions.sh
include. Remove redundant "default y" on choice.
If it fails during MP the verfication of buttons will not work
as expected. The problem is that the file is created before
data is commited and when power is cut prematurely it won't
re-create the file, maybe because the uci-default script has
been removed already as well.
- Added prefix with rotated log filename to distinguish
with actual log files
- Fix compression value
- Moved VendorLogFiles datamodel from bbfdm to logmngr
* all logging packages have a custom implmentation for logread,
which is a command that can be invoked to view the logs. Hence,
it makes sense for logmngr to have a logread to accompany it
as well. Support for the same is added via this commit.
* the approach is simplistic and follows syslog-ng with the
slight enhancement of reading the logfile from logmngr uci
* support to generate default uci config for logmngr which is
to write logs to /var/log/messages
* this is a bit of an overkill and not needed. Instead, we can use
option file to have full path to file including file name.
example: /var/log/messages
* other formatting errors and remove unused function in syslog-ng
- add lib script to convert logmngr uci to syslog-ng.conf
- update makefile to install proper lib file
- fix couple of minor bugs found in fluent-bit.sh
- fix fluent-bit makefile to download code from git