-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
netsetgo works fine on Ubuntu 20.04, but when I switch to Centos6 and run netsetgo, I get an "ERROR - operation not supported" message.
uname -a
Linux testvul 2.6.32-220.4.1.el6.centos.plus.x86_64 #1 SMP Fri Jan 27 04:56:11 GMT 2012 x86_64 x86_64 x86_64 x86_64 GNU/Linux (GLIBC 2.12)
I've tried tracing some code and found that maybe the problem is not with the netsetgo library, but the underlying is netlink, https://github.com/vishvananda/netlink.
Error in h.BridgeCreator.Create -> Error in netlink.LinkAdd -> Error in req.Execute
I traced it to the h.BridgeCreator.Create function and went into it knowing that it ran to netlink.LinkAdd and returned an error.
Line 23 in 211d904
| if err := netlink.LinkAdd(link); err != nil { |
So I'm guessing there may be a problem with the vishvananda/netlink library.
If you are interested you can take a look at it.
github.com/vishvananda/netlink@v1.1.0/nl/nl_linux.go:447

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels