Package: syslog-ng-core
Version: 3.3.5-2
Severity: important

Hi,

when syslog-ng-core is run under systemd (with the native .service
files), it fails to start with the following error message:

Plugin module not found in 'module-path';
module-path='/usr/lib/syslog-ng/3.3.5', module='afsql'
Error creating persistent state file;
filename='/var/lib/syslog-ng/syslog-ng.persist-', error='No such file or
directory (2)'

The /var/lib/syslog-ng directory is not created when running systemd.
You have two options:
1/ use a tmpfiles snippet [1]
2/ use ExecStartPre= to create the state directory

While tmpfiles are generally the recommended approach, you need to keep
in mind, that we currently don't have the necessary maintainer script
code to run those on install time. They are currently only run on boot.
If you chose to use tmpfile, make sure to also create /var/lib/syslog-ng
in postinst.

If you need further help or information, please don't hesitate to ask.

Cheers,
Michael

[1] http://0pointer.de/public/systemd-man/tmpfiles.d.html

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to