Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix asterisk link when src dir doesn't exist. #3434

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

shane-lawrence
Copy link
Contributor

@shane-lawrence shane-lawrence commented Dec 18, 2024

What type of PR is this?

/kind bug

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area engine

/area tests

/area proposals

/area CI

What this PR does / why we need it:
Check if path exists before creating link in driver-loader.

Which issue(s) this PR fixes:
Fixes #3433.

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

fix(docker): /usr/src/'*' no longer created if $HOST_PATH/usr/src didn't exist at startup

@@ -50,7 +50,8 @@ echo "* Setting up /usr/src links from host"

for i in "$HOST_ROOT/usr/src"/*
do
base=$(basename "$i")
[[ -e $i ]] || continue
base=$(basename "$i")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: formatting

@LucaGuerra
Copy link
Contributor

/milestone 0.40.0

@poiana poiana added this to the 0.40.0 milestone Dec 19, 2024
@LucaGuerra
Copy link
Contributor

We just merged a fix for the failing CI, could you please rebase on top of master? Thank you 🙏

Co-authored-by: Leonardo Grasso <[email protected]>
Signed-off-by: Shane Lawrence <[email protected]>
@poiana
Copy link
Contributor

poiana commented Dec 19, 2024

LGTM label has been added.

Git tree hash: dd4fae6315ff3425cc3132d00b95b5c8fd561fbc

@shane-lawrence
Copy link
Contributor Author

Thanks!

@LucaGuerra
Copy link
Contributor

/approve

@poiana
Copy link
Contributor

poiana commented Dec 19, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: LucaGuerra, shane-lawrence

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit d88d668 into falcosecurity:master Dec 19, 2024
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Falco driver-loader links literal asterisk if host src dir doesn't exist
5 participants