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

[WIP] Stop systemd socket associated services and ask for installing firewalld service definition #624

Closed
wants to merge 2 commits into from

Conversation

teclator
Copy link
Contributor

@teclator teclator commented Apr 23, 2018

Trello Card

In this PR we try to fix these issues:

  1. When the module is called and no package have been installed yet we are not able to configure the firewall because the packages are installed once selected one of the available modes.

screenshot from 2018-04-23 17-20-57

  1. When a systemd socket is stopped the started services associated with it are not stopped

For the first issue, we could ask for installing the package that ships the service definition

screenshot from 2018-04-23 17-20-06

Once installed (tigervnc still needs to reload firewalld), we will be able to configure the firewall without having to run the client twice.

screenshot from 2018-04-23 17-23-02

For the second issue, well, as @michalsrb already pointed on IRC it depends on whether we want to close ongoing connections or not.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.07%) to 34.677% when pulling c076e3f on associated_service into 05a569e on master.

@teclator
Copy link
Contributor Author

@michalsrb could you also take a look?

@michalsrb
Copy link
Contributor

@teclator I can answer you any questions about Xvnc, vncmanager or novnc, if you have, but I am not familiar enough with the YaST code to review this, sorry.

@teclator
Copy link
Contributor Author

@michalsrb great, I will provide some screenshots and will summarize the changes and issues

@@ -60,10 +60,32 @@ def main

private

# Convenience methof for obtaining a Y2Firewall::Firewalld instance
Copy link
Member

Choose a reason for hiding this comment

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

typo methof

package = Y2Remote::Remote::FIREWALL_SERVICES_PACKAGE
Yast::Package.InstallAllMsg(
[package],
_(
Copy link
Member

Choose a reason for hiding this comment

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

please add comment for translators what will be %s.

@teclator
Copy link
Contributor Author

Close the PR by now as I do not plan to work on it.

@teclator teclator closed this Jul 25, 2019
@imobachgs imobachgs deleted the associated_service branch September 13, 2019 10:36
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

4 participants