!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

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

Load older messages


SenderMessageTime
7 Dec 2022
@hexa:lossy.network@hexa:lossy.networksame with after zfs-import-zpool.service21:27:54
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgyea wtf nixos doesn't do zfs-import.target right at all, even in stage 221:27:57
@elvishjerricco:matrix.org@elvishjerricco:matrix.org hexa: What does systemctl status zfs-import-zpool.service say in the emergency shell? 21:31:14
@hexa:lossy.network@hexa:lossy.networkhm, difficult … it continues booting after failing to rollbakc21:31:32
@hexa:lossy.network@hexa:lossy.networkso I need to break it again, give me a second 😄21:31:40
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgit should still fail to boot and drop you into the emergency shell, shouldn't it?21:32:01
@hexa:lossy.network@hexa:lossy.networkit does not 😄21:32:35
@hexa:lossy.network@hexa:lossy.networkit just boots21:32:42
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgoh21:32:46
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgright21:32:48
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgbecause it's not rolling back and vanishing the mountpoints21:32:58
@hexa:lossy.network@hexa:lossy.networki think so21:33:07
@elvishjerricco:matrix.org@elvishjerricco:matrix.org once booted you can jump into journalctl -b 0 to see logs from the boot, including initrd 21:34:05
@hexa:lossy.network@hexa:lossy.networkoh21:34:19
@hexa:lossy.network@hexa:lossy.networkneat21:34:43
@elvishjerricco:matrix.org@elvishjerricco:matrix.org hexa: Do you see anything in the journal about your rollback service? 21:38:02
@hexa:lossy.network@hexa:lossy.network1 min21:38:31
@hexa:lossy.network@hexa:lossy.network
Dec 07 21:38:52 localhost systemd[1]: impermanence-root.service: Main process exited, code=exited, status=1/FAILURE
Dec 07 21:38:52 localhost systemd[1]: impermanence-root.service: Failed with result 'exit-code'.
Dec 07 21:38:52 localhost systemd[1]: Failed to start impermanence-root.service.
21:40:29
@hexa:lossy.network@hexa:lossy.network *
Dec 07 21:38:52 localhost systemd[1]: Starting impermanence-root.service...
Dec 07 21:38:52 localhost systemd[1]: Starting Create List of Static Device Nodes...
Dec 07 21:38:52 localhost systemd[1]: Starting Journal Service...
Dec 07 21:38:52 localhost systemd[1]: Starting Load Kernel Modules...
Dec 07 21:38:52 localhost systemd[1]: Starting Coldplug All udev Devices...
Dec 07 21:38:52 localhost systemd[1]: impermanence-root.service: Main process exited, code=exited, status=1/FAILURE
Dec 07 21:38:52 localhost systemd[1]: impermanence-root.service: Failed with result 'exit-code'.
Dec 07 21:38:52 localhost systemd[1]: Failed to start impermanence-root.service.
21:40:46
@elvishjerricco:matrix.org@elvishjerricco:matrix.org hmph, nothing useful in the journal. But that's definitely starting way too early 21:41:15
@hexa:lossy.network@hexa:lossy.networkyep21:41:36
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgYou sure you put the right ordering constraint?21:41:41
@hexa:lossy.network@hexa:lossy.networkno21:42:14
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Search the journal for zfs-import, just to make sure you've got the name zfs-import-zpool.service correct 21:42:43
@hexa:lossy.network@hexa:lossy.network
Dec 07 21:38:58 nixos systemd[1]: zfs-import-zroot.service: Deactivated successfully.
21:42:46
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgzroot, not zpool?21:43:03
@hexa:lossy.network@hexa:lossy.networkyes21:43:09
@hexa:lossy.network@hexa:lossy.networksometimes I also have zhome 🙂21:43:19
@elvishjerricco:matrix.org@elvishjerricco:matrix.org You said earlier you used zfs-import-zpool.service, so that should be zfs-import-zroot.service 21:43:34
@hexa:lossy.network@hexa:lossy.networkoh boy 21:43:46

Show newer messages


Back to Room ListRoom Version: 6