Bugfix/68492 backports import by harshang03 · Pull Request #68760 · saltstack/salt
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.
- Docs
- Changelog - https://docs.saltproject.io/en/master/topics/development/changelog.html
- Tests written/updated
Commits signed with GPG?
No