!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

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

Load older messages


SenderMessageTime
10 Nov 2022
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgSo it's...... highly annoying23:58:46
@elvishjerricco:matrix.org@elvishjerricco:matrix.org The solution I kinda want to do is put /sysroot/etc/{crypttab,fstab} in the initramfs lol. Then the initial generators will pick up the x-initrd.* entries, and the real /sysroot will overmount this stupid one 23:59:30
@elvishjerricco:matrix.org@elvishjerricco:matrix.org(have tested; it does work)23:59:55
11 Nov 2022
@elvishjerricco:matrix.org@elvishjerricco:matrix.org oh but all that is to say: We do not want these options in the initramfs's /etc/fstab or /etc/crypttab because they're basically meaningless there (and I think it might even cause the generators to skip them? not sure) 00:02:20
@me:linj.tech@me:linj.tech

ElvishJerricco: After reading your repl, systemd doc and nixpkgs pr, I have several questions:

  1. Do we need /sysroot/etc/{crypttab,fstab}? I think currently we have put FSes needed in /etc/fstab and /etc/crypttab of initrd.
  2. Is this the shutdown ramfs you mentioned above? Does that pr handles unmounting "root on btrfs raid1 on luks on two disks" correctly? Some FSes is missing in journalctl -b -1 -g Unmounting. Don't know if that is related though.
12:20:40
@me:linj.tech@me:linj.tech *

ElvishJerricco: After reading your reply, systemd doc and nixpkgs pr, I have several questions:

  1. Do we need /sysroot/etc/{crypttab,fstab}? I think currently we have put FSes needed in /etc/fstab and /etc/crypttab of initrd.
  2. Is this the shutdown ramfs you mentioned above? Does that pr handles unmounting "root on btrfs raid1 on luks on two disks" correctly? Some FSes is missing in journalctl -b -1 -g Unmounting. Don't know if that is related though.
12:20:51
@me:linj.tech@me:linj.tech *

ElvishJerricco: After reading your reply, systemd doc and nixpkgs pr, I have several questions:

  1. Do we need /sysroot/etc/{crypttab,fstab}? I think currently we have put FSes needed in /etc/fstab and /etc/crypttab of initrd.
  2. Is this the shutdown ramfs you mentioned above? Does that pr handle unmounting "root on btrfs raid1 on luks on two disks" correctly? Some FSes is missing in journalctl -b -1 -g Unmounting. Don't know if that is related though.
12:21:24
@elvishjerricco:matrix.org@elvishjerricco:matrix.org

linj:

  1. As I explained, using /sysroot/etc/{crypttab,fstab} is difficult in nixos, so we currently do it the "wrong" way with /etc.
  2. That shutdown ramfs is supposed to work, but I'm not sure why it fails for some setups.
17:58:22
15 Nov 2022
@k900:0upti.meK900Something borked I think19:17:37
@k900:0upti.meK900
error: builder for '/nix/store/0yx5gvgw3wfa4r5kl7k1mqrji271dm2c-initrd-bin-env.drv' failed with exit code 1;
       last 2 log lines:
       > created 454 symlinks in user environment
       > ln: failed to create symbolic link '/nix/store/dqzxrnrhav933wywsgs0jx0g75pb7v1s-initrd-bin-env/bin/mount': File exists
       For full logs, run 'nix log /nix/store/0yx5gvgw3wfa4r5kl7k1mqrji271dm2c-initrd-bin-env.drv'.
19:17:47
@k900:0upti.meK900This is on just updated unstable-small19:17:53
@elvishjerricco:matrix.org@elvishjerricco:matrix.orguh oh19:18:13
@k900:0upti.meK900I'm not sure what happened there actually19:20:06
@elvishjerricco:matrix.org@elvishjerricco:matrix.org yea, the systmed-initrd-simple.nix test fails 19:20:20
@elvishjerricco:matrix.org@elvishjerricco:matrix.org * yea, the systemd-initrd-simple.nix test fails 19:20:29
@elvishjerricco:matrix.org@elvishjerricco:matrix.org either buildEnv changed, one of the packages we're using changed, or someone made a code change that I didn't see 19:21:02
@k900:0upti.meK900
d3ccf64ae14 gh: 2.20.0 -> 2.20.2 [zowoq]
1a24e79270d libsigrokdecode: unpin python dependency [Markus S. Wamser]
e3a720db368 dune_3: 3.5.0 -> 3.6.0 [Vincent Laporte]
8786f80a1c7 ocamlPackages.js_of_ocaml-ocamlbuild: 4.0.0 → 5.0 [Vincent Laporte]
7dd0719b2ff python310Packages.apache-beam: fix for dill 0.3.6 [Theodore Ni]
335b2990e64 python3Packages.pymemcache: mark broken on 32 bit [Martin Weinelt]
2067822b828 got: 0.78 -> 0.79 [Alexis Hildebrandt]
b6239d9b019 lazygit: 0.35 -> 0.36.0 [R. Ryantm]
1671115dbef lazydocker: 0.19.0 -> 0.20.0 [R. Ryantm]
8ca1aba4757 terraform-providers.newrelic: 3.6.1 → 3.7.0 [zowoq]
3ce72808da1 terraform-providers.aiven: 3.8.0 → 3.8.1 [zowoq]
3537f2ccd52 cloudflare-dyndns: remove from python3Packages [Robert Schütz]
b2a6caa5cbb flyctl: 0.0.430 -> 0.0.431 [R. Ryantm]
cebf764e2bf netpbm: 11.0.1 -> 11.0.2 [Jan Tojnar]
81cd6b06f96 nixos/nginx: add default listen port options [Curtis Jiang]
d9b1bde390e nixos: Fix fsck with systemd 251.6 and later [aszlig]
252ee601a3f python310Packages.mitmproxy-wireguard: 0.1.17 -> 0.1.18 [Fabian Affolter]
2832ad57861 python310Packages.mkdocstrings-python: 0.7.1 -> 0.8.0 [Fabian Affolter]
f7161f92ec1 ruff: 0.0.117 -> 0.0.118 [figsoda]
22dafab6506 firefox-esr-102-unwrapped: 102.4.0esr -> 102.5.0esr [Martin Weinelt]
28b268d34b5 firefox-bin-unwrapped: 106.0.5 -> 107.0 [Martin Weinelt]
8ec89ef1b50 firefox{,-bin}, thunderbird{,-bin}: Set meta.changelog [Martin Weinelt]
f3a8bb1ec80 firefox-unwrapped: 106.0.5 -> 107.0 [Martin Weinelt]
376bd0ebe09 python310Packages.griffe: 0.23.0 -> 0.24.0 [Fabian Affolter]
460e838124c python310Packages.growattserver: 1.2.3 -> 1.2.4 [Fabian Affolter]
d3f5b5a608c python310Packages.heatzypy: 2.1.1 -> 2.1.5 [Fabian Affolter]
47c355de3a0 python310Packages.google-nest-sdm: 2.0.0 -> 2.1.0 [Fabian Affolter]
e002041da0c python310Packages.airthings-ble: 0.5.2 -> 0.5.3 [Fabian Affolter]
adb97478318 flightgear: Fix missing libcurl depedency [Ivan Jager]
8d9763d043a mate.caja-extensions: Fix wrong schema path [Bobby Rong]
aa3396dc321 mate.caja-extensions: Fix failed substitution [Bobby Rong]
65967fa684f python310Packages.asyncio-mqtt: enable tests [Fabian Affolter]
d7546e1813c python310Packages.aiomysensors: 0.3.2 -> 0.3.3 [Fabian Affolter]
066bb437c93 python310Packages.asyncio-mqtt: 0.13.0 -> 0.14.0 [Fabian Affolter]
ea58c46e4f1 python310Packages.stevedore: 4.1.0 -> 4.1.1 [Fabian Affolter]
d82962c6927 libfixposix: 0.4.3 -> 0.5.1 [R. Ryantm]
bfdffa623ea baresip: 2.8.2 -> 2.9.0 [R. Ryantm]
8dc7d564aa9 gammu: fix script dependencies on bash and dialog [Markus S. Wamser]
4d19f1f3d42 organicmaps: 2022.09.22-3 -> 2022.11.02-2 [Francesco Gazzetta]
19:21:28
@k900:0upti.meK900Nothing jumps out to me19:21:32
@k900:0upti.meK900Oh wait19:21:40
@k900:0upti.meK900d9b1bde390e19:21:54
@k900:0upti.meK900Yep that adds util-linux to fsPackages19:22:05
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgoh uh19:22:26
@k900:0upti.meK900So presumably we're ending up with two util-linux somewhere19:22:27
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgthat's maybe not so great19:22:29
@k900:0upti.meK900util-linuxen?19:22:30
@k900:0upti.meK900util-linuxes?19:22:32
@elvishjerricco:matrix.org@elvishjerricco:matrix.org we're currently just adding all fsPackages to initrd 19:22:48
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgwell, their bins anyway19:23:01
@k900:0upti.meK900I'm just guessing we have one already19:23:04
@k900:0upti.meK900And we're adding another one19:23:08

Show newer messages


Back to Room ListRoom Version: 6