Whonix-17 - sys-net based on fedora-38-minimal makes problems

Here’s the output of “systemcheck”:

[INFO] [systemcheck] sys-whonix | Whonix-Gateway | whonix-gateway-17 TemplateBased ProxyVM | Mon Oct 30 05:00:52 PM UTC 2023
[ERROR] [systemcheck] check network interfaces Result: network interface eth0 not up!

Recommendation:
Try to manually start Whonix networking.

sudo systemctl restart networking

Or reboot.

Debugging information:
Command
sudo --non-interactive cat /sys/class/net/eth0/carrier failed.

If this error happens only during upgrading or is transient this error can be safely ignored.

If you know what you are doing, feel free to disable this check.
Create a file /etc/systemcheck.d/50_user.conf and add:
systemcheck_skip_functions+=" check_network_interfaces "
zsh: exit 1 systemcheck


Execution of “sudo systemctl restart networking” doesn’t change anything.

I followed these 2 docs to build sys-net-minimal, but used fedora-38-minimal template and the corresponding fedora packages instead of debian-minimal and debian packages.

https://github.com/QubesOS/qubes-doc/blob/master/user/templates/minimal-templates.md
How to set the template of sys-net to debian-minimal? - #14 by tanky0u

As said: All tasks the default sys-net shall do, my sys-net-minimal does, too.

But it seems there’s got some special configuration not mentioned, what is needed for sys-whonix to function.

The difference I found is in this file in sys-whonix: “/sys/class/net/eth0/carrier”

If connected over sys-net (qubes default) the output of
“sudo cat /sys/class/net/eth0/carrier” is “1”

If connected over sys-net-minimal the output of
“sudo cat /sys/class/net/eth0/carrier” is “Invalid argument”

In both versions the file exists and has got a length of 1 byte and the “Ethernet Network Connection” is shown as “Disconnected” in Network Manager.