| 24 Mar 2022 |
@arianvp:matrix.org | Janne you're going to the sprint right? | 17:25:09 |
@arianvp:matrix.org | I suppose we can spend the sprint on follow-up PRs :)) | 17:25:23 |
@elvishjerricco:matrix.org | Janne Heß: Moved? | 17:25:59 |
flokli | I'll be sprinting up mountains in Mallorca this time, sorry :-P | 17:26:12 |
@elvishjerricco:matrix.org | systemd just mounts /proc, /dev, etc. automatically when it starts | 17:26:17 |
@elvishjerricco:matrix.org | And the other mounts are just a consequence of switch-root | 17:26:28 |
@janne.hess:helsinki-systems.de | In reply to @arianvp:matrix.org Janne you're going to the sprint right? Yes! | 17:27:53 |
@janne.hess:helsinki-systems.de | In reply to @arianvp:matrix.org I suppose we can spend the sprint on follow-up PRs :)) I'd love to have most of the basics covered so we can just implement stuff like different storage systems, networking,... | 17:28:25 |
@janne.hess:helsinki-systems.de | In reply to @elvishjerricco:matrix.org systemd just mounts /proc, /dev, etc. automatically when it starts Hm. So it mounts a new tmpfs over /run? | 17:29:07 |
@elvishjerricco:matrix.org | Hmm I seem to recall it moving /run correctly now that you mention it, but it's been a while since I played with that | 17:29:41 |
@elvishjerricco:matrix.org | maybe it does move them with switch-root or something? Not sure | 17:29:59 |
flokli | https://www.freedesktop.org/software/systemd/man/bootup.html | 17:30:46 |
@elvishjerricco:matrix.org | The service initrd-parse-etc.service scans /sysroot/etc/fstab for a possible /usr/ mount point and additional entries marked with the x-initrd.mount option. All entries found are mounted below /sysroot, and initrd-fs.target is reached | 17:33:45 |
@elvishjerricco:matrix.org | Ah, we should probably use that | 17:33:48 |
flokli | https://systemd.io/INITRD_INTERFACE/ also mentions also pivoting back to initrd on shutdown, to clean up storage stuff necessary for / | 17:34:10 |
@elvishjerricco:matrix.org | Then we'd only need to have / and /etc in initrd, and the rest can be in the real rootfs's /etc/fstab with x-initrd.mount | 17:34:37 |
@elvishjerricco:matrix.org | The shutdown pivoting stuff is a whole other thing, and somewhat annoying to implement | 17:35:02 |
@janne.hess:helsinki-systems.de | In reply to @flokli:matrix.org https://systemd.io/INITRD_INTERFACE/ also mentions also pivoting back to initrd on shutdown, to clean up storage stuff necessary for / I wanted to test that later 👀 | 17:35:08 |
@elvishjerricco:matrix.org | We definitely should; e.g. we could properly export the root zfs pool that way instead of the dumb hack we do now | 17:35:24 |
flokli | ElvishJerricco: Maybe we can address some of the minor style nits in the open PR, put enabling it behind a fat lib.warn that this is all still experimental, and merge it? | 17:35:44 |
flokli | I assume some of the followup stuff can be done in parallel | 17:35:53 |
@elvishjerricco:matrix.org | Yea | 17:35:53 |
@elvishjerricco:matrix.org | that's what I was hoping for | 17:36:03 |
@elvishjerricco:matrix.org | Just haven't gotten around to the remaining nits yet | 17:36:20 |
flokli | Okay :-) | 17:36:25 |
@elvishjerricco:matrix.org | Y'all are free to take a stab at those if you want :) | 17:36:29 |
flokli | I don't want to race with you on it | 17:36:40 |
flokli | I might eat some dinner soon, but will check back later | 17:36:45 |
@elvishjerricco:matrix.org | I don't have any unpunished progress, and I'm not going to be able to work on this stuff today at all most likely | 17:36:58 |
@elvishjerricco:matrix.org | * I don't have any unpushed progress, and I'm not going to be able to work on this stuff today at all most likely | 17:37:03 |