3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos
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
..
doc Merge pull request #82026 from andir/systemd-update-networkd-options 2020-05-01 13:49:24 +02:00
lib nixosTests: drop nr_tests and failed_tests variables 2020-05-01 01:22:42 +02:00
maintainers nixos/azure-new: use local nixpkgs 2020-04-27 02:11:10 -07:00
modules Revert "nixos/systemd.nix: don’t require online for multi-user.target" 2020-05-01 17:12:05 +02:00
tests Merge pull request #83436 from mmilata/mediawiki-default-extensions 2020-04-30 21:03:15 -04:00
COPYING
default.nix
README
release-combined.nix Merge pull request #85711 from worldofpeace/gnome-iso 2020-04-28 21:03:03 +02:00
release-small.nix nixos/release-small: drop latestKernel.login 2020-04-19 22:20:07 +03:00
release.nix nixos/release.nix: closures.lapp: use enablePHP, fixes metrics job #86439 2020-05-01 10:07:04 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.