Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
OpenSearch 2.17, maybe others.
OSes: CentOS, RHEL, Rocky Linux, maybe others.
Describe the issue:
This is not a breaking issue. Just a question.
Will any upcoming update to the opensearch packages address the changes to systemd made in v239. It’s been awhile since that systemd release was rolled out.
At the moment, it’s just a bit of extra error handling code in our build automation, and a minor blip for the occasional unwary ops engineer who takes the time to read the logs.
Reference: Systemd logs warnings about the legacy tmpfile location /var/run - Red Hat Customer Portal
Configuration:
n/a
Relevant Logs or Screenshots:
Example from system messages logs
Oct 24 12:02:39 sandboxvm systemd-tmpfiles[43236]: [/usr/lib/tmpfiles.d/opensearch.conf:1] Line references path below legacy directory /var/run/, updating /var/run/opensearch → /run/opensearch; please update the tmpfiles.d/ drop-in file accordingly.
Example from dnf/yum install:
Error in POSTIN scriptlet in rpm package opensearch
[/usr/lib/tmpfiles.d/opensearch.conf:1] Line references path below legacy directory /var/run/, updating /var/run/opensearch → /run/opensearch; please update the tmpfiles.d/ drop-in file accordingly.