Skip to content

Commit

Permalink
Merge pull request #25311 from peterhoeg/f/udev-settle
Browse files Browse the repository at this point in the history
display-manager: systemd-udev-settle serves no purpose, boot 10% faster
  • Loading branch information
peterhoeg authored Mar 28, 2020
2 parents 06313ad + 7f838b4 commit 1859f12
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions nixos/modules/services/scheduling/atd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ in

systemd.services.atd = {
description = "Job Execution Daemon (atd)";
after = [ "systemd-udev-settle.service" ];
wants = [ "systemd-udev-settle.service" ];
wantedBy = [ "multi-user.target" ];

path = [ at ];
Expand Down
3 changes: 1 addition & 2 deletions nixos/modules/services/x11/xserver.nix
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,7 @@ in
systemd.services.display-manager =
{ description = "X11 Server";

after = [ "systemd-udev-settle.service" "acpid.service" "systemd-logind.service" ];
wants = [ "systemd-udev-settle.service" ];
after = [ "acpid.service" "systemd-logind.service" ];

restartIfChanged = false;

Expand Down
1 change: 1 addition & 0 deletions nixos/modules/tasks/filesystems/zfs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ in
createImportService = pool:
nameValuePair "zfs-import-${pool}" {
description = "Import ZFS pool \"${pool}\"";
# we need systemd-udev-settle until https://github.com/zfsonlinux/zfs/pull/4943 is merged
requires = [ "systemd-udev-settle.service" ];
after = [ "systemd-udev-settle.service" "systemd-modules-load.service" ];
wantedBy = (getPoolMounts pool) ++ [ "local-fs.target" ];
Expand Down

0 comments on commit 1859f12

Please sign in to comment.