Skip to content

Conversation

evgeniy-scherbina
Copy link
Contributor

No description provided.

@evgeniy-scherbina evgeniy-scherbina force-pushed the yevhenii/cap_net_admin_perms_v2 branch from 5966baf to 7f58ae1 Compare October 8, 2025 18:01
@evgeniy-scherbina evgeniy-scherbina force-pushed the yevhenii/cap_net_admin_perms_v2 branch from d2c8e11 to e92bf2d Compare October 8, 2025 18:24
@evgeniy-scherbina evgeniy-scherbina marked this pull request as ready for review October 8, 2025 20:52

// Run curl directly in the namespace using ip netns exec
curlCmd := exec.Command("sudo", "ip", "netns", "exec", namespaceName,
curlCmd := exec.Command("sudo", "sudo", "nsenter", "-t", pid, "-n", "--",
Copy link
Collaborator

Choose a reason for hiding this comment

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

double sudo?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, it's a bug, I'll fix in a follow-up PR

@evgeniy-scherbina evgeniy-scherbina merged commit 2ebcf45 into main Oct 9, 2025
3 checks passed
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