RIFA PME capacitors are not notorious for the fact of them failing. They are "notorious" for the fact of making it visibleDaim and Mex are some brands of plastic caps that tend to fail rather quickly. I've seen many of them which have lost their capacitance within 10 years of use. There are more. The only good thing about those, is that they don't go up in flames.
The most common other type of capacitor used nowadays are polyester X2 capacitors (from multiple manufacturers). Many of them last only a handful of years before failing, except they fail silently by electrically burning away the metallization on the film
As you say, it is of the utmost importance for the engineer to check the datasheet for what applications they are suitable. Many of these are used as a series capacitive dropper. Slowly but surely they then lose capacitance and eventually cause the device to quietly fail. Philips had a major recall for their Senseo coffee machines that failed in exactly this way.
There are other capacitor types with different dielectric which are more resistant against big voltage spikes you can find on the mains. I don't know which ones. FKP, MKP, MKT...
Either way, for anyone replacing these things in lighting fixtures, get an X2 or Y2 type, and preferably a Wima, Panasonic or other good brand. I wouldn't put another Rifa PME back into it. It might last another 20-30 years which for some may be plenty, but if that fixture is sold to another person who doesn't know it, they might simply throw it away if it starts smoking.
My parents have thrown away a BEAUTIFUL kitchen mixer in my childhood because its suppression cap burnt out. They didn't know how to fix stuff and that it's not the motor that burnt out, so even if you get it to a professional repair person it would be a cheap fix, and i was 10 or so so i could take it apart but i didn't know what caused the smoke. It was a very heavy AEG machine, early 70s, very powerful. I somehow remember the chassis as being made from ceramic, but it may also have been white bakelite.