THE pilot onboard EgyptAir flight MS804 lit a cigarette in the cockpit, igniting oxygen leaking from an emergency mask.