Package: syslog-ng-core
Version: 3.3.5-4

The syslog-ng init script for sysvinit contains the line
    install -d /var/lib/syslog-ng
before calling start-stop-daemon to start the daemon. The unit file
does not. This causes syslog-ng to fail if installed on a Debian system
using systemd as init system. (However, if syslog-ng was started at
least once under sysvinit, it will not fail subsequently.)

I suggest adding the following line to the unit file:
ExecStartPre=-/bin/mkdir -p /var/lib/syslog-ng

Or, alternatively, just include the directory in the package itself.

I am using Debian GNU/Linux 7.1 (wheezy), but a peek into the unit file
shipped in the sid version of syslog-ng also shows the same problem.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to