| 20 Jan 2025 |
ElvishJerricco | not sure | 19:50:33 |
iridium | hm... Not sure if relevant in any way, but both systems I experienced this on have a bcachefs filesystem mounted | 19:50:35 |
ElvishJerricco | absolutely that's relevant :P | 19:50:46 |
ElvishJerricco | this is exactly the kind of obscure bug I expect from bcachefs | 19:50:56 |
iridium | Sorry! 🙂 | 19:51:13 |
iridium | (for one of the machines, it's not the root FS) | 19:51:28 |
ElvishJerricco | it's reasonably likely not to be bcachefs's fault | 19:51:44 |
ElvishJerricco | but it's something to keep in mind for sure | 19:51:49 |
ElvishJerricco | can you tell me the exact nixpkgs revisions you were switching between, and share as much of your configuration, including the NFS mount, as you can? | 19:52:04 |
iridium | I'll ping you some details via dm, give me a sec | 19:52:29 |
iridium | Might be worth retrying this without the NFS share mounted, now that I can reproduce reliably | 19:52:58 |
ElvishJerricco | actually I was going to suggest we make a nixpkgs issue to track all this info | 19:53:01 |
iridium | sample size 1: did not reproduce the issue without the NFS mount | 19:55:26 |
iridium | (reproduced ~8 times in a row with NFS mounted, no other differences I'm aware of) | 19:55:43 |
ElvishJerricco | nfs is another thing that causes all kinds of obscure bugs | 19:57:07 |
iridium | second attempt, upgrade succeeded again. I'd be reasonably confident it's somehow NFS-related | 19:58:00 |
ElvishJerricco | yea | 19:58:11 |
ElvishJerricco | it's probably more about how systemd tracks the NFS mount | 19:58:21 |
iridium | https://github.com/NixOS/nixpkgs/issues/375376
This also has the flake lockfiles from before/after the upgrade. Everything else you should know already. | 20:14:41 |
iridium | Ah, and details about the NFS mounts 🙂 | 20:14:53 |
ElvishJerricco | thanks! | 20:19:42 |
ElvishJerricco | iridium: That is a wonderfully detailed bug report. The perfect kind :) | 20:20:33 |
jade_ | https://git.lix.systems/lix-project/lix/issues/633 lmao it sure does, the current implementation, in addition to being bad, is such a layering violation | 22:45:38 |
| 21 Jan 2025 |
| toinux joined the room. | 00:38:24 |
ElvishJerricco | Philip Taron (UTC-8): Btw: https://github.com/NixOS/nixpkgs/pull/375480 | 10:02:44 |
ElvishJerricco | I'm trying to set my personal hydra up to build all these tests so it's easier for me to spot them | 10:03:11 |
@adam:robins.wtf | Is there a good way to define a persistent systemd service, outside of NixOS control? | 15:32:15 |
@msanft:matrix.org | I think you should be able to put stuff into ~/.config/systemd/user/ if I'm not mistaken. | 15:42:49 |
@philiptaron:matrix.org | For a system service, maybe:
tmpfiles.d configuration to land a symlink to well-known location
- write a generator in bash to land the thing from well-known location
- Find one of the search paths that's not wired up on NixOS and squat there
| 15:47:20 |
gdamjan |
- portable service (which you can also build with nix, but also with other tools)
| 15:48:44 |