!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
20 Feb 2023
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deNo, that's the point. Rather have lua than ruby09:14:41
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgah lol fair enough09:14:50
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deOr just go the way of anti-cheat on windows and open an unauthenticated pipe and execute whatever comes out of it 🎉09:15:02
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de * Or just go the way of anti-cheat on windows and open an unauthenticated pipe and execute whatever comes out of it in the kernel 🎉09:15:11
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgoof09:15:12
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgThe trusted boot crowd has a lot of ambition around separating root from kernel so that even root can't ruin trusted boot. I think this falls in an adjacent category; initrd shouldn't be capable of undermining system security by allowing arbitrary logic encoded at runtime09:17:14
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgIt's.... probably not actually all that helpful09:17:42
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgbut I can see the perspective that values it09:17:55
@lily:lily.flowers@lily:lily.flowersIf your threat model just wants to avoid arbitrary execution by an attacker physically present at the machine (but cannot open the machine and muck with the electronics -- you're always screwed in that case), you really just need to ensure no custom kernel cmdline is passed in at all (like lanzaboote started doing). Also I don't think the recovery shell will run by default anyway except maybe if it makes it to rescue.target and you enter the root password (I may be misremembering that though)11:21:45
@lily:lily.flowers@lily:lily.flowersI can get the desire to want to avoid any dynamic interpretation, but if the initrd always runs the same code (and said code doesn't depend on external factors hopefully...) just restricting cmdline should handle most reasonable threat models in conjunction with secure boot/bios password/etc I feel11:23:52
@lily:lily.flowers@lily:lily.flowers(Also assuming initrd is cryptographically verified like with lanzaboote or if you are just generating UKIs or something)11:24:49
@mixis:bau-ha.us@mixis:bau-ha.us set a profile picture.18:09:05
@elvishjerricco:matrix.org@elvishjerricco:matrix.org

Also I don't think the recovery shell will run by default anyway

yea by default the root password isn't set, so systemd-sulogin-shell just rejects you altogether. You have to actually set it in your nixos config.

19:09:21
22 Feb 2023
@lgcl:lgcl.delgcl (she/they) changed their display name from lgcl to lgcl (they/them).20:32:54
23 Feb 2023
@kranzes:matrix.org@kranzes:matrix.orgDoes anyone here use plymouth and would like to debug & test a new PR for it?13:32:59
@kranzes:matrix.org@kranzes:matrix.org https://github.com/NixOS/nixpkgs/pull/217728 13:33:03
@kranzes:matrix.org@kranzes:matrix.orgThis needs to be tested and debugged for both initrds13:35:15
@lily:lily.flowers@lily:lily.flowers
In reply to @kranzes:matrix.org
Does anyone here use plymouth and would like to debug & test a new PR for it?
I don't use plymouth but I could be convinced to test it if no one else does
13:40:07
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deI had it once for testing but I don't have the config anymore13:40:34
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de Lily Foster: you could test it with https://github.com/helsinki-systems/plymouth-theme-nixos-bgrt 😏 That gives you a spinning nixos logo 13:40:52
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de * Lily Foster: you could test it with https://github.com/helsinki-systems/plymouth-theme-nixos-bgrt 😏 That gives you a spinning nixos logo and flicker-free boot 13:41:15
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI use plymouth+systemd-initrd13:41:32
@linus:schreibt.jetzt@linus:schreibt.jetztWhat does BGRT mean?13:41:33
@k900:0upti.meK900Boot Graphics Resource Table13:41:41
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgDon't currently have time to test that though13:41:45
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de
In reply to @linus:schreibt.jetzt
What does BGRT mean?
It's your vendor logo from your UEFI
13:41:45
@linus:schreibt.jetzt@linus:schreibt.jetztaah13:41:48
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deWhat Windows is doing13:41:54
@k900:0upti.meK900I'm just annoyed AMDGPU has what seems to be a forced modeset on boot13:42:19
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de
In reply to @k900:0upti.me
I'm just annoyed AMDGPU has what seems to be a forced modeset on boot
Have you tried amdgpu.dc=0?
13:42:51

Show newer messages


Back to Room ListRoom Version: 6