After migrating from NethServer 7, if the name of the PPPoE interface is too long, it cannot be started in NethSecurity 8.
Steps to reproduce
On NethServer 7, configure a PPPoE and name it "MYVERYLONGNAME"
Migrate from NS 7 to NethSecurity 8.
Ensure the PPPoE interface name exceeds the maximum allowed characters (15).
Attempt to start the PPPoE interface in NethSecurity 8.
Expected behavior
The PPPoE interface should start successfully, regardless of the length of its name, without triggering any error messages.
Actual behavior
The PPPoE interface fails to start due to the name exceeding the maximum allowed characters (15), resulting in an error message.
The original interface name: "MYVERYLONGNAME" becomes pppoe-MYVERYLONGNAME.
Extract from log:
May 7 08:14:53 fw netifd: Cannot set device name: 'pppoe-MYVERYLONGNAME' is longer than max size 15
...
May 7 12:03:57 fw kernel: [15027.034675] pppoe-MYVER: renamed from ppp0
Luci also shows an error on the interface page, maximum allowed characters: 15.
Description
After migrating from NethServer 7, if the name of the PPPoE interface is too long, it cannot be started in NethSecurity 8.
Steps to reproduce
Expected behavior
The PPPoE interface should start successfully, regardless of the length of its name, without triggering any error messages.
Actual behavior
The PPPoE interface fails to start due to the name exceeding the maximum allowed characters (15), resulting in an error message.
The original interface name:
"MYVERYLONGNAME"
becomespppoe-MYVERYLONGNAME
. Extract from log:Luci also shows an error on the interface page, maximum allowed characters: 15.
Components
NethSecurity version: 8-23.05.3-ns.0.0.3-rc1-80-g615c01e