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

Don't create files in /etc/iproute2 out of thin air #165

Open
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

Infinoid
Copy link
Contributor

Fixes: #164

stv0g and others added 21 commits March 25, 2024 19:36
Signed-off-by: Steffen Vogel <[email protected]>
Signed-off-by: Steffen Vogel <[email protected]>
Signed-off-by: Steffen Vogel <[email protected]>
Signed-off-by: Steffen Vogel <[email protected]>
@Infinoid Infinoid requested a review from stv0g as a code owner May 21, 2024 12:19
@Infinoid
Copy link
Contributor Author

I was not able to run your unit tests; I get a timeout after 10 minutes. Please let me know if it breaks anything else.

I tested this using one of my own tests; it worked for me.

Before patch:

  • no /etc/iproute2 directory
  • run test (success)
  • /etc/iproute2 exists
  • /etc/iproute2/group file exists and is empty

After patch:

  • no /etc/iproute2 directory
  • run test (success)
  • no /etc/iproute2 directory

Copy link

codecov bot commented May 21, 2024

Codecov Report

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

Project coverage is 50.64%. Comparing base (1f3a281) to head (7cd1773).

Files Patch % Lines
pkg/exec.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #165      +/-   ##
==========================================
+ Coverage   50.48%   50.64%   +0.15%     
==========================================
  Files          67       67              
  Lines        3207     3197      -10     
==========================================
  Hits         1619     1619              
+ Misses       1362     1352      -10     
  Partials      226      226              

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

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.

Use OverflayFS instead of bind mounts
2 participants