Skip to content

Fix/rpm deb packaging#7445

Open
Orlando-Richards wants to merge 2 commits intocortexproject:masterfrom
Orlando-Richards:fix/rpm-deb-packaging
Open

Fix/rpm deb packaging#7445
Orlando-Richards wants to merge 2 commits intocortexproject:masterfrom
Orlando-Richards:fix/rpm-deb-packaging

Conversation

@Orlando-Richards
Copy link
Copy Markdown

@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

1 participant