I don't know the specifics - according to the article:
Originally Posted by BBC
The plane was banned from French airspace after inspectors found numerous faults in 2007, according to the then transport minister, Dominique Bussereau.
Several European countries had also found a number of problems when they inspected Yemenia aircraft prior to the crash.