Skip to content

Fix/rpm deb packaging#7445

Merged
friedrichg merged 4 commits intocortexproject:masterfrom
Orlando-Richards:fix/rpm-deb-packaging
Apr 25, 2026
Merged

Fix/rpm deb packaging#7445
friedrichg merged 4 commits intocortexproject:masterfrom
Orlando-Richards:fix/rpm-deb-packaging

Conversation

@Orlando-Richards
Copy link
Copy Markdown
Contributor

@Orlando-Richards Orlando-Richards commented Apr 22, 2026

What this PR does:

The RPM and deb packages have several packaging issues:

  • Binary installed to /usr/local/bin instead of /usr/bin
  • Systemd unit installed to /etc/systemd/system instead of /usr/lib/systemd/system (RPM) or /lib/systemd/system (deb)
  • /etc/sysconfig/cortex (RPM) and /etc/default/cortex (deb) not marked as config files, so they are silently overwritten on upgrade

Also fixes packaging/fpm/Dockerfile which fails to build on Alpine 3.23 because ruby-etc is no longer a separate package.

Which issue(s) this PR fixes:
No issue logged

Checklist

  • Tests updated - N/A - no tests present for this
  • Documentation added - N/A - no documentation for the RPM/DEB paths
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]
  • docs/configuration/v1-guarantees.md - N/A

Signed-off-by: Orlando Richards <23049867+Orlando-Richards@users.noreply.github.com>
…iles

Signed-off-by: Orlando Richards <23049867+Orlando-Richards@users.noreply.github.com>
@dosubot dosubot Bot added the type/chore Something that needs to be done; not a bug or a feature label Apr 22, 2026
@friedrichg
Copy link
Copy Markdown
Member

Thanks . This actually is good but should be merged after #7351

Comment thread CHANGELOG.md Outdated
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
Comment thread CHANGELOG.md Outdated
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Apr 25, 2026
@friedrichg friedrichg merged commit 8edbeb8 into cortexproject:master Apr 25, 2026
91 of 95 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size/S type/chore Something that needs to be done; not a bug or a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants