config-files/syslog-ng-config/debian
aoliveir d03ab8fa54 Fix syslog-ng: config, service and package
Following the man page and document:

https://manpages.debian.org/unstable/syslog-ng-core/
syslog-ng.conf.5.en.html
https://www.freedesktop.org/wiki/Software/systemd/syslog/

The definition of the syslog-ng service file was changed to use
"Requires" instead of "Sockets" on the Unit section.
On CentOS, the version of syslog-ng is older, and these docs seems to
apply to newer versions (CentOS: 2015 vs Debian: 2020).
Also, the source for the messages on syslog-ng config file should be
changed since a socket is used on the journal: syslog.socket.
(socket: /run/systemd/journal/syslog)
The syslog-ng package had to add an explicit enable on the service
to have the override applied on the service.

Test Plan:

PASS: ISO build successfully
PASS: ISO installed successfully
PASS: After installation syslog.socket and syslog-ng are Running
PASS: Upon adding "management_interface=lo" to platform.conf
mtce logs start to appear

Story: 2009256
Task: 44598
Signed-off-by: aoliveir <adriano.oliveira@windriver.com>
Change-Id: I66a2800d1639890cdbd5972d9f018215580da46c
2022-02-23 21:46:44 +00:00
..
deb_folder Fix syslog-ng: config, service and package 2022-02-23 21:46:44 +00:00
meta_data.yaml Migrate syslog-ng-config to Debian 2021-11-23 08:15:38 -03:00