-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
*: fix a pile of directory and/or state retention related issues #15243
Merged
donaldsharp
merged 19 commits into
FRRouting:master
from
opensourcerouting:autoconf-dir-mess
Jan 28, 2024
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
f8eb388
build: add ax_recursive_eval.m4
eqvinox b052b18
build: add recursion limit for AX_RECURSIVE_EVAL
eqvinox 27f6171
build: use AX_RECURSIVE_EVAL
eqvinox ff62df2
build: untangle sysconfdir & localstatedir
eqvinox 444bc5e
build: update packaging & docs for dir changes
eqvinox 42eeea0
*: rename `frr_vtydir` to `frr_runstatedir`
eqvinox 0d5a249
lib, mgmtd: fix wrong mgmtd socket paths
eqvinox 80b6787
build: nuke `BFDD_CONTROL_SOCKET`
eqvinox 72783ec
build: nuke `ZEBRA_SERV_PATH`
eqvinox 0f79e6b
build: nuke `LDPD_SOCKET`
eqvinox a97d0c5
lib: set up `frr_libstatedir`
eqvinox cd35ecc
lib: create `frr_daemon_state_{load,save}`
eqvinox 634f481
*: fix `frr_daemon_info` indentation
eqvinox e354c6e
isisd: fix overload state location
eqvinox 110945b
ospfd: fix GR state location
eqvinox 567f570
ospf6d: fix GR & auth seqno state location
eqvinox bfd6d8e
lib, mgmtd: fix commit history location
eqvinox f1ad2c4
babeld: remove bogus config path print
eqvinox bbd8589
build: homologize path handling
eqvinox File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a genuine bug fix for mgmtd ( and should be backported to 9.0 and 9.1 as well right? ) Should this be in it's own PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TBH I'm still pondering if we shouldn't just backport this entire PR; saving state to
/var/run
is such a weird thing to do. But fixing that needs the entire other pile of commits too, which is a bit much…… and because we have (historically) overloaded
--localstatedir
in this stupid way I can't really "undo" or split off that change for a backport, without that /var/lib is kinda "inaccessible" …There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Case in point: if you configure OSPFv3 with authentication trailers and then reboot your box… your sequence number is gone and all the other routers refuse you into the network due to replay protection 🤡
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(regardless, it's not going to be a clean backport ⇒ need manual backport PR anyways ⇒ can adjust/drop things if needed)