[syslog-ng] 3.2.5 preparations - systemd

Jose Pedro Oliveira jpo at di.uminho.pt
Sun Oct 23 01:00:57 CEST 2011


Balazs Scheidler,

On 2011-10-22 07:10, Balazs Scheidler wrote:
> Hi,
> 
> I wanted to publish a last maintenance release from the 3.2 branch
> before moving on to work on 3.4.
> 
> I've backported the relevant patches, tests have ran (both on my
> development computer and a separate build environment), but I'd like to
> ask anyone running 3.2.x to test it in more production-like
> environments.
> 
> The current state is available in git, but I've also uploaded a tarball
> to:
> 
> http://people.balabit.hu/bazsi/syslog-ng-3.2.4+20111022+0801.tar.gz

A couple of systemd packaging notes:

 * the tarball includes two identical syslog-ng.service files

      1) contrib/systemd/syslog-ng.service
      2) examples/syslog-ng.service

   The second one can be dropped as the first is the one thats
   gets installed  (--withsystemdsystemunitdir)

 * the syslog-ng.service file in the 3.2 branch is different from the
   one in the 3.3 git tree:
   ----------
   --- syslog-ng-3.2.git/contrib/systemd/syslog-ng.service ...
   +++ syslog-ng-3.3.git/contrib/systemd/syslog-ng.service ...
   @@ -6,6 +6,7 @@
    ExecStartPre=/bin/systemctl stop systemd-kmsg-syslogd.service
    ExecStart=/usr/sbin/syslog-ng -F
    ExecReload=/bin/kill -HUP $MAINPID
   +StandardOutput=null

    [Install]
    WantedBy=multi-user.target
   ----------

 * we have been experiencing very strange systemd/syslog-ng problems
   in Fedora 15 (and Fedora 16 Beta): some systems become completely
   unusable if we change the Sockets option in the syslog-ng.service
   file from syslog-ng.socket to syslog.socket as suggested by the
   systemd author. At the same time the line "StandardOutput=null"
   was also added to the syslog-ng.service file but it doesn't
   appears to be the source of the problem. Any help tracking this
   one will be appreciated ...

   The change that appears to be causing the problems:
      -Sockets=syslog-ng.socket
      +Sockets=syslog.socket

   More details:
   https://bugzilla.redhat.com/show_bug.cgi?id=742624

Regards,
jpo
-- 
José Pedro Oliveira
* mailto:jpo at di.uminho.pt *


More information about the syslog-ng mailing list