-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
Comparing changes
Open a pull request
base repository: NixOS/nixpkgs
base: 7c53ac01845a
head repository: NixOS/nixpkgs
compare: 2812b5ce3923
- 16 commits
- 17 files changed
- 4 contributors
Commits on Jun 3, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 5b0db07 - Browse repository at this point
Copy the full SHA 5b0db07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a0f85d - Browse repository at this point
Copy the full SHA 2a0f85dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c7e588 - Browse repository at this point
Copy the full SHA 8c7e588View commit details -
nixos/udev: switch
networking.usePredicatableInterfaceNames
to a ke……rnel param The udev rules we are shipping no longer work with systemd v242 and were remove upstream some time ago. It seems like the entire renaming is now done in C and not in the udev rules.
1Configuration menu - View commit details
-
Copy full SHA for 1f03f6f - Browse repository at this point
Copy the full SHA 1f03f6fView commit details -
nixos/tests/radicale: be a bit more permissive when matching logs
With the systemd update to v242 five lines are not longer sufficient to verify that the storage was verified. In order to reduce future test failures increasing it to 10 lines sounds like a sane amount.
Configuration menu - View commit details
-
Copy full SHA for 4743ad7 - Browse repository at this point
Copy the full SHA 4743ad7View commit details -
nixos/networkd: use
no
instead ofnone
forDHCP=
optionsystemd has deprecated the use of `none` and recommends using `no` instead.
Configuration menu - View commit details
-
Copy full SHA for a32cd7d - Browse repository at this point
Copy the full SHA a32cd7dView commit details -
nixos/networkd: use the route section for default routes
With systemd v242 using the `Gateway` attribute of the `[Network]` section will lead to "onlink" routes on all the device that are matched by the default configuration (typically all devices) causing multiple default routes (even on localhost). We can only avoid that - while keeping our default route option - when we mark the route as explicitly not on link. Only gateways that are within a subnet of one of the assigned interface addresses will be installed into the routing table.
Configuration menu - View commit details
-
Copy full SHA for d600da7 - Browse repository at this point
Copy the full SHA d600da7View commit details -
nixos/networkd: rename GatewayOnlink to GatewayOnLink
This follows upstreams renaming of the option [1]. [1] systemd/systemd@9cb8c55
Configuration menu - View commit details
-
Copy full SHA for 1b7b1db - Browse repository at this point
Copy the full SHA 1b7b1dbView commit details -
nixosTests.containers-imperative: add tmpfiles test
(cherry picked from commit 92600a9)
Configuration menu - View commit details
-
Copy full SHA for bc71b6e - Browse repository at this point
Copy the full SHA bc71b6eView commit details -
nixos/systemd: migrate systemd-timesync state when required
Somewhen between systemd v239 and v242 upstream decided to no longer run a few system services with `DyanmicUser=1` but failed to provide a migration path for all the state those services left behind. For the case of systemd-timesync the state has to be moved from /var/lib/private/systemd/timesync to /var/lib/systemd/timesync if /var/lib/systemd/timesync is currently a symlink. We only do this if the stateVersion is still below 19.09 to avoid starting to have an ever growing activation script for (then) ancient systemd migrations that are no longer required. See systemd/systemd#12131 for details about the missing migration path and related discussion.
Configuration menu - View commit details
-
Copy full SHA for 024a383 - Browse repository at this point
Copy the full SHA 024a383View commit details -
Configuration menu - View commit details
-
Copy full SHA for d436ab0 - Browse repository at this point
Copy the full SHA d436ab0View commit details -
systemd: disable building tests
We are currently not running any tests but building them takes signitifcant amounts of time since they account to about 40% of all the compilation targets.
Configuration menu - View commit details
-
Copy full SHA for 81f390d - Browse repository at this point
Copy the full SHA 81f390dView commit details -
systemd: remove references to $out/lib/systemd/catalog
On aarch64 we "leak" a reference to $out/lib/systemd/catalog in the lib output. The result of that is a dependency cycle between $out and $lib. Thus nix (rightfully) marks the build as failed. That reference originates from an array of strings (catalog_file_dirs) in systemd (src/src/journal/catalog.{c,h}). The only consumer (as of v242) of the symbol is the main function of journalctl. Still libsystemd.so contains the VALUE but not the symbol. Systemd seems to be properly using function & data sections together with the linker flags to garbage collect unused sections (-Wl,--gc-sections). For unknown reasons those flags do not eliminate the unused string constants, in this case on aarch64-linux. The hacky way is to just remove the reference after we finished compiling. Since it can not be used (there is no symbol to actually refer to it) there should not be any harm. It is a bit odd and I really do not like starting these kind of hacks but there doesn't seem to be a straight forward way at this point in time. The reference will be replaced by the same reference the usual nukeRefs tooling uses. The standard tooling can not / should not be uesd since it is a bit too excessive and could potentially do us some (more) harm.
Configuration menu - View commit details
-
Copy full SHA for 0f93834 - Browse repository at this point
Copy the full SHA 0f93834View commit details -
nixos/misc: warn when someone is using the nixops autoLuks module
The autoLuks module is not really compatible with the updated systemd version anymore. We started dropping NixOS specific patches that caused unwanted side effects that we had to work around otherwise. This change points users towards the relevant PR and spits out a bit of information on how to deal with the situation.
Configuration menu - View commit details
-
Copy full SHA for 9077623 - Browse repository at this point
Copy the full SHA 9077623View commit details -
nixos/test: remove the stateVersion statement from the test-instrumen…
…tation We set stateVersion to `mkDefault 18.03` in `nixos/modules/testing/test-instrumentation.nix` and in `modules/installer/cd-dvd/installation-cd-base.nix`. Accessing the stateVersion in the module system from within the tests results in the following error: > The unique option `system.stateVersion' is defined multiple times, in > `nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-base.nix' and > `nixpkgs/nixos/modules/testing/test-instrumentation.nix'. There are other tests that use it as well. Namely the radicale test also verifies behaviour between state versions is as expected. It switches a package default value. Others switched on the state directory default. It seems like having the timesyncd switch as part of every rendered activationScript might cause this weird error. Removing this line seems like a reasonable thing to do since we actually set the default to the very same value in the module system. This line should have been no-op besides the issue that we've two statements setting it in this very specific case.
Configuration menu - View commit details
-
Copy full SHA for 7508490 - Browse repository at this point
Copy the full SHA 7508490View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2812b5c - Browse repository at this point
Copy the full SHA 2812b5cView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 7c53ac01845a...2812b5ce3923