!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
14 Feb 2023
@lily:lily.flowers@lily:lily.flowers
In reply to @elvishjerricco:matrix.org
overlayfs, for instance, has the directory options that would need the same treatment
Oh true, didn't even think about that. Hopefully people aren't doing that as an fs needed for boot though? Because we only generate for those needed for boot, right?
18:43:32
@lily:lily.flowers@lily:lily.flowers
In reply to @elvishjerricco:matrix.org
overlayfs, for instance, has the directory options that would need the same treatment
* Oh true, didn't even think about that. Hopefully people aren't doing that as an fs needed for boot though? Because we only generate initrd fstab for those needed for boot, right?
18:43:46
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgi mean, go look at qemu-vm.nix :P18:43:50
@elvishjerricco:matrix.org@elvishjerricco:matrix.org We currently do that 18:43:56
@lily:lily.flowers@lily:lily.flowersOh, joy18:44:03
@lily:lily.flowers@lily:lily.flowersI'm actually okay with that one staying special-cased tbh. I doubt someone would use it for anything other than having a writable nix store in a VM anyway18:45:02
@elvishjerricco:matrix.org@elvishjerricco:matrix.org I mean the real answer is to have a Root= option for mount units (all units?) so that the mount syscall occurs in a chroot or something so that all the scenarios are taken care of 18:46:14
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgbut that sounds very annoying to validate18:46:43
@lily:lily.flowers@lily:lily.flowersIdk, that makes way too much sense. Gotta make sure to pile on more and more hacks (/s)18:47:22
@elvishjerricco:matrix.org@elvishjerricco:matrix.orglol18:47:39
@elvishjerricco:matrix.org@elvishjerricco:matrix.org yea I wouldn't dare open a PR with that feature, but it does seem right 18:47:55
@lily:lily.flowers@lily:lily.flowers
In reply to @elvishjerricco:matrix.org
yea I wouldn't dare open a PR with that feature, but it does seem right
Yeah that's more systemd refactoring than I am certainly comfortable with, even though that seems objectively better. I'll see what upstream says about at least handling bind mounts for now though (I'll probably open it after their 253 release, when they'll be more able to look at it and my other PR)
19:47:06
15 Feb 2023
@elvishjerricco:matrix.org@elvishjerricco:matrix.org

https://github.com/systemd/systemd/pull/26367#issuecomment-1430670880

jfc "we can't do a real fix because it's remotely possible that some people have an utterly insane configuration that would break"

04:52:58
@gdamjan:spodeli.org@gdamjan:spodeli.orgcalm down :)10:59:40
16 Feb 2023
@jkarlson:kapsi.fi@jkarlson:kapsi.fihibernation is a nightmare07:18:05
@jkarlson:kapsi.fi@jkarlson:kapsi.fifilesytems should really be used with nfs or something with hibernation07:18:53
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Emil Thorsøe: hm? Why nfs? 07:19:43
@jkarlson:kapsi.fi@jkarlson:kapsi.fiit decouples the processes from internal filesystem state07:20:03
@jkarlson:kapsi.fi@jkarlson:kapsi.fiso filesystem could be effectively unmounted in any way that could cause corruption07:20:40
@jkarlson:kapsi.fi@jkarlson:kapsi.finote that such code is not really implemented, maybe autofs07:20:57
@jkarlson:kapsi.fi@jkarlson:kapsi.fiI guess filesystemd could be written in a way that adds a nfs wrapper or libc 07:26:34
@jkarlson:kapsi.fi@jkarlson:kapsi.fi * I guess filesystems could be written in a way that adds a nfs wrapper or libc 07:26:45
@yinfeng:li7g.comYinfeng changed their profile picture.09:57:16
18 Feb 2023
@lily:lily.flowers@lily:lily.flowers Is systemd-initrd not working with installer ISOs a known problem? It seems that they set root= on the kernel cmdline to the device label which contains the squashfs, but that doesn't play well with the tmpfs / filesystem defined in the fstab (and the fstab entry ends up getting ignored in favor of the cmdline root=, which is obviously wrong in this case) 03:02:21
@lily:lily.flowers@lily:lily.flowers(to be clear, the NixOS installer tests pass fine in the test framework, but those don't have to do the ISO trickery)03:02:53
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgYea that's known but not well explored.03:02:59
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgWe've known the isos don't work all along but I don't think anyone's really investigated it03:03:17
@lily:lily.flowers@lily:lily.flowersHmm, I may look for a solution at some point then03:03:36
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgThat would be wonderful03:03:45
@lily:lily.flowers@lily:lily.flowers I'm not sure if that'll be changing the cmdline or if it'll be doing some hackery with systemd (but I imagine it'll be the first one -- we really shouldn't be setting root= with that for systemd-initrd) 03:04:12

Show newer messages


Back to Room ListRoom Version: 6