!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
7 Dec 2022
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgBut also ZFS allows you to rollback a mounted dataset no problem21:01:00
@hexa:lossy.network@hexa:lossy.networkbut what does that mean for mountpoints that go missing?21:01:16
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgIt makes no sense to me that mountpoints are going missing :P21:01:52
@elvishjerricco:matrix.org@elvishjerricco:matrix.org hexa: In the emergency shell, does systemctl say the mount units are still active? 21:04:16
@hexa:lossy.network@hexa:lossy.networkyes21:05:01
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgAnything interesting in journalctl -u initrd-nixos-activation.service?21:05:55
@hexa:lossy.network@hexa:lossy.network20221207_220555_7472682676845992109.jpg
Download 20221207_220555_7472682676845992109.jpg
21:06:14
@hexa:lossy.network@hexa:lossy.network... does not look like a NixOS installation - not activating21:07:17
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgahhh21:07:28
@hexa:lossy.network@hexa:lossy.networkhm, /nix requiredForBoot? 😄21:07:41
@hexa:lossy.network@hexa:lossy.networknot sure if I set it or not 🙂21:08:06
@elvishjerricco:matrix.org@elvishjerricco:matrix.org No, I see it saying Mounting /sysroot/nix in one of those screenshots 21:08:27
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgIt's missing /etc/NIXOS21:08:32
@hexa:lossy.network@hexa:lossy.networkthat gets mounted via impermanence 😲21:08:56
@hexa:lossy.network@hexa:lossy.networkwell bind-mounted21:09:20
@hexa:lossy.network@hexa:lossy.network
In reply to @hexa:lossy.network
... does not look like a NixOS installation - not activating
this begins with /nix/store/....-sytem
21:10:01
@hexa:lossy.network@hexa:lossy.networkso I'm not sure how this would be about /etc/nixos21:10:12
@elvishjerricco:matrix.org@elvishjerricco:matrix.org hexa: Oh wait, I misremembered what generates that error. It's this: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/systemd/initrd.nix#L487 21:11:42
@elvishjerricco:matrix.org@elvishjerricco:matrix.org I guess that makes sense if you said /sysroot is empty? 21:12:22
@hexa:lossy.network@hexa:lossy.networki guess21:12:39
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI can't imagine why sysroot is empty though21:12:50
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Oh, I wonder if zfs rollback is erasing the mountpoints 21:13:36
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgSo maybe I was wrong when I suggested it doesn't matter much when the rollback happens :P21:13:53
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgIf the snapshot being rolled back to doesn't have those mountpoints, I'm not sure what happens...21:14:16
@hexa:lossy.network@hexa:lossy.networkmy point exactly 😄21:14:40
@elvishjerricco:matrix.org@elvishjerricco:matrix.org So I guess try adding before = ["sysroot.mount"]; 21:14:45
@hexa:lossy.network@hexa:lossy.networkthough I would expect them to get created during activation21:14:48
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgThat wouldn't help. If a file systems mountpoints simply vanish, then making new directories at the same path wouldn't be reviving the old mount points21:15:19
@elvishjerricco:matrix.org@elvishjerricco:matrix.org * That wouldn't help. If a file systems mountpoints simply vanish, then making new directories at the same path wouldn't be reviving the old mountpoints21:15:21
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI'm just... surprised it's possible to make mountpoints vanish21:15:31

Show newer messages


Back to Room ListRoom Version: 6