#1072681 syslog-ng.service fails to start with empty var partition

Package:
syslog-ng-core
Source:
syslog-ng-core
Description:
Enhanced system logging daemon (core)
Submitter:
Date:
2024-06-06 12:57:21 UTC
Severity:
normal
#1072681#5
Date:
2024-06-06 11:48:26 UTC
From:
To:
Dear Maintainer,

When running with an initially empty /var partition, the syslog-ng.service
currently fails to start as the /var/lib/syslog-ng directory is not present.

syslog-ng.service status gives the below mentioned error message.
Error connecting control socket, socket='/var/lib/syslog-ng/syslog-ng.ctl', error='No such file or directory'

For details, please also see #945269