!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

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

Load older messages


SenderMessageTime
14 Aug 2022
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgonce before /sysroot is mounted just to get the ball rolling, i.e. parsing /etc/fstab and /proc/cmdline (for root=)06:27:37
@elvishjerricco:matrix.org@elvishjerricco:matrix.org and once after to check the real root's /etc/fstab for mounts with x-initrd.mount 06:27:51
@elvishjerricco:matrix.org@elvishjerricco:matrix.org (really they don't expect you to use /etc/fstab in initrd; they expect you to tell it where root and /usr are with the cmdline; then they expect all other initrd file systems to come from /sysroot/etc/fstab with x-initrd.mount) 06:28:52
@elvishjerricco:matrix.org@elvishjerricco:matrix.org(which, btw, means systemd technically doesn't want you to have /etc on a file system other than your rootfs)06:29:16
@k900:0upti.meK900 Arguably they don't want you to have an fstab at all\ 06:29:50
@k900:0upti.meK900 * Arguably they don't want you to have an fstab at all06:29:52
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgyea well that's a whole other thing :P06:30:02
@k900:0upti.meK900They just want to rely on the discoverable partitions spec06:30:04
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI wonder... currently failed mounts don't fail the initrd boot. i wonder if using this sysroot change would cause it to fail the way I had expected it to06:33:09
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgYea, that actually fails way better06:35:15
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Instead of attempting the boot, it just tries 3 times and then fails rather than attempting to move on to other stuff like nixos activation and switch-root 06:35:52
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgoh, wait, no, it did still try to switch-root... I'll look more at that later06:36:34
@colemickens:matrix.orgcolemickensSo are current "linux semantics" such that mount.nfs is meant to be in /sbin?23:12:43
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI don't remember the details on that one...23:13:06
@colemickens:matrix.orgcolemickens We set sbindir=$(out)/bin for nfs-utils, and there's a new flag that will cause mount.nfs to actually respect that and land into the /bin dir... but I can't even tell if that's actually good to do. 23:13:21
@colemickens:matrix.orgcolemickens * We set sbindir=$(out)/bin for nfs-utils, and there's a new flag that will cause the generated makefile to respect that when installing mount.nfs and thusland into the /bin dir... but I can't even tell if that's actually good to do. 23:13:53
@colemickens:matrix.orgcolemickensoh I didn't know stdenv automatically moves sbin to bin...23:16:08
@colemickens:matrix.orgcolemickenswell, afaict nothing uses sbin in nixos23:21:51
@colemickens:matrix.orgcolemickensman I'm so sick of autotools projects23:26:18
15 Aug 2022
@replaycoding_:matrix.orgReplayCoding changed their display name from ReplayCoding (she/her) to ReplayCoding.16:24:33
16 Aug 2022
@ruddy:leohoo.xyz@ruddy:leohoo.xyz joined the room.12:12:14
@ruddy:leohoo.xyz@ruddy:leohoo.xyz left the room.12:12:17
17 Aug 2022
@elvishjerricco:matrix.org@elvishjerricco:matrix.org

Can I get eyes from someone here on this? https://github.com/NixOS/nixpkgs/pull/185085

It's good to go, I just want to make sure someone else familiar with make-initrd-ng has seen it

18:18:07
@elvishjerricco:matrix.org@elvishjerricco:matrix.org *

Can I get eyes from someone here on this? https://github.com/NixOS/nixpkgs/pull/185085

It's good to go, I just want to make sure someone else familiar with make-initrd-ng and our systemd-shutdown stuff has seen it

18:18:27
@greaka:greaka.degreaka joined the room.20:21:10
18 Aug 2022
@winterqt:nixos.devWinter (she/her)Posting this here since I think y'all would be interested (and is probably more on-topic for here than #systemd, since this is boot stuff): https://github.com/NixOS/nixpkgs/pull/18722204:53:26
@winterqt:nixos.devWinter (she/her)

I wouldn't be surprised if setting boot.loader.efi.efiSysMountPoint just hasn't worked for the past 3 years when using systemd-boot because of this.

😅

04:53:51
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Hmmm I was about to say I've used a separate boot.loader.efi.efiSysMountPoint in the last three years.... But then I remembered that was with Grub :P 04:55:14
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Though it looks like the --path arg was made an alias, not removed. 04:57:21
@winterqt:nixos.devWinter (she/her)I looked in the source and I couldn't find that.04:57:39

Show newer messages


Back to Room ListRoom Version: 6