-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
NetworkManager, ModemManager: move all symlinks to alias, add alias for modem-manager.service #70325
NetworkManager, ModemManager: move all symlinks to alias, add alias for modem-manager.service #70325
Conversation
I'd say this is pretty important for a release critical component. |
"dbus-org.freedesktop.NetworkManager.service" | ||
# Add the legacy service name from before #51382 to prevent NetworkManager | ||
# from not starting back up: | ||
# TODO: remove this once 19.09 is released |
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.
Any reason not to remove this in master as we've forked off 19.09?
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.
Hmm, I think we might actually have to remove it during 20.03 branching off.
Still a possibility we could cause an issue for a unstable user?
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.
Hmm, right, so that would be for people upgrading from 18.09 -> 20.03 with switch?
Still a possibility we could cause an issue for a unstable user?
Not entirely sure. But it's there to handle rebuild switch from legacy-name
to new config with upstream name. So unstable users should have the upstream name already?
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.
Not entirely sure. But it's there to handle rebuild switch from legacy-name to new config with upstream name. So unstable users should have the upstream name already?
Now that I think about it, making guarantees like this for unstable doesn't seem right.
We just want to make sure that rebuild switching from 19.03 -> 19.09
works fine.
I'm not sure if 18.09 -> 19.03
would be a seamless switch.
We removed the symlinks for the alias in * f99bdb2 but we also need to move this definition into the module. Else we get issues like NixOS#70301. Fixes NixOS#70301.
We probably need this as well.
bb04483
to
33b705b
Compare
Realized that I already dropped the legacy service in staging |
@worldofpeace this means, this PR isn't needed for master/unstable? |
Yeah, I've re-targeted this to Not sure what's up with the commit graph here... |
Motivation for this change
Thinking this fixes #70301
I haven't tested this, but we need to make sure there's no issues with NetworkManager and users
doing
nixos-rebuild switch --upgrade
.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)