Skip to content

Fixes #72 - Replace sidekiq-selinux wrapper with direct sidekiq call#429

Open
jakduch wants to merge 1 commit intotheforeman:masterfrom
jakduch:fix/simplify-dynflow-sidekiq-command
Open

Fixes #72 - Replace sidekiq-selinux wrapper with direct sidekiq call#429
jakduch wants to merge 1 commit intotheforeman:masterfrom
jakduch:fix/simplify-dynflow-sidekiq-command

Conversation

@jakduch
Copy link
Copy Markdown

@jakduch jakduch commented Mar 28, 2026

The sidekiq-selinux wrapper at /usr/libexec/foreman/sidekiq-selinux is a packaging artifact that only exists for SELinux domain transition on bare-metal RPM installations. Its entire content is:

exec sidekiq "\'$@"\'

In containers where SELinux is disabled (label=disable), this wrapper serves no purpose. This replaces the wrapper call with a direct sidekiq invocation and uses an absolute path for the dynflow-sidekiq.rb script.

Based on the discussion in evgeni/talks#4 (comment)

cc @ekohl @evgeni

…ekiq call

The sidekiq-selinux wrapper script exists only for SELinux domain
transition on bare-metal RPM installations. In containers, SELinux
is disabled (label=disable) so the wrapper adds no value.

Replace the wrapper call with a direct sidekiq invocation and use
an absolute path for the dynflow-sidekiq.rb script instead of a
relative one for clarity.
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.

1 participant