| 7 Dec 2022 |
@elvishjerricco:matrix.org | right, but like how can it import without getting the luks password... | 21:23:03 |
@elvishjerricco:matrix.org | it actually can't | 21:23:07 |
@hexa:lossy.network | correct | 21:23:11 |
@hexa:lossy.network | but after import is the first time I can actually rollback | 21:23:20 |
@hexa:lossy.network | well, I was wrong? 😄 | 21:24:15 |
@hexa:lossy.network | last working generation is 11 gens ago ⏲️ | 21:24:41 |
@hexa:lossy.network |
| 21:25:52 |
@hexa:lossy.network | the rollback unit still gets started even before luks asks for my password | 21:26:08 |
@elvishjerricco:matrix.org | Right, that's why it needs to be ordered after the import service | 21:26:23 |
@elvishjerricco:matrix.org | I don't think we're doing zfs-import.target right | 21:26:29 |
@hexa:lossy.network | ah ok | 21:26:34 |
@elvishjerricco:matrix.org | so try after zfs-import-poolname.service | 21:26:42 |
@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 |