!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

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

Load older messages


SenderMessageTime
31 Dec 2022
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI think I found a decent solution to the uid/gid problem: https://github.com/NixOS/nixpkgs/pull/169116/commits/381c08ba2dd3e084d0390d24ea61ef8ec58ba53820:10:45
@elvishjerricco:matrix.org@elvishjerricco:matrix.org * I think I found a decent solution to the uid/gid problem: https://github.com/NixOS/nixpkgs/compare/9d78bdb028dd459aa87e181eaf5c85dc4ce26f9b..7f28cbab43ea21020b15441417dbe6ff9eca38d920:11:54
@elvishjerricco:matrix.org@elvishjerricco:matrix.org It will use static IDs from the stage 2 config by default, which should mean that it will definitely match stage 2 20:12:56
@elvishjerricco:matrix.org@elvishjerricco:matrix.org For things without static IDs, hopefully it doesn't matter cross-stage, e.g. sshd 20:13:13
1 Jan 2023
@ius:nltrix.netius left the room.09:55:35
@v0id:nltrix.net@v0id:nltrix.net left the room.12:04:38
2 Jan 2023
@vika:fireburn.ru@vika:fireburn.ru joined the room.00:52:59
4 Jan 2023
@gdamjan:spodeli.org@gdamjan:spodeli.org joined the room.15:45:08
7 Jan 2023
@aktaboot:tchncs.de@aktaboot:tchncs.de changed their profile picture.20:27:22
11 Jan 2023
@joerg:thalheim.ioMic92If you ever wanted to see what breaks with systemd-initrd: https://github.com/nix-community/disko/pull/10814:30:26
@joerg:thalheim.ioMic92Why does mdraid needs configuration with systemd enabled?14:30:45
@joerg:thalheim.ioMic92How does it work the script-based initrd?14:31:02
@elvishjerricco:matrix.org@elvishjerricco:matrix.orghuh... that's a lot of red14:32:18
@joerg:thalheim.ioMic92yep14:32:52
@elvishjerricco:matrix.org@elvishjerricco:matrix.org my first guess would be that any failures are due to systemd-initrd not supporting boot.initrd.foobarCommands 14:33:38
@andreas.schraegle:helsinki-systems.de@andreas.schraegle:helsinki-systems.de
In reply to @joerg:thalheim.io
Why does mdraid needs configuration with systemd enabled?
iirc the decision was made not to just pull in all that (meaning kernel modules + tooling), because not that many people use it.
in the old initrd, it's just enabled by default.
14:33:46
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgbut that's just a guess14:33:53
@andreas.schraegle:helsinki-systems.de@andreas.schraegle:helsinki-systems.deso there's an option, that you can enable for it. would need to check what it's called14:33:59
@joerg:thalheim.ioMic92 Andreas Schrägle: but even enabling swraid seems to fix. one has to write configuration 14:34:14
@andreas.schraegle:helsinki-systems.de@andreas.schraegle:helsinki-systems.de
In reply to @andreas.schraegle:helsinki-systems.de
iirc the decision was made not to just pull in all that (meaning kernel modules + tooling), because not that many people use it.
in the old initrd, it's just enabled by default.
by default == there's probably not even a way to disable it
14:34:18
@joerg:thalheim.ioMic92 * Andreas Schrägle: but even enabling swraid seems not to fix. one has to write configuration 14:34:33
@joerg:thalheim.ioMic92 Andreas Schrägle: https://github.com/NixOS/nixpkgs/blob/2ff336107f66ce6c3f89eb36d0b7492b1b9d3c2a/nixos/tests/systemd-initrd-swraid.nix#L23 14:35:00
@joerg:thalheim.ioMic92This test has to add configuration to work14:35:19
@andreas.schraegle:helsinki-systems.de@andreas.schraegle:helsinki-systems.deah. interesting. the old initrd probably just does mdadm --scan or something like that?14:35:37
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Mic92: I would look at the foobarCommands options and try to see what might be setting those 14:36:42
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgif that's not the problem then something is much more confusing than I would expect :P14:37:00
@andreas.schraegle:helsinki-systems.de@andreas.schraegle:helsinki-systems.de ah, looking at nixos/modules/tasks/swraid.nix, it seems like there's some udev rule stuff happening 14:37:34
@joerg:thalheim.ioMic92Yeah. I think the udev rules are missing14:37:49
@elvishjerricco:matrix.org@elvishjerricco:matrix.orginteresting...14:37:59
@joerg:thalheim.ioMic92 Janne Heß: you merged this into the swraid module, do you know why udev is disabled? 14:38:40

Show newer messages


Back to Room ListRoom Version: 6