-
-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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-stage-1: Support resolved #304322
Conversation
This still needs a NixOS test. Help would be greatly appreciated on this, because I'm not actually all that familiar with how to deal with DNS and have already spent hours trying to write a test that I'm pretty sure is nowhere near correct. First, the test should make sure that stage 2 resolved works since AFAICT we don't have a test for that yet, and then we can extend to it to make sure stage 1 works as well. |
263561d
to
9aa03dd
Compare
As per its [Install] section upstream
9aa03dd
to
db7d440
Compare
So, I've added a test for
And looking back at the logs, I sometimes see something like this,
Or sometimes something like this,
Or sometimes nothing indicative of any problems. No matter the logs, I get the |
Sounds like dbus is not running |
@arianvp It is though. If I add
And I can see them being started in the log early enough. |
db7d440
to
bfdba4d
Compare
Ah, we didn't have the necessary dbus files from systemd included. Fixed, and ready for review! |
This is really sweet! Thank you for your continued grind on making systemd in stage1 work, @ElvishJerricco. Appreciate you. |
Description of changes
This comes with an additional change to put
systemd-resolved.service
insysinit.target
instead ofmulti-user.target
, given that this is what the upstream unit file indicates in its[Install]
section.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.