core-agent-linux/debian
Marek Marczykowski-Górecki dd8de797e3
Move network uplink setup to a separate service
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
2020-12-04 03:24:02 +01:00
..
patches debian: Remove unneeded patch file and README 2015-02-12 11:34:13 -05:00
source debian: Add extend-diff-ignore options to debian packager 2015-02-19 19:56:23 -05:00
changelog version 4.1.18 2020-10-31 05:39:07 +01:00
compat Initial debian packaging 2014-07-23 05:13:32 +02:00
control debian: drop python2 in build deps 2020-09-16 16:40:07 +02:00
copyright Initial debian packaging 2014-07-23 05:13:32 +02:00
qubes-core-agent-dom0-updates.install Split dom0-updates handling into subpackage 2017-06-07 10:15:26 +02:00
qubes-core-agent-nautilus.install Added "QubesIncoming" shortcut to Nautilus 2020-01-13 16:45:41 +01:00
qubes-core-agent-network-manager.install Split network-related files to -networking and -network-manager packages 2017-06-08 22:11:34 +02:00
qubes-core-agent-network-manager.postinst Split network-related files to -networking and -network-manager packages 2017-06-08 22:11:34 +02:00
qubes-core-agent-networking.install Move network uplink setup to a separate service 2020-12-04 03:24:02 +01:00
qubes-core-agent-passwordless-root.displace-extension deb,rpm: split passwordless root access configs into separate package 2017-06-08 22:11:36 +02:00
qubes-core-agent-passwordless-root.install Use pam-configs to override Debian PAM config 2020-05-07 15:31:47 +02:00
qubes-core-agent-passwordless-root.postinst Use pam-configs to override Debian PAM config 2020-05-07 15:31:47 +02:00
qubes-core-agent-passwordless-root.postrm Do not reference sudo group when removing package 2020-02-03 03:46:35 +00:00
qubes-core-agent-passwordless-root.preinst Lock root password in passwordless-root package 2020-05-06 18:03:19 +02:00
qubes-core-agent-passwordless-root.prerm Use pam-configs to override Debian PAM config 2020-05-07 15:31:47 +02:00
qubes-core-agent-passwordless-root.undisplace Use pam-configs to override Debian PAM config 2020-05-07 15:31:47 +02:00
qubes-core-agent-thunar.install Add debian package support 2017-11-22 13:06:51 +01:00
qubes-core-agent-thunar.postinst Fix ShellCheck comments 2017-11-22 15:45:51 +01:00
qubes-core-agent-thunar.postrm Fix ShellCheck comments 2017-11-22 15:45:51 +01:00
qubes-core-agent.dirs debian: fix qubes-firewall python packaging, make it more verbose 2017-05-21 01:47:59 +02:00
qubes-core-agent.gsettings-override debian: Switch to using org.mate.NotificationDaemon by default to eliminate popups not closing 2015-08-07 09:20:18 -04:00
qubes-core-agent.install Add a service to enable swap early - before fsck of the root filesystem 2020-11-03 05:18:57 +01:00
qubes-core-agent.links add /usr/lib/qubes/bind-dirs.sh compatibility symlink 2016-07-23 21:44:00 +00:00
qubes-core-agent.maintscript clean up /etc/tinyproxy/filter-updates 2015-11-15 12:31:32 +00:00
qubes-core-agent.postinst Fix typo 2019-09-07 23:11:42 +02:00
qubes-core-agent.postrm Remove qrexec-agent related files 2019-04-08 18:22:38 +02:00
qubes-core-agent.preinst use long options rather than short options 2019-07-14 08:07:21 +00:00
qubes-core-agent.prerm removed trailing spaces 2015-10-15 04:34:55 +02:00
qubes-core-agent.triggers Remove dynamically generated autostart desktop files 2015-08-27 22:08:04 +02:00
qubes-core-agent.undisplace debian: cleanup after splitting qubes-core-agent 2017-10-19 16:18:23 +02:00
rules debian: fix version detection for python3?-nautilus dependency 2020-08-06 05:30:37 +02:00