!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

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

Load older messages


SenderMessageTime
3 Aug 2022
@k900:0upti.meK900https://github.com/NixOS/nixpkgs/actions/runs/279110015816:59:42
@k900:0upti.meK900Huh16:59:43
@k900:0upti.meK900New Actions failure mode16:59:56
@k900:0upti.meK900Fun16:59:58
@winterqt:nixos.devWinter (she/her)it's fine17:00:08
@winterqt:nixos.devWinter (she/her)it passed before17:00:12
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI'm guessing that's just because it was closed so quickly?17:00:13
@winterqt:nixos.devWinter (she/her)who knows honestly17:00:20
@k900:0upti.meK900I know it is, it's the exact same commit17:00:23
@k900:0upti.meK900And yeah probably17:00:25
@k900:0upti.meK900But also lol17:00:27
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgthat was a bad 5 minutes for github lol17:00:41
@winterqt:nixos.devWinter (she/her)as if every 5 minutes isn't /s17:01:11
@elvishjerricco:matrix.org@elvishjerricco:matrix.orglol17:01:17
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgok, back to focusing on networkd / goofing off...17:01:35
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Uh, I'm confused by the check error the networkd PR currently has. It's complaining that I have type = options.environment.etc.type, but... that's not what the code says. That's the old commit. The new one doesn't do that. 17:23:10
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Oh, there's a merge conflict because of the goblin thing and the fact that I very slightly modified the makeInitrdNG nix function 17:25:35
4 Aug 2022
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Created a solution to our concerns about make-initrd-ng gaining a mind of its own and causing destructive problems during shutdown: https://github.com/NixOS/nixpkgs/pull/185085 01:02:23
@winterqt:nixos.devWinter (she/her)https://github.com/NixOS/nixpkgs/pull/18508902:35:13
@winterqt:nixos.devWinter (she/her)saw this was opened ^^02:35:26
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgOh, wow yea that's probably better than the scripted initrd's way of handling it: libc::ioctl02:37:50
@elvishjerricco:matrix.org@elvishjerricco:matrix.org * Oh, wow yea that's probably better than the scripted initrd's way of handling it: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/stage-1-init.sh#L512-L53202:37:55
@winterqt:nixos.devWinter (she/her)
In reply to @elvishjerricco:matrix.org
Created a solution to our concerns about make-initrd-ng gaining a mind of its own and causing destructive problems during shutdown: https://github.com/NixOS/nixpkgs/pull/185085
Is that /run path hardcoded in systemd or something? How does that get configured to run? I don't see anything that mentions that path in Nixpkgs other than the generation.
02:39:22
@elvishjerricco:matrix.org@elvishjerricco:matrix.org
In reply to @winterqt:nixos.dev
Is that /run path hardcoded in systemd or something? How does that get configured to run? I don't see anything that mentions that path in Nixpkgs other than the generation.
It's hardcoded in systemd IIUC
02:39:42
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Though, looking at systemd/src/shutdown/shutdown.c, I'm not entirely sure the mount is needed... I dunno 02:42:11
@elvishjerricco:matrix.org@elvishjerricco:matrix.org * Though, looking at systemd/src/shutdown/shutdown.c, I'm not entirely sure the mount is needed, as long as the dir exists... I dunno 02:42:21
@winterqt:nixos.devWinter (she/her)Why is the shutdown ramfs even a thing? Honestly the first time I've ever heard of it.02:53:35
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Winter (she/her): Because without it you can't properly unmount file systems like /. 02:54:31
@elvishjerricco:matrix.org@elvishjerricco:matrix.org And there are some configurations where that can legitimately matter. Also, it's just a good place to do things like zpool sync, where you know that all IO is done, and all that's left is to ensure it's sync'd 02:55:38
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgAnother example is closing device mapper devices. IIRC there can be issues with stuff like mdraid on rare occasion if your root FS is stored on it02:56:37

Show newer messages


Back to Room ListRoom Version: 6