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

packaging: Specify /run as a runstatedir #17404

Conversation

ton31337
Copy link
Member

@ton31337 ton31337 commented Nov 11, 2024

Closes #17032

@ton31337 ton31337 marked this pull request as draft November 11, 2024 07:45
@ton31337 ton31337 force-pushed the fix/specify_runstatedir_redhat_debian branch 2 times, most recently from df808e2 to aa6beee Compare November 11, 2024 09:13
@ton31337
Copy link
Member Author

Why is this failing on RHEL8, but not on RHEL9?

@KanjiMonster
Copy link
Contributor

Why is this failing on RHEL8, but not on RHEL9?

The internet says --runstatedir support was introduced with autoconf 2.70, so presumably RHEL8's (and CentOS 7's) autoconf package is older than that. Some google hits suggest RHEL8 has 2.69, while RHEL9 has 2.71.

@ton31337 ton31337 force-pushed the fix/specify_runstatedir_redhat_debian branch from aa6beee to c3ee937 Compare November 26, 2024 18:48
/var/run is _deprecated_ (= legacy), let's use just /run.

/usr/lib/systemd/system/frr.service:20: PIDFile= references a path below legacy directory /var/run/, updating /var/run/frr/watchfrr.pid → /run/frr/watchfrr.pid; please update the unit file accordingly.

Signed-off-by: Donatas Abraitis <[email protected]>
@ton31337 ton31337 force-pushed the fix/specify_runstatedir_redhat_debian branch from c3ee937 to 7e5cc58 Compare November 26, 2024 18:48
@ton31337 ton31337 closed this Nov 26, 2024
@ton31337 ton31337 deleted the fix/specify_runstatedir_redhat_debian branch November 26, 2024 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shipped systemd unit uses deprecated path in PIDFile
2 participants