-
Notifications
You must be signed in to change notification settings - Fork 143
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
Removed GUI condition check for RHEL-07-040730 #467
Conversation
Signed-off-by: layluke <[email protected]>
Hey @layluke. |
@georgenalen Yes, I think there is an issue here still. The issue is, this will remove x11 if rhel7stig_gui is set to false andrhel_07_040730 is set to false. If rhel7stig_gui is true, it just skips the removal. It will also skip the removal if rhel7stig_gui is removed and rhel_07_040730 is set to true (default) I mentioned it in the issue #464. Currently, there is no way to get x11 to stay unless rhel7stig_gui is set to true, making it impossible to run x11 on a headless system. Currently rhel_07_040730 has no weight in this conditional check. If there is a way for rhel_07_040730 to take precedence in the conditional that may be ideal. I think that it's implied if it's not running a GUI is not being installed, x windows is usually not there unless you want it to be. that's why I thought the best way to handle it was to remove the conditional check for rhel7stig_gui, and handle the condition with rhel_07_040730. This will allow it's removal only if explicitly mentioned by setting rhel_07_040730 to false. Thanks :) |
Signed-off-by: Mark Bolwell <[email protected]>
hi @layluke Thank you for raising this PR. While not a common issue we have seen, i assume other use SSH differently to get around this. This is a great issue to solve if we can. Many thanks uk-bolly |
hi @layluke I have raised a PR to bring in v3r14 and i have incorporated the fix for the gui in to this PR to devel. Thank you again for raising the issue and looking at a solution. Kindest uk-bolly |
Thanks for looking at this @uk-bolly! I think the merge looks good. It seems like maybe we're the only ones who use this functionality. Basically, we'll have someone going through a server system, and instead of using a CLI utility (or and IDE that can ssh into the system and browse files) they'll launch something like gedit on the CLI and it will pop up on their local desktop VIA xforwarding. So on servers, there are some cases where there is no gnome, yet a bare bones x11 that is there just for xforwarding, when it boots, there is no desktop, but if there is a gui program installed, it can be utilized using xforwarding. Thanks again for taking a look! best regards layluke |
Closing due to a different work around being implemented. |
Overall Review of Changes:
Removing GUI condition check for RHEL-07-040730
Issue Fixes:
#464
How has this been tested?:
N/A