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

Fix firewall configuration in Autoyast profile #5839

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

b10n1k
Copy link
Contributor

@b10n1k b10n1k commented Aug 8, 2024

Configure the firewall properties as SuSEfirewall2 has been replaced by firewalld and the validation produce a warning. FW_CONFIGURATIONS_EXT keeps working so far because is supported but it is deprecated.

  • Avoid deprecation warning about using firewall property
    from SuSEfirewall2 times
  • Use firewalld configuration instead

https://progress.opensuse.org/issues/156169

Copy link
Member

@okurz okurz left a comment

Choose a reason for hiding this comment

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

Can you clarify how you tested that? As we don't have automatic tests for autoyast yet that matters :)

@b10n1k
Copy link
Contributor Author

b10n1k commented Aug 9, 2024

Can you clarify how you tested that? As we don't have automatic tests for autoyast yet that matters :)

with yast autoyast check-profile. I didnt try to perform an installation in some VM.

@okurz
Copy link
Member

okurz commented Aug 9, 2024

Can you clarify how you tested that? As we don't have automatic tests for autoyast yet that matters :)

with yast autoyast check-profile. I didnt try to perform an installation in some VM.

hm, I don't know if yast autoyast check-profile is depending on the OS version on which it's called or if it can be trusted to not produce false positives so please verify with an actual installation if this works as expected.

@Martchus
Copy link
Contributor

The commit message is not very easy to read and contains a few grammar mistakes. This is also technically not fixing anything at this point. What about:

Avoid using deprecated Autoyast config for firewall

* Avoid deprecation warning about using firewall property
  from SuSEfirewall2 times
* Use firewalld configuration instead

Related ticket: https://progress.opensuse.org/issues/156169

And yes, it would make sense to test this, e.g. by installing it in a VM.

* Avoid deprecation warning about using firewall property
  from SuSEfirewall2 times
* Use firewalld configuration instead

https://progress.opensuse.org/issues/156169
Signed-off-by: ybonatakis <[email protected]>
@b10n1k
Copy link
Contributor Author

b10n1k commented Aug 21, 2024

Avoid using deprecated Autoyast config for firewall

  • Avoid deprecation warning about using firewall property
    from SuSEfirewall2 times
  • Use firewalld configuration instead

Updated on 287f0cd

@Martchus Martchus merged commit 87b66ec into os-autoinst:master Aug 26, 2024
43 checks passed
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.

5 participants