Well, sorta, because running the migration task trashed my Wireguard configuration. Not sure it’s a good idea to assume that customers don’t customise their servers with software that isn’t in the NS repository.
That’s strange, I will try to reproduce.
Maybe you have some issue on the yum config?
Try to execute the following and check if any repo has errors:
yum clean all
yum ypdate
You’re right: I completely missed the community module.
Do you think we should improve the package to conflict with nethserver-wireguard? /cc @mrmarkuz
I’m sorry, I lost this thread (where I merged your latest one). It is still an open issue!
We can avoid this Shorewall error by fixing nethserver-ns8-migration, but a conflict on wg0 interface might still be raised.
IIUC wg0 is handled by both nethserver-wireguard from @mrmarkuz repository and nethserver-ns8-migration.
I’m afraid there is no easy way to change the interface name on existing nethserver-ns8-migration installations.
If we change interface name used by nethserver-ns8-migration, we still have wg0 conflict because the package must also remove the old file name, wg0.conf.
The only solutions I see by now are
declaring nethserver-wireguard a conflicting package for nethserver-ns8-migration, preventing the installation of the migration tool, OR
allowing the installation of both packages, but nethserver-ns8-migration unconditionally overwrites any wg0 configuration
Why. Most people do follow the convention of naming their interfaces wg[0-9], but that’s not mandatory. Call your interface ns8migration or something similar.
Don’t, leave it alone. Just make sure your name doesn’t conflict. (Change the name on base NS8).
Also, not everyone with WG is using the version from @mrmarkuz.
Lastly it looked like as part of nethserver-ns8-migration you install a copy of the WireGuard module. Is there not a way to check if the system is already running a kernel version that includes WG.
I’ll do what I can, but I’ll have to warn you that I have a very strange setup.
I only have a single NIC and I followed some instructions I found on the board as how to configure that, like a VPS, but can’t remember what was needed. Also, as well as the NS defined br0 bridge, I also have configured br0.20 in order to bridge across 2 VLANS (again, I can’t remember exactly how that was done )