i wonder if we have a race somewhere, for example. On first boot zfs cache is out of date. And zfs mount generator doesn't generate mounts for all the mounted file systems.
then the first daemon-reload ever, will happen after zfs cache is populated and the zfs volumes are emitted for the first time.
maybe something like mounting all subvolumes should happen from initrd. as part of pivot root.
or at least building zfs cache, such that first boot's generators run is correct.
subsequent boots are fine.
i wonder if we have a race somewhere, for example. On first boot zfs cache is out of date. And zfs mount generator doesn't generate mounts for all the mounted file systems.
then the first daemon-reload ever, will happen after zfs cache is populated and the zfs volumes are emitted for the first time.
maybe something like mounting all subvolumes should happen from initrd. as part of pivot root.
or at least building zfs cache, such that first boot's generators run is correct.