!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

Load older messages


SenderMessageTime
24 Apr 2023
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgwait wut15:34:41
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgoh15:34:49
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgare you using zfs?15:34:56
@oddlama:matrix.orgoddlamayep15:35:10
@elvishjerricco:matrix.org@elvishjerricco:matrix.orghttps://github.com/NixOS/nixpkgs/pull/22720815:35:18
@elvishjerricco:matrix.org@elvishjerricco:matrix.org zfs-import-${pool}.service is in local-fs.target, which is incorrect in initrd 15:35:46
@elvishjerricco:matrix.org@elvishjerricco:matrix.org but that incorrectness does result in it being pulled in by rescue.target 15:36:04
@oddlama:matrix.orgoddlamaI see. It's probably not correct but in my case it shouldn't be a problem either15:36:47
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgthat doesn't explain why sshd is starting though15:36:50
@oddlama:matrix.orgoddlamaWait I have to add some utils to the initrd before continuing, I can't even ping :P15:37:23
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Can you systemctl list-dependencies --reverse sshd.service? 15:39:05
@oddlama:matrix.orgoddlamaWill do, but I have to find the proper option to add packages first15:40:29
@elvishjerricco:matrix.org@elvishjerricco:matrix.org boot.initrd.systemd.initrdBin is kinda like enviroment.systemPackages in that it just puts all their /bins on PATH 15:41:04
@elvishjerricco:matrix.org@elvishjerricco:matrix.org boot.initrd.systemd.extraBin.$BINNAME = pathToBinary will add just the one binary 15:41:28
@elvishjerricco:matrix.org@elvishjerricco:matrix.org(not great names, I know... Kinda want to change them)15:41:43
@oddlama:matrix.orgoddlamaThanks, that'll do15:42:19
@oddlama:matrix.orgoddlama
In reply to @elvishjerricco:matrix.org
Can you systemctl list-dependencies --reverse sshd.service?
Seems like I was talking bullshit. The sshd service is not pulled in except by initrd.target, so I must have started it accidentally when debugging other stuff. My bad.
15:48:39
@aktaboot:tchncs.de@aktaboot:tchncs.dethe systemd initrd seem way bigger though ? I can't fit 8 of these :c21:13:37
@elvishjerricco:matrix.org@elvishjerricco:matrix.org aktaboot: How big, and how big was the traditional one? 21:14:05
@elvishjerricco:matrix.org@elvishjerricco:matrix.orginitrd size is something we would like to be careful about, but sometimes we make sacrifices21:14:23
@aktaboot:tchncs.de@aktaboot:tchncs.de25Mi21:14:58
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgIIRC networking does blow up the size quite a bit...21:15:22
@aktaboot:tchncs.de@aktaboot:tchncs.de* 25.4 MiB on new, 5.1 MiB on old21:15:29
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgnot sure with the regular initrd though21:15:35
@elvishjerricco:matrix.org@elvishjerricco:matrix.org5.1MiB O_o I've never seen it that small, scripted or systemd21:15:52
@aktaboot:tchncs.de@aktaboot:tchncs.deI'm not sure if that's just the one that wasn't written fully because there was no space21:16:56
@aktaboot:tchncs.de@aktaboot:tchncs.deand I can't really know because they all have the same date ?21:18:18
@aktaboot:tchncs.de@aktaboot:tchncs.dehmm, on another laptop the older ones are 40MiB21:21:10
@aktaboot:tchncs.de@aktaboot:tchncs.deor not these are not the initrds (?)21:22:08
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgIf you're using plymouth, that makes up the majority of the initrd's space regardless of systemd vs scripted21:23:38

Show newer messages


Back to Room ListRoom Version: 6