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

Do a lazy initialization of network and security settings #156

Merged
merged 2 commits into from Nov 1, 2023

Conversation

teclator
Copy link
Contributor

@teclator teclator commented Oct 27, 2023

Problem

The initialization of the TargetConfig creates an instance of the security_settings which reads the defaults for ssh, firewall and vnc from the skelcd even when it does not need this configuration at all causing problems when it is read to early during the workflow or when it is not needed as commented.

In the related bug, it adds the package firewalld because according to the skelcd it needs to be enabled even if in the profile it is disabled or removed.

Solution

Do a lazy initialization of the settings just when required.

Testing

  • Tested manually

@teclator teclator merged commit 55c82d9 into SLE-15-SP5 Nov 1, 2023
12 checks passed
@teclator teclator deleted the lazy_initialization branch November 1, 2023 12:51
@yast-bot
Copy link
Contributor

yast-bot commented Nov 1, 2023

✔️ Internal Jenkins job #748 successfully finished
✔️ Created IBS submit request #312114

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.

None yet

3 participants