Please note that WSL properly returns EPROTONOSUPPORT to socket() call and ebtables binary translates this to a possible permission issue thus WSL does not have to be fixed because it is not broken.
The ebtables.init and prerm fix together let installation proceed without error and thus is an effective way of dealing with the failure while it does not fix the root cause of misinterpreting the error code.
This is just for the record, I'm happy that ebtables upgrade does not fail now on WSL and thanks for fixing it!
Please note that WSL properly returns EPROTONOSUPPORT to socket() call and ebtables binary translates this to a possible permission issue thus WSL does not have to be fixed because it is not broken.
https:/ /lists. ubuntu. com/archives/ ubuntu- devel-discuss/ 2018-May/ 018072. html
The ebtables.init and prerm fix together let installation proceed without error and thus is an effective way of dealing with the failure while it does not fix the root cause of misinterpreting the error code.
This is just for the record, I'm happy that ebtables upgrade does not fail now on WSL and thanks for fixing it!