Package: ifupdown2 Version: 3.0.0-1.1 Severity: normal Tags: upstream Dear Maintainer,
When using the latest ifupdown2 in Debian I get this error on an Nvidia SN2010 switch: ifreload -a error: swp4: cmd '/sbin/ethtool --set-fec swp4 encoding auto' failed: returned 83 (netlink error: Operation not supported) It seems this attempts to set Forward Error Correction to Auto. ifupdown2 version 3.0.0-1.1 ethtool version 6.1 The Spectrum (mlxsw) driver does not support --set-fec encoding auto I can make the error go away by commenting this line: /usr/share/ifupdown2/addons/ethtool.py if feccmd: try: feccmd = ('%s --set-fec %s %s' % (utils.ethtool_cmd, ifaceobj.name, feccmd)) #utils.exec_command(feccmd) I asked the mlxsw developers and they responded with: "The problem needs to be solved in ifupdown2, which should not assume that every net device implements these optional operations." -- System Information: Debian Release: 12.0 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-9-amd64 (SMP w/12 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_ZA:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages ifupdown2 depends on: ii iproute2 6.1.0-3 ii python3 3.11.2-1+b1 ifupdown2 recommends no packages. Versions of packages ifupdown2 suggests: pn bridge-utils <none> ii ethtool 1:6.1-1 ii isc-dhcp-client 4.4.3-P1-2 pn python3-gvgen <none> pn python3-mako <none> -- no debconf information