Skip to content

Revert systemd interface version to 2#68906

Merged
edolstra merged 1 commit intoNixOS:masterfrom
edolstra:revert-interface-version
Sep 19, 2019
Merged

Revert systemd interface version to 2#68906
edolstra merged 1 commit intoNixOS:masterfrom
edolstra:revert-interface-version

Conversation

@edolstra
Copy link
Member

@edolstra edolstra commented Sep 16, 2019

Motivation for this change

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.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @

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.
@edolstra edolstra added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 1.severity: blocker This is preventing another PR or issue from being completed labels Sep 16, 2019
@edolstra edolstra added this to the 19.09 milestone Sep 16, 2019
@ofborg ofborg bot added 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Sep 16, 2019
@edolstra edolstra mentioned this pull request Sep 19, 2019
10 tasks
@edolstra edolstra merged commit 387a2f2 into NixOS:master Sep 19, 2019
@edolstra edolstra deleted the revert-interface-version branch October 9, 2019 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.severity: blocker This is preventing another PR or issue from being completed 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants