1) Loba, 2) dosa, 3) moha lead to -ve karma.
4) Aloba, 5) adosa, 6) amoha lead to +ve karma.
All the 6 items above are called the roots, and both +ve and -ve Karma lead to future existence:
- The -ve Karma themselves give experiences, which we perceive as -ve
- While +ve karma continues our existence (though the experiences we perceive as positive) which in combination with the other experiences unrelated to Karma, also having to part with positive experiences when the Karma is exhausted, leads to unsatisfactoriness.
The experience and perceiving the experience is the unsatisfactory part. Your understanding (that ignorance is dukkha) equates the cause with the effect: but this not how it is dealt with in the doctrine.