Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

(PA-5632) Check for SELinux symlink #755

Merged

Conversation

mhashizume
Copy link
Contributor

Prior to this commit, when building runtimes the SELinux component created a symlink for a shared library on Red Hat 9 in order to successfully build SELinux 3.3.

This worked for the agent runtimes but because the PDK runtime builds multiple Rubies, builds would fail because it would attempt to create a symlink when one already existed.

This commit checks for a symlink for the SELinux shared library before creating one.

@mhashizume mhashizume force-pushed the PA-5632/master/pdk-fix branch 2 times, most recently from ebf2302 to 375ad5c Compare November 2, 2023 22:47
Prior to this commit, when building runtimes the SELinux component
created a symlink for a shared library on Red Hat 9 in order to
successfully build SELinux 3.3.

This worked for the agent runtimes but because the PDK runtime builds
multiple Rubies, builds would fail because it would attempt to create a
symlink when one already existed.

This commit checks for a symlink for the SELinux shared library before
creating one.
@mhashizume mhashizume force-pushed the PA-5632/master/pdk-fix branch from 375ad5c to b005af2 Compare November 2, 2023 23:10
@mhashizume
Copy link
Contributor Author

mhashizume commented Nov 2, 2023

@mhashizume mhashizume marked this pull request as ready for review November 3, 2023 01:06
@mhashizume mhashizume requested review from a team as code owners November 3, 2023 01:06
@joshcooper joshcooper merged commit 7ffa874 into puppetlabs-toy-chest:master Nov 3, 2023
2 checks passed
@mhashizume mhashizume deleted the PA-5632/master/pdk-fix branch November 3, 2023 01:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants