-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
3
-
False
-
-
False
-
Testable
-
?
-
?
-
?
-
-
-
25Q4 - Oct 8
[3484006414] Upstream Reporter: Chaots
Upstream issue status: Closed
Upstream description:
Explain what happens
I am running a fedora 42 server with multiple network interfaces that have worked fine.
After a dnf update, the latest version of cockpit-networkmanager ( 347-1.fc42 ) has been installed, since that the "Networking" tab gives an oops and never loads, rendering it complete useless. after a downgrade of the package, it works again. ( downgrade goes to 336.2-1.fc42 )
the server has a fairly odd network setup as for development i am tunneling a remote public ip in via a L2 VPN. for this to work some additional "route magic" has to be done. The machines where this route magic is applied both fail loading on the later version. the console (CTRL+SHIFT+i) reveals that there is something missing a metric, however i could not figure out more then that as the minified version of the code is nearly impossible to read.
if I get it correct it comes down to:
w - networkmanager.js -> line 9, char 203316 that i believe says: ...",metric:xB(k.metric.v)}}function x("... where there is an arrow indicator on the k. the error seems to be: TypeError: can't access property "v", k.metric is undefined.
The same version works just fine on machines where there are multiple interfaces though all of them are local lan and only a single default gateway exists. The only possible indication of a problem i could find after downgrading the package, is that the metric reads as 0.
I hope this is enough to get the error corrected in an updated version.
Version of Cockpit
cockpit-networkmanager: 347
Where is the problem in Cockpit?
Networking
Server operating system
Fedora
Server operating system version
42
What browsers are you using?
Firefox
System log
Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
Upstream URL: https://github.com/cockpit-project/cockpit/issues/22478
- links to