!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
4 Oct 2022
@flokli:matrix.orgflokliLike, networking, root on NFS/iso/...21:06:20
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI think we're very close to already being there.21:06:25
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgLike on the networking PR I commented the remaining open questions and they're not far fetched21:06:50
@flokli:matrix.orgflokliThere's so much domain specific knowledge hacked into brittle shell scripts, with not too much test coverage 21:07:03
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI think someone is even using NFS root right now21:07:07
@elvishjerricco:matrix.org@elvishjerricco:matrix.org colemickensIIRC? 21:07:21
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgwe do also need to fix the iso though. Frankly I don't know how the current one functions at all lol21:07:50
@colemickens:matrix.orgcolemickens ElvishJerricco: I was, but have dropped it due to NFS issues and kept having issues rebasing your net PR. But yes, it did work just fine. 21:07:53
@zhaofeng:zhaofeng.liZhaofeng Li I have one more question about #189676/cryptenroll: Should we include the tpm kernel modules by default, or should we drop this for this PR? 21:08:01
@colemickens:matrix.orgcolemickens(and by fine, I mean it actually worked whereas the non-systemd-network has racey issues)21:08:08
@colemickens:matrix.orgcolemickens Zhaofeng Li I was just about to ask that, and about whether or not the fido2-device arg is needed or if it's implied to be auto? 21:08:31
@elvishjerricco:matrix.org@elvishjerricco:matrix.org
In reply to @zhaofeng:zhaofeng.li
I have one more question about #189676/cryptenroll: Should we include the tpm kernel modules by default, or should we drop this for this PR?
yea so that's a pretty small thing in the grand scheme. Enough to block the PR on, but not enough to move systemd stage 1 into "documented and beta" status
21:09:34
@colemickens:matrix.orgcolemickensI guess someone is likely to notice they need the modules as they enroll, so at least they wouldn't be likely to reboot and be unexpectedly having to enter their password due to modules missing.21:09:39
@elvishjerricco:matrix.org@elvishjerricco:matrix.org
In reply to @zhaofeng:zhaofeng.li
I have one more question about #189676/cryptenroll: Should we include the tpm kernel modules by default, or should we drop this for this PR?
* yea so that's a pretty small thing in the grand scheme. Enough to block the PR on, but not enough to stop the move of systemd stage 1 into "documented and beta" status
21:09:51
@colemickens:matrix.orgcolemickens* I guess someone is likely to notice they need the modules as they enroll, so at least they wouldn't be likely to reboot and be unexpectedly having to enter their password due to modules missing. (I guess they could temp modprobe them and then reboot and be surprised)21:10:15
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI mean I certainly was confused when my steam deck said there was no TPM device installed. Took me a minute to realize I needed a kernel module. Not a big deal but at least kinda noteworthy21:11:13
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @colemickens:matrix.org
Zhaofeng Li I was just about to ask that, and about whether or not the fido2-device arg is needed or if it's implied to be auto?
It's not required and the cryptsetup service will determine the required token type from the LUKS key slot header
21:11:38
@hexa:lossy.network@hexa:lossy.networkhi, I'm seeing the mk-initrd-ng builder fail on the libxcrypt branch21:41:21
@hexa:lossy.network@hexa:lossy.network
initrd-linux> /bin -> /nix/store/xavgss5cngx68ffd7y4nvf3gl5j8raq2-initrd-bin-env/bin
initrd-linux> /etc/fstab -> /nix/store/5x0glmakxlphadn0y5ynb3ymcxmsv4sn-initrd-fstab
initrd-linux> /etc/initrd-release -> /nix/store/7wwkq5lhxfjh81nan7kggc7vv3qwxnzn-initrd-release
initrd-linux> /etc/kbd/keymaps -> /nix/store/qbys2yn2mvixz0rc6g2cvmbihwlb3fgc-console-env/share/keymaps
initrd-linux> /etc/modprobe.d/debian.conf -> /nix/store/q7airdzvbg25php1a52bpswp92h6qchy-kmod-debian-aliases.conf-22-1.1
initrd-linux> /etc/modprobe.d/systemd.conf -> /nix/store/r7mlbby6n26amxrhsxzgnl5m8kldgpyr-systemd-stage-1-251.4/lib/modprobe.d/systemd.conf
initrd-linux> /etc/modprobe.d/ubuntu.conf -> /nix/store/wgaaknrv637qa0i1yhff7n5nh9447jny-initrd-kmod-blacklist-ubuntu
initrd-linux> /etc/modules-load.d/nixos.conf -> /nix/store/6adb24fxb7lxxpvrzgf9frk1ynh8l83v-initrd-nixos.conf
initrd-linux> /etc/os-release -> /nix/store/7wwkq5lhxfjh81nan7kggc7vv3qwxnzn-initrd-release
initrd-linux> /etc/passwd -> /nix/store/x79jlgg44cks805vzm9q3mshvk06nkk6-fake-nss/etc/passwd
initrd-linux> /etc/shadow -> /nix/store/vjisvrzd9rhhhidpa243rrnnzwb3ich3-initrd-shadow
initrd-linux> /etc/sysctl.d/nixos.conf -> /nix/store/ab44sbjb3zk06yzqs5xxnai2jcvga0jv-initrd-nixos.conf
initrd-linux> /etc/systemd/network -> /nix/store/i0wypsybg9f7xdjzp14mqzcdv313hxz4-initrd-link-units
initrd-linux> /etc/systemd/system -> /nix/store/11d3p04w20q1k3izmvlz7zfdlqpkbn05-initrd-units
initrd-linux> /etc/systemd/system.conf -> /nix/store/cq7f9nfwg8ly1730xbap0631km95apb8-initrd-system.conf
initrd-linux> /etc/udev/rules.d -> /nix/store/q5rdk89xnzplh7m0kgjpd53v960sw7yn-initrd-udev-rules
initrd-linux> /etc/vconsole.conf -> /nix/store/vnspz6aghpx0pkak1ps76as2qdcbzbb7-vconsole.conf
initrd-linux> /init -> /nix/store/r7mlbby6n26amxrhsxzgnl5m8kldgpyr-systemd-stage-1-251.4/lib/systemd/systemd
initrd-linux> /lib/firmware -> /nix/store/n7j49yh6kcisb31xg6c48lzcbhz813gw-linux-5.15.71-modules-shrunk/lib/firmware
initrd-linux> /lib/modules -> /nix/store/n7j49yh6kcisb31xg6c48lzcbhz813gw-linux-5.15.71-modules-shrunk/lib/modules
initrd-linux> /sbin -> /nix/store/xavgss5cngx68ffd7y4nvf3gl5j8raq2-initrd-bin-env/sbin
initrd-linux> Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
21:41:33
@hexa:lossy.network@hexa:lossy.networkthe error message is only mildly helpful21:41:43
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/mweinelt/nixpkgs/tree/glibc-without-libcrypt21:42:37
@hexa:lossy.network@hexa:lossy.networkthis branch21:42:38
@hexa:lossy.network@hexa:lossy.networkfor example when building up to nixosTests.hibernate-systemd-stage-121:42:54
@hexa:lossy.network@hexa:lossy.network * for example when building up to nixosTests.hibernate-systemd-stage-1 21:42:59
@hexa:lossy.network@hexa:lossy.network ElvishJerricco maybe? 21:43:21
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgSeems like a missing symlink or something? We're not great at those AFAIK. Will check closer when I get home21:45:14
@hexa:lossy.network@hexa:lossy.network
❯ ./result/bin/make-initrd-ng
thread 'main' panicked at 'index out of bounds: the len is 1 but the index is 1', src/main.rs:202:33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
21:45:40
@aktaboot:tchncs.de@aktaboot:tchncs.de joined the room.21:45:41
@hexa:lossy.network@hexa:lossy.networkthis is also great 😄21:45:42
@hexa:lossy.network@hexa:lossy.networkthank you21:45:45

Show newer messages


Back to Room ListRoom Version: 6