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

[3006.x] Constrain the localfs cache to the cachedir #67033

Open
wants to merge 3 commits into
base: 3006.x
Choose a base branch
from

Conversation

lkubb
Copy link
Contributor

@lkubb lkubb commented Nov 4, 2024

What does this PR do?

Constrain the localfs cache module to its cachedir.

What issues does this PR fix or reference?

Fixes: #67031

Previous Behavior

Operates on the whole filesystem when bank (or key) is prefixed with os.sep

New Behavior

Only operates on subpaths of cachedir.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

@lkubb lkubb requested a review from a team as a code owner November 4, 2024 11:30
@lkubb lkubb changed the title Constrain the localfs cache to the cachedir [3006.x] Constrain the localfs cache to the cachedir Nov 4, 2024
Copy link
Contributor

@twangboy twangboy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the pre-commit tests are failing. Once we get the CICD fixed, the others should pass.

@lkubb lkubb requested a review from twangboy November 7, 2024 20:21
@twangboy
Copy link
Contributor

Once we get the test suite fixed we'll need you to rebase so the tests can run.

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

Successfully merging this pull request may close these issues.

2 participants