In version 1.12 of Go a Sysconn was introduced to os.File for ioctl calls, that is used for setting up device. Currently p2p doesn't support polling and during the process of instance creation we're getting error:
/dev/net/tun: not pollable
which happens during first attempt to read data from TAP interface. Afterwards, instance destroys itself, but start command exits with exit code 0, because interface creation went without any problems.
We need to modify current code of tap interfaces on Linux to support latest versions of Go.
In version 1.12 of Go a
Sysconnwas introduced toos.Filefor ioctl calls, that is used for setting up device. Currently p2p doesn't support polling and during the process of instance creation we're getting error:/dev/net/tun: not pollablewhich happens during first attempt to read data from TAP interface. Afterwards, instance destroys itself, but
startcommand exits with exit code 0, because interface creation went without any problems.We need to modify current code of tap interfaces on Linux to support latest versions of Go.