If it is peeling around the ceiling, my guess would be moisture infitration that is causing the paint to peel. Look for leaks on the roof, siding, plumbing. Check the insulation, the attic for moisture and condensation.
I'd say get rid of the moisture and the painting will not peel anymore.