!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

624 Members
NixOS ❤️ systemd170 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
17 Jan 2025
@elvishjerricco:matrix.orgElvishJerriccothat seems extremely unlikely, but it would explain what we're seeing20:53:42
@elvishjerricco:matrix.orgElvishJerricco phaer: Can I run that repo on my M1 Pro MacBook? Like is it currently in a state where like nix run . will work or something? You've nerd sniped me on this :P 20:58:31
@phaer:matrix.orgphaer
In reply to @elvishjerricco:matrix.org
phaer: Can I run that repo on my M1 Pro MacBook? Like is it currently in a state where like nix run . will work or something? You've nerd sniped me on this :P
Haha, awesome 😅 yeah, the nix run command in the readme should start the VM. Only ran it on my M2 air so far, but it should even work on x86 macs
21:00:21
@elvishjerricco:matrix.orgElvishJerricco phaer: huh, vfkit tells me rosetta is not installed, but it totally is... 21:12:10
@phaer:matrix.orgphaerHm.. that worked for me without a hitch. But the VM itself doesn't need rosetta, so should also work if you disable it in base.nix21:13:27
@elvishjerricco:matrix.orgElvishJerriccoYea I dunno why your journal seemed very incomplete; everything I was expecting is there when I run this VM myself.22:00:43
@elvishjerricco:matrix.orgElvishJerricco As far as I can tell reading the systemd source, the only reason the log would like the way it does in stage 2 is because CREDENTIALS_DIRECTORY or ENCRYPTED_CREDENTIALS_DIRECTORY is set on PID 1 as it starts 22:01:21
@elvishjerricco:matrix.orgElvishJerriccowhich doesn't make any sense; I don't know why those would be set22:01:31
@elvishjerricco:matrix.orgElvishJerricco I feel like it's gotta be something to do with the fact that initrd-nixos-activation.service moves some mounts around like /run, which I think systemd kind of expects to be in charge of. But I just cannot figure out why that would matter... 22:03:30
18 Jan 2025
@arianvp:matrix.orgArianPhaer note that some things can get quite wonky with mounting MacOS nix store on linix00:19:05
@arianvp:matrix.orgArianDue to use-casehack00:19:11
@arianvp:matrix.orgArianI saw some really weird shit break in really obscure ways 00:19:25
@phaer:matrix.orgphaerI didn't solve it yet, but there's indeed something fishy in initrd-switch-root. switch_root.conf is empty while it shouldn't be and looks the closure is okay. But I need to dig deeper and it's 1:22 am here. So not today00:22:52
@elvishjerricco:matrix.orgElvishJerriccoI thought the installer created a case sensitive APFS volume these days.00:45:12
@elvishjerricco:matrix.orgElvishJerricco note that switch-root.conf only exists during stage 1 and isn't populated till fairly late in the stage 1 process 00:46:54
@phaer:matrix.orgphaerYes, I am cat'ing it straight in the (patched) unit00:48:43
@elvishjerricco:matrix.orgElvishJerriccooh, then that is indeed very weird, assuming you put the cat command at the right time00:51:46
@arianvp:matrix.orgArianSo system creds are borked currently basically?10:16:26
@arianvp:matrix.orgArianThat's what I read between the lines. 10:18:55
@phaer:matrix.orgphaerAt least when passed (insecurely) via kernelParam. We don't seem to test that scenario yet12:46:53
@emilazy:matrix.orgemilyit does not14:02:53
@emilazy:matrix.orgemily it should, but it requires some more work around /tmp 14:03:08
@phileas:asra.grsyd installs gentoo (they/them) changed their display name from syd 9291 (they/them) to syd installs gentoo (they/them).16:26:38
@elvishjerricco:matrix.orgElvishJerricco
In reply to @arianvp:matrix.org
So system creds are borked currently basically?
Maybe? I need to do more testing outside of this one repo
19:28:03
@elvishjerricco:matrix.orgElvishJerricco phaer: Ok, confirmed there's a systemd-initrd-specific bug you're dealing with here: https://gist.github.com/ElvishJerricco/dca95eb4ea9fc410bd525c3b15b68fdd 20:21:58
@elvishjerricco:matrix.orgElvishJerriccothat test fails if systemd initrd is enabled, but not if it's disabled20:22:12
19 Jan 2025
@jade_:matrix.orgjade_ this is done iirc, both cppnix and lix have temp-dir by now 03:23:23

Show newer messages


Back to Room ListRoom Version: 6