Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 640136

Summary: app-admin/syslog-ng-3.12.1 will not start on systemd
Product: Gentoo Linux Reporter: Harris Landgarten <harrisl>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: 4nykey, francoisvalenduc, hydrapolic, mark+gentoobugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/6504
Whiteboard:
Package list:
Runtime testing required: ---

Description Harris Landgarten 2017-12-07 00:08:49 UTC
systemctl start syslog-ng fails with syslog-ng.service not found

this link explains the issue:

https://github.com/balabit/syslog-ng/commit/649d1151e79033cc2b81b3353917507266814436
Comment 1 Harris Landgarten 2017-12-07 03:39:10 UTC
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"
Comment 2 Tomáš Mózes 2017-12-07 04:42:15 UTC
Hello Harris,would you mind opening a PR on github for this?
Comment 3 Larry the Git Cow gentoo-dev 2017-12-12 20:10:09 UTC
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(+)
Comment 4 Tomáš Mózes 2018-02-16 19:53:01 UTC
*** Bug 647898 has been marked as a duplicate of this bug. ***