| 7 Dec 2022 |
@hexa:lossy.network | wantedby initrd.target, before sysroot.mounts => odering cycle found, skipping Local File Systems | 21:16:23 |
@elvishjerricco:matrix.org | oh | 21:16:35 |
@elvishjerricco:matrix.org | If you're going to come before local-fs.target, you need DefaultDependencies=no, which also means you'll need to order after the import service | 21:17:10 |
@hexa:lossy.network | where do I set DefaultDeps=no? | 21:17:55 |
@elvishjerricco:matrix.org | unitConfig | 21:18:12 |
@hexa:lossy.network | ok | 21:18:15 |
@elvishjerricco:matrix.org | the ordering cycle is because the default dependencies of a unit include After=local-fs.target, and sysroot.mount has Before=local-fs.target | 21:18:41 |
@elvishjerricco:matrix.org | * the ordering cycle is because the default dependencies of a service include After=local-fs.target, and sysroot.mount has Before=local-fs.target | 21:18:49 |
@elvishjerricco:matrix.org | (more reasons we need to use initrd-fs.target instead of local-fs.target...) | 21:19:49 |
@hexa:lossy.network | cool 😄 now it starts quite early and fails | 21:19:50 |
@elvishjerricco:matrix.org | oof | 21:19:57 |
@hexa:lossy.network | even before luks | 21:20:00 |
@hexa:lossy.network | so after zfs-import.target | 21:20:10 |
@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 |