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

Removing SIGINT stop signals from Dockerfiles and systemd service #620

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

mheese
Copy link
Contributor

@mheese mheese commented Jul 12, 2023

This PR does the following things and is a follow-up on #613 and #601 :

  • removes the KillSignal=SIGINT from the systemd service file as it can now safely rely on the SIGTERM default
  • removes the STOPSIGNAL SIGINT from the Dockerfiles as it can also here now safely rely on the default SIGTERM being sent by container runtimes
  • adds SIGTERM handling to the IMA emulator

… well as adding SIGTERM to IMA emulator as shutdown signal

Signed-off-by: Marcus Heese <[email protected]>
@codecov
Copy link

codecov bot commented Jul 12, 2023

Codecov Report

Merging #620 (cb020d0) into master (67ce0cf) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
Flag Coverage Δ
e2e-testsuite 59.47% <100.00%> (+<0.01%) ⬆️
upstream-unit-tests 59.79% <0.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
keylime-ima-emulator/src/main.rs 66.00% <100.00%> (+0.22%) ⬆️

@ansasaki ansasaki merged commit 17a46b6 into keylime:master Jul 13, 2023
@mheese mheese deleted the change-to-sigterm branch July 13, 2023 20:36
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.

4 participants