Skip to content

Comments

Bugfix/68492 backports import#68760

Draft
harshang03 wants to merge 3 commits intosaltstack:masterfrom
harshang03:bugfix/68492-backports-import
Draft

Bugfix/68492 backports import#68760
harshang03 wants to merge 3 commits intosaltstack:masterfrom
harshang03:bugfix/68492-backports-import

Conversation

@harshang03
Copy link

What does this PR do?

Ensures Salt can start without the optional backports package by injecting a minimal backports namespace (including an ssl_match_hostname fallback) early in startup and before loader module discovery.

What issues does this PR fix or reference?

Fixes #68492

Previous Behavior

Salt could fail to start in 3006 LTS environments where the backports package is missing, due to optional imports resolving the namespace at startup.

New Behavior

Salt sets up a minimal, safe backports namespace (and ssl_match_hostname fallback) during import and loader initialization so optional imports do not abort startup.

Merge requirements satisfied?

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

Commits signed with GPG?

No

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.

[Bug]: backports module import in 3006 LTS

1 participant