| 7 Dec 2022 |
@hexa:lossy.network | same with after zfs-import-zpool.service | 21:27:54 |
@elvishjerricco:matrix.org | yea wtf nixos doesn't do zfs-import.target right at all, even in stage 2 | 21:27:57 |
@elvishjerricco:matrix.org | hexa: What does systemctl status zfs-import-zpool.service say in the emergency shell? | 21:31:14 |
@hexa:lossy.network | hm, difficult … it continues booting after failing to rollbakc | 21:31:32 |
@hexa:lossy.network | so I need to break it again, give me a second 😄 | 21:31:40 |
@elvishjerricco:matrix.org | it should still fail to boot and drop you into the emergency shell, shouldn't it? | 21:32:01 |
@hexa:lossy.network | it does not 😄 | 21:32:35 |
@hexa:lossy.network | it just boots | 21:32:42 |
@elvishjerricco:matrix.org | oh | 21:32:46 |
@elvishjerricco:matrix.org | right | 21:32:48 |
@elvishjerricco:matrix.org | because it's not rolling back and vanishing the mountpoints | 21:32:58 |
@hexa:lossy.network | i think so | 21:33:07 |
@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 | oh | 21:34:19 |
@hexa:lossy.network | neat | 21:34:43 |
@elvishjerricco:matrix.org | hexa: Do you see anything in the journal about your rollback service? | 21:38:02 |
@hexa:lossy.network | 1 min | 21:38:31 |
@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 | * 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 | hmph, nothing useful in the journal. But that's definitely starting way too early | 21:41:15 |
@hexa:lossy.network | yep | 21:41:36 |
@elvishjerricco:matrix.org | You sure you put the right ordering constraint? | 21:41:41 |
@hexa:lossy.network | no | 21:42:14 |
@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 | Dec 07 21:38:58 nixos systemd[1]: zfs-import-zroot.service: Deactivated successfully.
| 21:42:46 |
@elvishjerricco:matrix.org | zroot, not zpool? | 21:43:03 |
@hexa:lossy.network | yes | 21:43:09 |
@hexa:lossy.network | sometimes I also have zhome 🙂 | 21:43:19 |
@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 | oh boy | 21:43:46 |