systemctl start syslog-ng fails with syslog-ng.service not found this link explains the issue: https://github.com/balabit/syslog-ng/commit/649d1151e79033cc2b81b3353917507266814436
further to this bug. There is a configuration file called syslog-ng@default that should be in /etc/default. There should also be an elog message noting that use of systemd has be changed to: # systemctl start syslog-ng@default This is the contents of syslog-ng@default with the CONFIG_FILE location changed for gentoo: CONFIG_FILE=/etc/syslog-ng/syslog-ng.conf PERSIST_FILE=/var/lib/syslog-ng/syslog-ng.persist CONTROL_FILE=/var/lib/syslog-ng/syslog-ng.ctl PID_FILE=/var/run/syslog-ng.pid OTHER_OPTIONS="--enable-core"
Hello Harris,would you mind opening a PR on github for this?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36c4716ec165d1565d72943504af8b4e386d99cd commit 36c4716ec165d1565d72943504af8b4e386d99cd Author: Tomas Mozes <hydrapolic@gmail.com> AuthorDate: 2017-12-10 05:58:01 +0000 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: 2017-12-12 20:09:15 +0000 app-admin/syslog-ng: version bump to 3.13.2. Closes: https://bugs.gentoo.org/557060 Closes: https://bugs.gentoo.org/640136 Closes: https://bugs.gentoo.org/640458 Closes: https://github.com/gentoo/gentoo/pull/6504 app-admin/syslog-ng/Manifest | 1 + .../syslog-ng/files/3.13/syslog-ng.conf.gentoo | 36 +++++ .../files/3.13/syslog-ng.conf.gentoo.fbsd | 24 +++ .../files/3.13/syslog-ng.conf.gentoo.hardened | 115 ++++++++++++++ app-admin/syslog-ng/files/3.13/syslog-ng.confd | 42 ++++++ app-admin/syslog-ng/files/3.13/syslog-ng.rc | 58 +++++++ app-admin/syslog-ng/syslog-ng-3.13.2.ebuild | 167 +++++++++++++++++++++ 7 files changed, 443 insertions(+)
*** Bug 647898 has been marked as a duplicate of this bug. ***