diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-09-16 16:51:19 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-09-16 16:51:19 +0200 |
commit | b20a0e49c8c0d5c84b917bfbbe3f2ead31886a67 (patch) | |
tree | d0dfa0624afb1c1f567001547fe4e558c08a0f8b /pkgs | |
parent | b9ed9c7fed0d1aeae42ac382d6fefff65563e81d (diff) | |
download | nixlib-b20a0e49c8c0d5c84b917bfbbe3f2ead31886a67.tar nixlib-b20a0e49c8c0d5c84b917bfbbe3f2ead31886a67.tar.gz nixlib-b20a0e49c8c0d5c84b917bfbbe3f2ead31886a67.tar.bz2 nixlib-b20a0e49c8c0d5c84b917bfbbe3f2ead31886a67.tar.lz nixlib-b20a0e49c8c0d5c84b917bfbbe3f2ead31886a67.tar.xz nixlib-b20a0e49c8c0d5c84b917bfbbe3f2ead31886a67.tar.zst nixlib-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')
-rw-r--r-- | pkgs/os-specific/linux/systemd/default.nix | 2 |
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 90b33e183cef..083166848f2c 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; |