!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

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

Load older messages


SenderMessageTime
3 May 2023
@ulli:hrnz.li@ulli:hrnz.li joined the room.23:24:37
@mberndt:matrix.org@mberndt:matrix.orgI've added a module to enable booting from a root file system on a Stratis volume. All input is welcome. https://github.com/NixOS/nixpkgs/pull/229767 It would be nice to test this, but I have almost no experience with Nix or NixOS, so I don't really know where to start. 23:25:32
@mberndt:matrix.org@mberndt:matrix.org Nick Cao, you packaged Stratisd, right? So this might be of interest to you 23:26:12
@mberndt:matrix.org@mberndt:matrix.orgI'm not using Clevis myself, so I haven't added support for that yet. 23:27:15
@mberndt:matrix.org@mberndt:matrix.orgAlso it would be nice if nixos-generate-config could automatically detect stratis volumes and configure things appropriately. I might do these things in a future version, but for now I'd like to get this MVP-type thing merged ;-)23:29:32
@mberndt:matrix.org@mberndt:matrix.org * Also it would be nice if nixos-generate-config could automatically detect stratis volumes and configure things appropriately. I might do these things in a future version, but for now I'd like to get this MVP-type thing merged 23:29:48
@mberndt:matrix.org@mberndt:matrix.orgOh, and probably not every single one of the crypto modules is needed 😅 But I don't know which ones could be needed, so I just added a whole bunch of them. #worksOnMyMachine23:33:00
4 May 2023
@elvishjerricco:matrix.org@elvishjerricco:matrix.org mberndt: Did you test that without plymouth? Because my guess it that it should work without plymouth, if it uses systemd-ask-password. 00:28:21
@mberndt:matrix.org@mberndt:matrix.orgBenutzt es aber nicht05:41:48
@mberndt:matrix.org@mberndt:matrix.orgIt doesn't use systemd-ask-password05:42:16
@mberndt:matrix.org@mberndt:matrix.orgIt just runs Plymouth: https://github.com/stratis-storage/stratisd/blob/77cc6df928c554464a84e9aac7af4718196babdf/dracut/90stratis/stratis-rootfs-setup#L20 I don't know why they did it that way. I guess we could change it05:45:28
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgOh wow. Yea that's unfortunate. I guess they wanted to support non-systemd-initrd05:47:10
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgbut that very much sucks because plymouth is definitely not a given either05:48:20
@mberndt:matrix.org@mberndt:matrix.orgI do have an assertion to make sure it is used05:48:43
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI know05:48:54
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgit's just a bummer05:49:38
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI mean we could patch it but I dunno if it's worth it05:49:55
@mberndt:matrix.org@mberndt:matrix.orgI don't think their initrd support actually works without systemd, it looks like an oversight to me05:50:04
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgOh05:50:14
@mberndt:matrix.org@mberndt:matrix.orgI can just create a PR in their repo to fix that05:50:36
@mberndt:matrix.org@mberndt:matrix.orgI mean they use a systemd generator. That isn't going to work without systemd05:51:07
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgWell do they exclusively do it that way? It's not uncommon to support non-systemd dracut and systemd dracut05:52:26
@elvishjerricco:matrix.org@elvishjerricco:matrix.org * Well do they exclusively do it that way? It's not uncommon to support both non-systemd dracut and systemd dracut05:52:36
@mberndt:matrix.org@mberndt:matrix.orgIt doesn't look like it to me: https://github.com/stratis-storage/stratisd/blob/77cc6df928c554464a84e9aac7af4718196babdf/dracut/90stratis/module-setup.sh05:54:58
@mberndt:matrix.org@mberndt:matrix.orgAnd in this other script they just use systemd-ask-password: https://github.com/stratis-storage/stratisd/blob/77cc6df928c554464a84e9aac7af4718196babdf/systemd/stratis-fstab-setup#L2705:56:00
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgInteresting. Well, might as well open a PR; it's a real simple change05:56:31
@mberndt:matrix.org@mberndt:matrix.orgYup05:56:39
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgcould then remove plymouth from these "dependencies" I guess https://github.com/stratis-storage/stratisd/blob/77cc6df928c554464a84e9aac7af4718196babdf/dracut/90stratis/module-setup.sh#L3705:56:53
@mberndt:matrix.org@mberndt:matrix.orgYes05:57:18
@aktaboot:tchncs.de@aktaboot:tchncs.de left the room.19:44:34

Show newer messages


Back to Room ListRoom Version: 6