Skip to content

selinux-policy: Clean up testing rules and add systemd fix.#9911

Merged
pebenito merged 1 commit into3.0-devfrom
chpebeni/selinux-3.0
Jul 24, 2024
Merged

selinux-policy: Clean up testing rules and add systemd fix.#9911
pebenito merged 1 commit into3.0-devfrom
chpebeni/selinux-3.0

Conversation

@pebenito
Copy link
Contributor

@pebenito pebenito commented Jul 23, 2024

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • If you are adding/removing a .spec file that has multiple-versions supported, please add @microsoft/cbl-mariner-multi-package-reviewers team as reviewer (Eg. golang has 2 versions 1.18, 1.21+)
  • Ready to merge

Summary

What does the PR accomplish, why was it needed?

Change Log
  • Drop rules that are specific to AzureLinux testing systems.
  • Add fix for systemd-machine-id-setup CAP_DAC_OVERRIDE use.
  • Run systemd-sysctl from RPM scripts.
Does this affect the toolchain?

NO

Test Methodology
  • Pipeline build id: 609751

- Drop rules that are specific to AzureLinux testing systems.
- Add fix for systemd-machine-id-setup CAP_DAC_OVERRIDE use.
- Run systemd-sysctl from RPM scripts.

Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
@pebenito pebenito requested a review from a team as a code owner July 23, 2024 12:17
@pebenito pebenito merged commit fbb71da into 3.0-dev Jul 24, 2024
@pebenito pebenito deleted the chpebeni/selinux-3.0 branch July 24, 2024 18:48
jslobodzian pushed a commit that referenced this pull request Jul 27, 2024
Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
@pebenito pebenito restored the chpebeni/selinux-3.0 branch July 30, 2024 15:14
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.

2 participants