-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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/systemd: Temporarily bring back multi-user -> network-online #283818
nixos/systemd: Temporarily bring back multi-user -> network-online #283818
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree
Please include the reason for the revert in the commit message. |
c128253
to
d7d1d4a
Compare
@alyssais done |
on second thought, we can just revert smaller bits of this. |
d7d1d4a
to
07e5ead
Compare
Ok, I've redone this to only revert the part that needs to be reverted. All the rest of the original PR is good even without this part. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this does the thing.
There were several modules, critically including NetworkManager, which were not prepared for this change. Most of the change was good, however. Let's bring back the dependency and change the assertion to a warning for now.
07e5ead
to
0d85bf0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM though I think I am only one of those who have been into it for a while, so nothing jump to my eyes.
In light of #282795 and #283717, I think it's best to revert this until we've more thoroughly checked that everything is fixed.
Description of changes
The plan is to bring back the undesirable
multi-user.target -> network-online.target
dependency, but leave in a warning that a unit with anAfter=network-online.target
ordering ought to have aWants=network-online.target
dependency. After we've more thoroughly completed this migration in #282795, we can leave in the warning and remove themulti-user.target -> network-online.target
dependency again.Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.