summary refs log tree commit diff
path: root/pkgs/os-specific/linux/systemd/default.nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-09-16 16:51:19 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-09-16 16:51:19 +0200
commitb20a0e49c8c0d5c84b917bfbbe3f2ead31886a67 (patch)
treed0dfa0624afb1c1f567001547fe4e558c08a0f8b /pkgs/os-specific/linux/systemd/default.nix
parentb9ed9c7fed0d1aeae42ac382d6fefff65563e81d (diff)
downloadnixpkgs-b20a0e49c8c0d5c84b917bfbbe3f2ead31886a67.tar
nixpkgs-b20a0e49c8c0d5c84b917bfbbe3f2ead31886a67.tar.gz
nixpkgs-b20a0e49c8c0d5c84b917bfbbe3f2ead31886a67.tar.bz2
nixpkgs-b20a0e49c8c0d5c84b917bfbbe3f2ead31886a67.tar.lz
nixpkgs-b20a0e49c8c0d5c84b917bfbbe3f2ead31886a67.tar.xz
nixpkgs-b20a0e49c8c0d5c84b917bfbbe3f2ead31886a67.tar.zst
nixpkgs-b20a0e49c8c0d5c84b917bfbbe3f2ead31886a67.zip
Revert systemd interface version to 2
The new systemd in 19.09 gives an "Access Denied" error when doing
"systemctl daemon-reexec" on an 19.03 system. The fix is to use the
previous systemctl to signal the daemon to re-exec itself. This
ensures that users don't have to reboot when upgrading from NixOS
19.03 to 19.09.
Diffstat (limited to 'pkgs/os-specific/linux/systemd/default.nix')
-rw-r--r--pkgs/os-specific/linux/systemd/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix
index 90b33e183ce..083166848f2 100644
--- a/pkgs/os-specific/linux/systemd/default.nix
+++ b/pkgs/os-specific/linux/systemd/default.nix
@@ -223,7 +223,7 @@ in stdenv.mkDerivation {
   # in a backwards-incompatible way.  If the interface version of two
   # systemd builds is the same, then we can switch between them at
   # runtime; otherwise we can't and we need to reboot.
-  passthru.interfaceVersion = 3;
+  passthru.interfaceVersion = 2;
 
   meta = with stdenv.lib; {
     homepage = http://www.freedesktop.org/wiki/Software/systemd;