!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

613 Members
NixOS ❤️ systemd173 Servers

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


SenderMessageTime
22 Mar 2025
@elvishjerricco:matrix.orgElvishJerricco* now, all those units being stopped is a "job canceled" scenario, so they don't need to have already been started for this chain reaction to occur09:12:49
@elvishjerricco:matrix.orgElvishJerricco(some of these observations come from me being in the middle of messing with things and adding various orderings to debug things, so I might be getting the details wrong, but the core idea is I think a problem)09:13:41
@elvishjerricco:matrix.orgElvishJerricco the specific use case I was trying to debug was when / is a tmpfs and /nix is on a partition that needs to grw 09:14:37
@elvishjerricco:matrix.orgElvishJerricco * the specific use case I was trying to debug was when / is a tmpfs and /nix is on a partition that needs to grow 09:14:39
@elvishjerricco:matrix.orgElvishJerriccobut I think it would be a problem in a lot more generic scenarios than that09:14:56
@arianvp:matrix.orgArianCan you make a non-nix-specific reproducer?09:15:11
@elvishjerricco:matrix.orgElvishJerriccouh09:15:28
@elvishjerricco:matrix.orgElvishJerriccoI don't know enough about other distros to make another distro do this :P09:15:43
@arianvp:matrix.orgArianI don't understand how you have mounts before repart runs09:16:23
@arianvp:matrix.orgArianYou cant resize a mounted partition no?09:16:31
@elvishjerricco:matrix.orgElvishJerriccowell, a) yes you can, and b) I don't have mounts anyway. The mount jobs are cancelled before they're started09:16:51
@arianvp:matrix.orgArianRepart should be running before /sysroot is mounted09:16:57
@elvishjerricco:matrix.orgElvishJerricco the device appears, satisfying some dependencies, and then disappears, which causes job cancellations because of BindsTo=dev-foo.device 09:17:42
@elvishjerricco:matrix.orgElvishJerriccoand then reappears, but then it's too late and damage is done09:18:07
@arianvp:matrix.orgArianCould it be a kernel bug? 09:18:20
@arianvp:matrix.orgArianWhy is the kernel sending uevents on resize09:18:30

Show newer messages


Back to Room ListRoom Version: 6