Skip to content

[backport] Ship oscap-run-sce-script with the SCE engine - #2462

Merged
matusmarhefka merged 1 commit into
OpenSCAP:maint-1.3from
jan-cerny:backport_2451
Oct 22, 2026
Merged

matusmarhefka merged 1 commit into
OpenSCAP:maint-1.3from
jan-cerny:backport_2451

Conversation

@jan-cerny

Copy link
Copy Markdown
Member

Backport of #2451 to maint-1.3 branch.

The SCE engine (src/SCE/sce_engine.c, packaged in engine-sce) falls back to oscap-run-sce-script when an SCE script cannot be executed, for example when /tmp is mounted noexec. The helper was packaged in utils through the %{_bindir}/* glob, and engine-sce does not require utils, so SCE checks ended in error on systems without utils. Move the helper to the engine-sce subpackage, next to its only caller.

The SCE engine (src/SCE/sce_engine.c, packaged in engine-sce) falls back to oscap-run-sce-script when an SCE script cannot be executed, for example when /tmp is mounted noexec. The helper was packaged in utils through the %{_bindir}/* glob, and engine-sce does not require utils, so SCE checks ended in error on systems without utils. Move the helper to the engine-sce subpackage, next to its only caller.

Fixes OpenSCAP#2414
@jan-cerny jan-cerny added this to the 1.3.16 milestone Oct 22, 2026
@sonarqubecloud

Copy link
Copy Markdown

@matusmarhefka
matusmarhefka merged commit 8042af4 into OpenSCAP:maint-1.3 Oct 22, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants