mirror of
https://github.com/fosrl/newt.git
synced 2026-05-06 07:59:04 -05:00
[GH-ISSUE #210] Newt Crash - SIGSEGV On WG Interface Creation #2049
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tullisar on GitHub (Dec 17, 2025).
Original GitHub issue: https://github.com/fosrl/newt/issues/210
Describe the Bug
I'm having a similar issue to #201, though this doesn't appear to be related to the IP address. I was using newt with the native client mode and after upgrading to 1.7.0 my Newt instances crash when trying to create the network interface. A fresh redeploy doesn't seem to help either.
Here's a snippet of the log:
For reference, he's a snippet of the deployed compose configuration for the service:
I added the /dev/net/tun devices specification to see if that would help but no luck.
Environment
To Reproduce
Run Newt in native client mode with the parameters shown in the compose snippet.
Expected Behavior
Newt creates the WG interface successfully and doesn't crash.
@tullisar commented on GitHub (Dec 17, 2025):
Deleting the
newtinterface on the host withsudo ip link del newt, then redeploying the container fixed the issue. Seems like a migration issue with regards to theKEEP_INTERFACEparameter? I'm going to leave my containers running for a day or so then I'll close the issue if nothing breaks.@oschwartz10612 commented on GitHub (Dec 18, 2025):
Yeah
KEEP_INTERFACEwas deprecated as it does not use netlink anymore to create interfaces. I can see if you were migrating the need to delete the old interface.In
3305f71I tried to prevent the segfault.