!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

600 Members
NixOS ❤️ systemd165 Servers

Load older messages


SenderMessageTime
4 Oct 2024
@elvishjerricco:matrix.orgElvishJerriccothanks for the fstab01:00:59
@elvishjerricco:matrix.orgElvishJerriccobut suffice to say, you cannot use it right now :P01:01:12
@mjm:midna.devmjmnp, let me know anything else i can provide that's useful01:01:13
@elvishjerricco:matrix.orgElvishJerriccono this is plenty01:01:25
@mjm:midna.devmjmcool, i can test again whenever you have something01:02:16
@elvishjerricco:matrix.orgElvishJerricco mjm: one issue I do understand: I had it work on auto mounts because I figured the condition I added to skip the unit if the device isn't a bcachefs device would be enough. But it's flipping out on your bind mounts because of that :P 01:02:50
@elvishjerricco:matrix.orgElvishJerriccoso I'll make it only work on explicit bcachefs type01:03:03
@elvishjerricco:matrix.orgElvishJerriccoactually that might be the only issue01:03:12
@elvishjerricco:matrix.orgElvishJerriccothat might explain why it's creating non-sysroot mount units for those things too01:03:24
@elvishjerricco:matrix.orgElvishJerriccoI'll have to test to see and then think on why01:03:39
@mjm:midna.devmjminteresting01:03:55
@elvishjerricco:matrix.orgElvishJerricconope, that doesn't explain it. It's also trying to create the deps for your persist mount without the sysroot prefix, in addition to the sysroot one01:05:40
@elvishjerricco:matrix.orgElvishJerriccooh01:08:30
@elvishjerricco:matrix.orgElvishJerriccono01:08:31
@elvishjerricco:matrix.orgElvishJerriccoI'm just silly01:08:33
@elvishjerricco:matrix.orgElvishJerriccoand did my test badly01:08:40
@mjm:midna.devmjmso it might still just be that?01:11:16
@elvishjerricco:matrix.orgElvishJerricco mjm: definitely was. Pushed a fix to the nixpkgs branch. Give it a try 01:14:07
@mjm:midna.devmjmokay yeah that fixed that issue, thanks! once i finish making dinner i need to try the credential thing01:36:03
@elvishjerricco:matrix.orgElvishJerricconice01:36:11
@elvishjerricco:matrix.orgElvishJerricco mjm: I'm actually really curious if that will work for you. I actually have no idea how / if it's going to delay to find the TPM to decrypt the credential 01:36:42
@elvishjerricco:matrix.orgElvishJerriccohm it might actually just... not01:38:07
@elvishjerricco:matrix.orgElvishJerriccobut I think it would fallback to password in that case01:38:18
@elvishjerricco:matrix.orgElvishJerricco(but also it would be a race condition)01:38:26
@mjm:midna.devmjmwe shall see01:38:29
@mjm:midna.devmjmno luck so far, it's falling back to prompting. i might be able to introduce dependencies to get it to wait for the tpm?02:21:57
@elvishjerricco:matrix.orgElvishJerricco
In reply to @mjm:midna.dev
no luck so far, it's falling back to prompting. i might be able to introduce dependencies to get it to wait for the tpm?

Yea, you should be able to do

boot.initrd.systemd.services."bcachefs-unlock@" = {
  overrideStrategy = "asDropin";
  after = ["tpm2.target"];
};
02:27:30
@mjm:midna.devmjmalright let me give that a shot02:27:44
@mjm:midna.devmjmi wonder why clevis doesn't need that?02:27:49
@elvishjerricco:matrix.orgElvishJerricco mjm: also how do you have the secret placed in the initrd? 02:28:07

Show newer messages


Back to Room ListRoom Version: 6