!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

626 Members
NixOS ❤️ systemd171 Servers

Load older messages


SenderMessageTime
20 Jan 2025
@elvishjerricco:matrix.orgElvishJerricconot sure19:50:33
@iridium:faui2k11.deiridiumhm... Not sure if relevant in any way, but both systems I experienced this on have a bcachefs filesystem mounted19:50:35
@elvishjerricco:matrix.orgElvishJerriccoabsolutely that's relevant :P19:50:46
@elvishjerricco:matrix.orgElvishJerriccothis is exactly the kind of obscure bug I expect from bcachefs19:50:56
@iridium:faui2k11.deiridiumSorry! 🙂19:51:13
@iridium:faui2k11.deiridium (for one of the machines, it's not the root FS) 19:51:28
@elvishjerricco:matrix.orgElvishJerriccoit's reasonably likely not to be bcachefs's fault19:51:44
@elvishjerricco:matrix.orgElvishJerriccobut it's something to keep in mind for sure19:51:49
@elvishjerricco:matrix.orgElvishJerriccocan 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:faui2k11.deiridiumI'll ping you some details via dm, give me a sec19:52:29
@iridium:faui2k11.deiridiumMight be worth retrying this without the NFS share mounted, now that I can reproduce reliably19:52:58
@elvishjerricco:matrix.orgElvishJerriccoactually I was going to suggest we make a nixpkgs issue to track all this info19:53:01
@iridium:faui2k11.deiridiumsample size 1: did not reproduce the issue without the NFS mount19:55:26
@iridium:faui2k11.deiridium(reproduced ~8 times in a row with NFS mounted, no other differences I'm aware of)19:55:43
@elvishjerricco:matrix.orgElvishJerricconfs is another thing that causes all kinds of obscure bugs19:57:07
@iridium:faui2k11.deiridium second attempt, upgrade succeeded again. I'd be reasonably confident it's somehow NFS-related 19:58:00
@elvishjerricco:matrix.orgElvishJerriccoyea19:58:11
@elvishjerricco:matrix.orgElvishJerricco it's probably more about how systemd tracks the NFS mount 19:58:21
@iridium:faui2k11.deiridiumhttps://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:faui2k11.deiridiumAh, and details about the NFS mounts 🙂20:14:53
@elvishjerricco:matrix.orgElvishJerriccothanks!20:19:42
@elvishjerricco:matrix.orgElvishJerricco iridium: That is a wonderfully detailed bug report. The perfect kind :) 20:20:33
@jade_:matrix.orgjade_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 violation22:45:38
21 Jan 2025
@toinux_net:matrix.orgtoinux joined the room.00:38:24
@elvishjerricco:matrix.orgElvishJerricco Philip Taron (UTC-8): Btw: https://github.com/NixOS/nixpkgs/pull/375480 10:02:44
@elvishjerricco:matrix.orgElvishJerriccoI'm trying to set my personal hydra up to build all these tests so it's easier for me to spot them10:03:11
@adam:robins.wtf@adam:robins.wtfIs there a good way to define a persistent systemd service, outside of NixOS control?15:32:15
@msanft:matrix.org@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@philiptaron:matrix.org

For a system service, maybe:

  1. tmpfiles.d configuration to land a symlink to well-known location
  2. write a generator in bash to land the thing from well-known location
  3. Find one of the search paths that's not wired up on NixOS and squat there
15:47:20
@gdamjan:spodeli.orggdamjan
  1. portable service (which you can also build with nix, but also with other tools)
15:48:44

Show newer messages


Back to Room ListRoom Version: 6