Allow systemd-journal-upload through SELinux #577

Merged
benvin merged 1 commits from benvin/journal-upload-selinux into develop 2026-11-15 19:03:15 +11:00
Member

systemd-journal-upload never ships logs on SELinux-enforcing hosts: policy denies systemd_journal_upload_t name_connect to http_port_t (443), so uploads to VictoriaLogs fail.

  • add local journal_upload_local SELinux module to victorialogs::client::journald on enforcing hosts
  • order the module before Service[systemd-journal-upload]
systemd-journal-upload never ships logs on SELinux-enforcing hosts: policy denies `systemd_journal_upload_t` `name_connect` to `http_port_t` (443), so uploads to VictoriaLogs fail. - add local `journal_upload_local` SELinux module to `victorialogs::client::journald` on enforcing hosts - order the module before `Service[systemd-journal-upload]`
unkin-agent added 1 commit 2026-11-15 18:59:26 +11:00
Allow systemd-journal-upload to connect to http_port_t under SELinux
ci/woodpecker/pr/ruby-validate Pipeline was successful
ci/woodpecker/pr/puppet-lint Pipeline was successful
ci/woodpecker/pr/erb-validate Pipeline was successful
ci/woodpecker/pr/yamllint Pipeline was successful
ci/woodpecker/pr/bolt-validate Pipeline was successful
ci/woodpecker/pr/epp-validate Pipeline was successful
ci/woodpecker/pr/ruby-check Pipeline was successful
ci/woodpecker/pr/puppet-validate Pipeline was successful
2923f0f329
Author
Member

No findings.

No findings.
benvin merged commit 42c4e41508 into develop 2026-11-15 19:03:15 +11:00
benvin deleted branch benvin/journal-upload-selinux 2026-11-15 19:03:16 +11:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/puppet-prod#577