1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/nixos/modules/system/boot
Florian Klink 15d761a525 Revert "nixos/systemd.nix: don’t require online for multi-user.target"
This reverts commit 764c8203b8.

While this is desireable in principle, some of our modules and services
fail during service startup if no network is available don't currently
properly set Wants=network-online.target.

If nothing pulls in this target anymore, systemd won't try to reach it.

We have many VM tests waiting for `network-online.target`, and after
764c8203b8 fail with the following error
message:

```
error: unit "network-online.target" is inactive and there are no pending jobs
```

Most likely, test scripts shouldn't wait for `network-online.target` in
first place (as `network-online.target` says nothing about whether a
service has been started), but instead, the script should wait for the
network ports of the corresponding service to be open.

Let's revert this for now, and re-apply in a draft PR, fixing the tests
before merging it back in.
2020-05-01 17:12:05 +02:00
..
loader Merge pull request #81848 from grahamc/nested-specialisation 2020-04-12 08:56:11 -04:00
binfmt.nix nixos/treewide: Move rename.nix imports to their respective modules 2019-12-10 02:51:19 +01:00
emergency-mode.nix
grow-partition.nix nixos/treewide: Move rename.nix imports to their respective modules 2019-12-10 02:51:19 +01:00
initrd-network.nix nixos/initrd-network: always run postCommands 2020-02-08 14:57:49 +01:00
initrd-ssh.nix nixos/initrd-ssh: fix typo in docs 2020-04-11 16:19:48 +01:00
kernel.nix Merge pull request #80114 from rnhmjoj/initrd 2020-03-16 20:04:24 +02:00
kernel_config.nix
kexec.nix
luksroot.nix boot.initrd.luks: adding a warning when using FIDO2 with kernel ≤ 5.4 2020-01-22 16:00:40 +01:00
modprobe.nix
networkd.nix nixos/networkd: support PrefixDelegationHint in DHCPv6 section 2020-05-01 13:33:55 +02:00
pbkdf2-sha512.c
plymouth.nix
resolved.nix nixos/resolved: add user systemd-resolve to group systemd-resolve 2019-11-25 10:46:28 +01:00
shutdown.nix
stage-1-init.sh nixos/stage-1: fix predictable interfaces names 2020-02-08 14:04:02 +01:00
stage-1.nix nixos/stage-1: check secret paths before copying 2020-04-11 16:42:47 +01:00
stage-2-init.sh
stage-2.nix
systemd-lib.nix nixos/systemd-nspawn: disallow multiple packages with .nspawn-units 2020-04-04 21:11:21 +02:00
systemd-nspawn.nix nixos/systemd-nspawn: disallow multiple packages with .nspawn-units 2020-04-04 21:11:21 +02:00
systemd-unit-options.nix
systemd.nix Revert "nixos/systemd.nix: don’t require online for multi-user.target" 2020-05-01 17:12:05 +02:00
timesyncd.nix nixos/timesyncd: add user systemd-timesync to group systemd-timesync 2019-11-25 10:46:28 +01:00
tmp.nix