dd8de797e3
Previously, network uplink (eth0) was configured in two places: - udev (asynchronously) - qubes-misc-post.service - at the very end of the boot process This caused multiple issues: 1. Depending on udev event processing (non-deterministic), network uplink could be enabled too early, for example before setting up firewall. 2. Again depending on udev processing, it can be enabled quite late in the boot process, after network.target is up and services assume network already configured. This for example causes qubes-firewall to fail DNS queries. 3. If udev happen try to enable enable networking even earlier, it may happend before qubesdb-daemon is started, in which case network setup fill fail. For this case, there was network re-setup in qubes-misc-post service - much later in the boot. Fix the above by placing network uplink setup in a dedicated qubes-network-uplink@${INTERFACE}.service unit ordered after network-pre.target and pulled in by udev based on vif device existence, to handle also dynamic network attach/detach. Then, create qubes-network-uplink.service unit waiting for appropriate interface-specific unit (if one is expected!) and order it before network.target. QubesOS/qubes-issues#5576 |
||
---|---|---|
.. | ||
patches | ||
source | ||
changelog | ||
compat | ||
control | ||
copyright | ||
qubes-core-agent-dom0-updates.install | ||
qubes-core-agent-nautilus.install | ||
qubes-core-agent-network-manager.install | ||
qubes-core-agent-network-manager.postinst | ||
qubes-core-agent-networking.install | ||
qubes-core-agent-passwordless-root.displace-extension | ||
qubes-core-agent-passwordless-root.install | ||
qubes-core-agent-passwordless-root.postinst | ||
qubes-core-agent-passwordless-root.postrm | ||
qubes-core-agent-passwordless-root.preinst | ||
qubes-core-agent-passwordless-root.prerm | ||
qubes-core-agent-passwordless-root.undisplace | ||
qubes-core-agent-thunar.install | ||
qubes-core-agent-thunar.postinst | ||
qubes-core-agent-thunar.postrm | ||
qubes-core-agent.dirs | ||
qubes-core-agent.gsettings-override | ||
qubes-core-agent.install | ||
qubes-core-agent.links | ||
qubes-core-agent.maintscript | ||
qubes-core-agent.postinst | ||
qubes-core-agent.postrm | ||
qubes-core-agent.preinst | ||
qubes-core-agent.prerm | ||
qubes-core-agent.triggers | ||
qubes-core-agent.undisplace | ||
rules |