-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos-rebuild switch produces warnings about systemd-udev-settle service #21954
Comments
I can confirm this issue. It also delays restarting of other units (probably dependent services) after upgrade. I do:
as a workaround when this happens, so that the other services can restart faster. |
Can confirm this is still happens on 17.09 (just happened right now, and has been happening on every single |
My workaround is to use:
|
@Mic92 how do you specify that? I get:
|
there was a typo: - systemd.service.systemd-udev-settle.serviceConfig.ExecStart = "${pkgs.coreutils}/bin/true";
+ systemd.services.systemd-udev-settle.serviceConfig.ExecStart = ["" "${pkgs.coreutils}/bin/true"]; |
The solution posted above #21954 (comment) no longer seems to work after upgrading to 18.09 - has anyone else solved this in a different way? |
Ran into this issue when I didn't have the EFI boot partition mounted while rebuilding. I think I was starting up an old nixos configuration. Seems to work fine now. |
@chrissound I forgot to make it a list. The empty string makes systemd first resets the option so it can be overriden afterwards. |
The idea is that we only need this target during boot, however there is no point on restarting it on every upgrade. This hopefully fixes NixOS#21954
A potential fix is also here: I want to test this option a bit for myself first. |
The idea is that we only need this target during boot, however there is no point on restarting it on every upgrade. This hopefully fixes NixOS#21954 (cherry picked from commit 0a2c8cc)
Issue description
When running
nixos-rebuild switch
, sometimessystemd-udev-settle
fails to start with an error message:Steps to reproduce
Run
nixos-rebuild switch
Technical details
17.03.git.f673243aff (Gorilla)
nix-env (Nix) 1.11.5
17.03.git.f673243aff
The text was updated successfully, but these errors were encountered: