RPM packages from syslog-ng Git HEAD

Last week, I described why and how to install the latest stable syslog-ng RPM packages. There are some situations, when even the latest stable release is not good enough. The last stable release has been available since August, and quite a few bugs were fixed after that date. If you have any issues with 3.8.1, there is a good chance that it is already fixed.

Development of syslog-ng happens on GitHub: https://github.com/balabit/syslog-ng/. The latest commit in Git is called the HEAD. From now on, I will try to create packages regularly from the latest Git sources.

Warning: while there are many precautions taken to ensure that there are no defects introduced to syslog-ng during development (including automatic testing and code reviews), you can use these packages only at your own risk. Do not be surprised if it eats your machine for breakfast!

These packages are not intended for production use, rather to verify that the issues that you may have encountered in 3.8.1 or earlier releases have been fixed. They can change frequently and sometimes even include experimental, not yet merged patches (by the time of writing: OpenSSL 1.1 support).

For information on other platforms that could be relevant to you, check out all my blog posts about installing syslog-ng on major Linux distributions, collected in one place.

In addition, syslog-ng is also available as a Docker image. To learn more, read our tutorial about logging in Docker using syslog-ng.

Installing syslog-ng on RHEL 7 / CentOS 7 and Fedora

The “githead” repository is using the regular 3.8 repository as a dependency. So first, add all the repositories as described in my previous post. Next, download the .repo file belonging to your distribution version from https://copr.fedorainfracloud.org/coprs/czanik/syslog-ng-githead/.

In case of installing syslog-ng on RHEL 7, enter the following commands:

cd /etc/yum.repos.d/
wget https://copr.fedorainfracloud.org/coprs/czanik/syslog-ng-githead/repo/epel-7/czanik-syslog-ng-githead-epel-7.repo

From now, on you can install syslog-ng and its sub packages from the “githead” repository with yum or dnf.

Installing syslog-ng on SLES and openSUSE

Installation steps are almost the same as described in my previous blog post. This repository contains all the necessary dependencies, you only have to change the URL compared to the previous post: https://build.opensuse.org/project/show/home:czanik:syslog-ng-githead.

For example, if you want to install syslog-ng on openSUSE Leap 42.2, enter the following command:

zypper ar http://download.opensuse.org/repositories/home:/czanik:/syslog-ng-githead/openSUSE_Leap_42.2/ syslog-ng-githead

From now, on you can install syslog-ng and its sub packages from the “githead” repository with zypper.

Are you stuck?

If you have questions or comments related to syslog-ng, do not hesitate to contact us. You can reach us by email or you can even chat with us. For a long list of possibilities, check our contact page at https://syslog-ng.org/contact-us/. On Twitter I am available as @PCzanik.