Wood knots showing through gloss paint on knotty pine doors despite applying knotting solution prior to painting
Knotty pine is great if you like the look of knotty pine. It sucks for every other use. 

Otherwise, look into the line of Kilz products. They may have one that will do the job for you.