!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

73 Members
systemd in NixOs's stage 1, replacing the current bash tooling https://github.com/NixOS/nixpkgs/projects/5123 Servers

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


SenderMessageTime
22 Jun 2023
@lily:lily.flowers@lily:lily.flowersIf no one else does, I'll take a look and poke a little in about an hour or two when I'm done with a thing at $dayjob13:31:09
@lily:lily.flowers@lily:lily.flowersAlright so you're gonna hate this and I think it may be a kernel bug17:24:35
@lily:lily.flowers@lily:lily.flowers

It works with this snippet:

    boot.initrd.kernelModules = [ "9p" "9pnet_virtio" ];
    boot.initrd.systemd.services.systemd-modules-load.before = [ "sysroot.mount" ];
    boot.initrd.systemd.services.systemd-modules-load.serviceConfig.ExecStartPost = "${pkgs.coreutils}/bin/sleep 5";
17:24:52
@lily:lily.flowers@lily:lily.flowers Something about loading 9p after /sysroot tmpfs is mounted breaks it 17:25:02
@lily:lily.flowers@lily:lily.flowers(and yes it did also need the sleep)17:25:10
@lily:lily.flowers@lily:lily.flowers nikstur 17:25:17
@lily:lily.flowers@lily:lily.flowersScripted stage-1 only works because it handles that specially and serially rather than generally and parallel like systemd-initrd17:25:40
@nikstur:matrix.org@nikstur:matrix.orgI figured it would be something like this... :((17:37:11
@lily:lily.flowers@lily:lily.flowersLooks like 6.3 still has the same problem and I'm testing 5.15 now. I didn't find any immediately obvious related bug reports on lkml or bugzilla, but I also didn't look too hard and not sure which exact part of that interaction does it17:38:45
@lily:lily.flowers@lily:lily.flowers(I'll admit I really don't feel like bisecting the kernel right now, though, if it does turn out to be a kernel bug)17:40:16

Show newer messages


Back to Room ListRoom Version: 6