The Lebanese government says it will cooperate with a U.N. investigation into the killing of former prime minister Rafik Hariri .