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

Allow missing rhn.conf file #7455

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

mbussolotto
Copy link
Member

@mbussolotto mbussolotto commented Aug 23, 2023

Now that rhnLog looks for the apache user and group in rhn.conf unit tests are failing if the file is not present. Use openSUSE values as default if rhn.conf is not available.

cherry-pick 9d8994e

What does this PR change?

GUI diff

No difference.

  • DONE

Documentation

Test coverage

  • No tests: add explanation

  • No tests: already covered

  • Unit tests were added

  • Cucumber tests were added

  • DONE

Links

Fixes #
Tracks # add downstream PR, if any

  • DONE

Changelogs

Make sure the changelogs entries you are adding are compliant with https://github.com/uyuni-project/uyuni/wiki/Contributing#changelogs and https://github.com/uyuni-project/uyuni/wiki/Contributing#uyuni-projectuyuni-repository

If you don't need a changelog check, please mark this checkbox:

  • No changelog needed

If you uncheck the checkbox after the PR is created, you will need to re-run changelog_test (see below)

Re-run a test

If you need to re-run a test, please mark the related checkbox, it will be unchecked automatically once it has re-run:

  • Re-run test "changelog_test"
  • Re-run test "backend_unittests_pgsql"
  • Re-run test "java_pgsql_tests"
  • Re-run test "schema_migration_test_pgsql"
  • Re-run test "susemanager_unittests"
  • Re-run test "javascript_lint"
  • Re-run test "spacecmd_unittests"

Now that rhnLog looks for the apache user and group in rhn.conf unit
tests are failing if the file is not present. Use openSUSE values as
default if rhn.conf is not available.
@mbussolotto mbussolotto marked this pull request as ready for review August 23, 2023 11:52
@mbussolotto mbussolotto requested a review from a team as a code owner August 23, 2023 11:52
@mbussolotto mbussolotto requested review from vzhestkov and cbosdo and removed request for a team and vzhestkov August 23, 2023 11:52
@cbosdo cbosdo merged commit 62aa96c into uyuni-project:server-container Aug 23, 2023
1 check 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.

2 participants