Hi, when creating the statefile directory, the init script uses a checkpath --mode 0600: start_pre() { checkconfig || return 1 checkpath \ -d \ --mode 0600 \ --owner "${SYSLOG_NG_OWNER}:${SYSLOG_NG_GROUP}" \ "${SYSLOG_NG_STATEFILE_DIR}" } But since this is a directory, this misses the execution permission. This result in an error when starting syslog-ng-3.4.1: * Starting syslog-ng ... Error creating persistent state file; filename='/var/lib/syslog-ng/syslog-ng.persist-', error='Permission denied (13)' * start-stop-daemon: failed to start `syslog-ng' * Failed to start syslog-ng [ !! ] * ERROR: syslog-ng failed to start Using "--mode 0700" in the init script fixes this issue Thanks !
same problem here
fixed. thanks for the bug report.