Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] RPM update pid file localtion in tmpfiles.d setup #2098

Open
peterzhuamazon opened this issue May 6, 2022 · 5 comments
Open

Comments

@peterzhuamazon
Copy link
Member

[/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.

This has shown in new RH8/CentOS8/RockyLinux8, I think it is time for us to update this at some point.
The file is taken from OS and OSD core so would need to update it accordingly.

Thanks.

@bbarani
Copy link
Member

bbarani commented Jun 1, 2022

@peterzhuamazon Whats the update on this issue?

@peterzhuamazon
Copy link
Member Author

@bbarani
I have observed a lot of packages from official centos/fedora repo is referencing the legacy run pid folder. We can update this once we stop supporting RH/CentOS 7 and AL2.

@bbarani
Copy link
Member

bbarani commented May 1, 2023

Tagging #1563

@peterzhuamazon
Copy link
Member Author

See comment here as we probably can ignore these right now, due to pids are now created in /run anyway.
We can leave things as it be, or worst case just remove the tempfiles generation entirely.

#3435

@peterzhuamazon
Copy link
Member Author

More:

So seems like both OS and OSD are providing tmpfiles conf, but none of them actually put it in /var/run due to its deprecation, but rather /run

OS has -p to redirect the pid file

or rather make an additional copy beside /run

OSD I have yet to see that tho.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants