Project

General

Profile

Actions

Bug #25857

open

CIS Debian11 section 1.7 : Resource scripts called are not executable

Added by Michel BOUISSOU 29 days ago. Updated 28 days ago.

Status:
Pending release
Priority:
N/A
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

Resource scripts called from the resources dir in section1_7.k for 1.7.2, 1.7.3, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9, 1.7.10 are called with i.e :

command = r"/usr/bin/env ${resources_dir}/1_7_9_gdm_autorun_not_overridden.sh"

But all those scripts don't have the executable bit set, so they cannot execute and always return failure.

They should be called with i.e. “env /bin/bash myscript.sh” instead.

Actions #1

Updated by Michel BOUISSOU 29 days ago

  • Assignee set to Michel BOUISSOU
Actions #2

Updated by Michel BOUISSOU 28 days ago

  • Status changed from New to In progress
Actions #3

Updated by Michel BOUISSOU 28 days ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Michel BOUISSOU to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-plugins-private/pull/837
Actions #4

Updated by Michel BOUISSOU 28 days ago

  • Status changed from Pending technical review to Pending release

Applied in changeset rudder-plugins-private:commit:rudder-plugins-private|314678d8dd0bb4655f4990bc4558a066e23edd1f.

Actions

Also available in: Atom PDF