| 7 Dec 2022 |
@elvishjerricco:matrix.org | I don't remember if we actually pull zfs-import.target into initrd or not... Probably not? | 21:20:39 |
@hexa:lossy.network | well the pool gets imported 😄 | 21:22:08 |
@hexa:lossy.network | I see it happening | 21:22:12 |
@hexa:lossy.network | and that depends on luks | 21:22:26 |
@hexa:lossy.network | somehow | 21:22:29 |
@elvishjerricco:matrix.org | wut | 21:22:36 |
@hexa:lossy.network | boot.initrd.luks.devices... | 21:22:47 |
@hexa:lossy.network | and that the resulting device is the zpool | 21:22:58 |
@hexa:lossy.network | so somehow | 21:23:00 |
@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 |