As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
AIRCRAFT NOT GROUNDED. HOT OILY SMELL IN COCKPIT AND CABIN LEVELING 5000 FEET, LASTED APPROXIMATELY 8-10 MINUTES. SMELL SEEMED TO DISSIPATE LEVELING 4000 FEET. SMELLED AGAIN AFTER LANDING WITH #2 ENGINE SHUT DOWN AND APU ON. ALL ENGINE INDICATIONS NORMAL. REPLACED AFT CARGO DOOR SELECTOR VALVE PER AMM 25-54-00.