Skip to content

fix several bugs related to saline service (bsc#1243329) (bsc#1243359) #587

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

Merged
merged 1 commit into from
Jun 5, 2025

Conversation

mbussolotto
Copy link
Member

@mbussolotto mbussolotto commented May 21, 2025

What does this PR change?

  • fix several bugs related to saline service (bsc#1243329)
  • purge saline and hubxmlrpc image (bsc#1243359)

Codespace

Check if you already have a running container clicking on Running CodeSpace

Create CodeSpace About billing for Github Codespaces CodeSpace Billing Summary CodeSpace Limit

Test coverage

  • No tests
  • DONE

Links

Issue(s):

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)

Before you merge

Check How to branch and merge properly!

@mbussolotto mbussolotto force-pushed the saline branch 2 times, most recently from 48243b9 to 4072efd Compare May 21, 2025 08:36
@mbussolotto mbussolotto changed the title fix several bugs related to saline service (bsc#1243329) fix several bugs related to saline service (bsc#1243329) (bsc#1243359) May 21, 2025
@mbussolotto mbussolotto requested a review from cbosdo May 21, 2025 12:37
@@ -14,6 +14,7 @@ func StartServices() error {
systemd.StartService(podman.DBService),
systemd.StartInstantiated(podman.ServerAttestationService),
systemd.StartInstantiated(podman.HubXmlrpcService),
systemd.StartInstantiated(podman.SalineService),
Copy link
Contributor

Choose a reason for hiding this comment

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

This one is fixed in #585

@@ -22,6 +23,7 @@ func StopServices() error {
return utils.JoinErrors(
systemd.StopInstantiated(podman.ServerAttestationService),
systemd.StopInstantiated(podman.HubXmlrpcService),
systemd.StopInstantiated(podman.SalineService),
Copy link
Contributor

Choose a reason for hiding this comment

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

This one too

@@ -107,7 +111,7 @@ func (s SystemdImpl) UninstallService(name string, dryRun bool) {
} else {
log.Info().Msgf(L("Disable %s service"), name)
// disable server
err := utils.RunCmd("systemctl", "disable", "--now", name)
err := s.DisableService(name)
Copy link
Contributor

Choose a reason for hiding this comment

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

I fixed this one too 😉

Copy link

sonarqubecloud bot commented Jun 5, 2025

@mbussolotto mbussolotto merged commit e717584 into uyuni-project:main Jun 5, 2025
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants