Summary: | app-admin/syslog-ng-3.3.5 - add systemd support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Malte Starostik <bugs> |
Component: | Current packages | Assignee: | Mr. Bones. (RETIRED) <mr_bones_> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | alexander, herber, hollow |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 365937 | ||
Attachments: |
enable systemd compatibility
syslog-ng-3.3.5-r2.ebuild |
Description
Malte Starostik
2012-05-31 00:12:38 UTC
Created attachment 313649 [details, diff]
enable systemd compatibility
Patch seem ok. 3.3.6 is going to drop soon so I think I'll pick this up for that version. FYI, with syslog-ng 3.3.6, the /dev/log => /run/systemd/journal/syslog replacement is not necessary (it will figure that out itself, and replace it automatically at run-time), but still recommended. Even better, using the system() source results in a configuration that will work in either case, with or without systemd, without needing any change at all after that point. Created attachment 337314 [details]
syslog-ng-3.3.5-r2.ebuild
I modified the patch a little bit to make this conditional with a systemd useflag. I also added a patch for the service file that was necessary on my system.
I added the ebuild also to my anyc-overlay.
i don't think that USE=systemd is a good idea, for the same reasons we dropped logrotate, xinetd and other similar use flags ... (In reply to comment #5) > i don't think that USE=systemd is a good idea, for the same reasons we > dropped logrotate, xinetd and other similar use flags ... Okay, I would agree to that by now. But the patch is still required - at least on my system. USE=systemd for installing systemd unit files is wrong and will likely be removed by systemd@ if found. added to syslog-ng-3.4.1 |