Skip to content

[8.18] (backport #8896) Fix: Elastic Agent is not enabled on SUSE after installation from RPM package#8913

Merged
michalpristas merged 2 commits into8.18from
mergify/bp/8.18/pr-8896
Jul 10, 2025
Merged

[8.18] (backport #8896) Fix: Elastic Agent is not enabled on SUSE after installation from RPM package#8913
michalpristas merged 2 commits into8.18from
mergify/bp/8.18/pr-8896

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Jul 9, 2025

Presence of init.d files invokes either systemd-sysv-install that may missing on some deployments or results in symlink creation failure.

Tested manually on

  • ubuntu, deb install
  • redhat 8, rpm install
  • suse 15, rpm install

From these 3 only suse was problematic. I was testing other 2 just to rule out breaking behavior.

Fixes: #8840
Fixes: #2703
Fixes: #6704


This is an automatic backport of pull request #8896 done by [Mergify](https://mergify.com).

… package (#8896)

(cherry picked from commit 21e89cb)

# Conflicts:
#	go.sum
@mergify mergify bot added backport conflicts There is a conflict in the backported pull request labels Jul 9, 2025
@mergify mergify bot requested a review from a team as a code owner July 9, 2025 14:38
@mergify mergify bot requested review from michel-laterman and pkoutsovasilis and removed request for a team July 9, 2025 14:38
@mergify
Copy link
Contributor Author

mergify bot commented Jul 9, 2025

Cherry-pick of 21e89cb has failed:

On branch mergify/bp/8.18/pr-8896
Your branch is up to date with 'origin/8.18'.

You are currently cherry-picking commit 21e89cb7f.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	new file:   changelog/fragments/1752049251-Fixed-SUSE-installation-from-RPM.yaml
	deleted:    dev-tools/mage/godaemon.go
	modified:   dev-tools/packaging/packages.yml
	deleted:    dev-tools/packaging/templates/deb/elastic-agent.init.sh.tmpl
	deleted:    dev-tools/packaging/templates/deb/init.sh.tmpl
	modified:   dev-tools/packaging/templates/linux/postinstall.sh.tmpl
	deleted:    dev-tools/packaging/templates/rpm/elastic-agent.init.sh.tmpl
	deleted:    dev-tools/packaging/templates/rpm/init.sh.tmpl
	modified:   go.mod
	modified:   magefile.go
	modified:   tools/tools.go

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   go.sum

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@github-actions github-actions bot added bug Something isn't working Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team labels Jul 9, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@elastic-sonarqube
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

History

cc @michalpristas

@michalpristas michalpristas merged commit 8fb6d97 into 8.18 Jul 10, 2025
18 checks passed
@michalpristas michalpristas deleted the mergify/bp/8.18/pr-8896 branch July 10, 2025 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport bug Something isn't working conflicts There is a conflict in the backported pull request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants