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: prevent subprocesses to sent notification to systemd #817

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

didrocks
Copy link
Collaborator

@didrocks didrocks commented Jun 26, 2024

Unset NOTIFY_SOCKET just after forwarding readyness to systemd. This way, subprocesses will not attempt to notify systemd that they are ready.

Unfortunately, this could only be tested in some e2e tests, grepping for subprocess warnings and we are not at that level of details yet in the e2e test infra.

UDENG-3363

Unset NOTIFY_SOCKET just after forwarding readyness to systemd. This
way, subprocesses will not attempt to notify systemd that they are
ready.
@didrocks didrocks changed the title Prevent subprocesses to sent notification to systemd fix: prevent subprocesses to sent notification to systemd Jun 26, 2024
Copy link

codecov bot commented Jun 26, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 88.28%. Comparing base (156fa62) to head (d5ab56f).
Report is 3 commits behind head on main.

Files Patch % Lines
wsl-pro-service/internal/daemon/daemon.go 0.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #817      +/-   ##
==========================================
- Coverage   88.31%   88.28%   -0.03%     
==========================================
  Files         104      104              
  Lines        6700     6702       +2     
==========================================
  Hits         5917     5917              
- Misses        611      613       +2     
  Partials      172      172              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@didrocks didrocks marked this pull request as ready for review June 26, 2024 12:40
@didrocks didrocks requested a review from a team as a code owner June 26, 2024 12:40
Copy link
Contributor

@CarlosNihelton CarlosNihelton left a comment

Choose a reason for hiding this comment

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

LGTM

@didrocks didrocks merged commit 8a12bde into main Jun 26, 2024
35 of 38 checks passed
@didrocks didrocks deleted the fix_systemd_notification_warning branch June 26, 2024 13:00
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