!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

620 Members
NixOS ❤️ systemd170 Servers

Load older messages


SenderMessageTime
16 Feb 2025
@k900:0upti.meK900* And of course I fucked up the three hardest to reach machines in the apartment16:59:03
@elvishjerricco:matrix.orgElvishJerriccoI wonder how much initrd would grow if we included nano by default17:00:14
@elvishjerricco:matrix.orgElvishJerriccoif it's like, 100K, then we should probably just do that17:00:27
@infinisil:matrix.orginfinisilWhew, 48MB closure size for nano17:01:30
@infinisil:matrix.orginfinisilDidn't expect that17:01:36
@elvishjerricco:matrix.orgElvishJerricco Yea and I don't think we have file or ncurses in initrd already 17:01:51
@elvishjerricco:matrix.orgElvishJerriccostill, we'll only end up including a fraction of their files17:02:03
@infinisil:matrix.orginfinisilAlternatively, busybox has vi :P17:04:33
@infinisil:matrix.orginfinisil(and ed)17:04:38
@elvishjerricco:matrix.orgElvishJerriccooh gosh, our baseline initrd has ballooned to 20M17:05:08
@elvishjerricco:matrix.orgElvishJerriccodid not realize that17:05:10
@elvishjerricco:matrix.orgElvishJerriccothat's... worse than I would like17:05:19
@elvishjerricco:matrix.orgElvishJerricco* oh gosh, our baseline systemd initrd has ballooned to 20M17:05:26
@elvishjerricco:matrix.orgElvishJerriccoyea, scripted is only 11M17:06:07
@elvishjerricco:matrix.orgElvishJerriccoanyway yea nano only adds about 200K to the initrd size17:06:53
@elvishjerricco:matrix.orgElvishJerriccothat's probably acceptable... But I may want to go hunting down what's got initrd so big these days17:07:08
@elvishjerricco:matrix.orgElvishJerricco (mind you, I don't actually know that nano works if all you do is add it to initrdBin) 17:07:41
@elvishjerricco:matrix.orgElvishJerricco ok yea it's definitely not that simple. Error opening terminal: vt220. 17:13:28
17 Feb 2025
@elvishjerricco:matrix.orgElvishJerriccoDid this ever actually happen?18:19:38
@arianvp:matrix.orgArianthe decision happened. The result didn't18:50:41
@kranzes:matrix.orgIlan Joselevich (Kranzes)Classico18:53:48
@arianvp:matrix.orgArian https://github.com/NixOS/nixpkgs/pull/216025. do nixos-containers break with networkd enabled? Or is the current impl just not ideal 18:54:42
@arianvp:matrix.orgArianif it’s the second; then I don’t think we have any blockers?18:54:51
@arianvp:matrix.orgArian cc @m1cr0man:m1cr0man.com 18:55:15
@m1cr0man:m1cr0man.comm1cr0man Iirc it is the second but I will test. Alas, that PR is broken when rebased due to changes needed in switch-to-configuration-ng. I wasn't able to complete it myself in the time I last had. See #nix-rfc-108:matrix.org 19:22:08
@arianvp:matrix.orgArianI don’t fully understand why we need to change stc. I naively assumed we could just call stc inside the container. but it has been a long time since I had all the context of 108 in my head19:25:36
@ma27:nicht-so.sexyma27
In reply to @arianvp:matrix.org
I don’t fully understand why we need to change stc. I naively assumed we could just call stc inside the container. but it has been a long time since I had all the context of 108 in my head
if you change the nixos config of a container, then sure you need to call stc inside the container.
if you change something else around the container (i.e. in the nspawn unit), you'll probably need to restart it.
19:31:29
@arianvp:matrix.orgArian why doesn’t that get handled by the systemd-nspawn@ unit already 19:32:13
@arianvp:matrix.orgArianit points to the nspawn config; which changes; triggers a restart19:32:23
@ma27:nicht-so.sexyma27 because it depends on what has changed in the nspawn unit to know whether a restart or a reload (== call into the container to do stc) is needed, assuming we're talking about the 108 stuff.
it's been a while, so I don't remember the exact details though, sorry.
19:37:21

Show newer messages


Back to Room ListRoom Version: 6