We are still missing a LOT of details on this case.
Articles even say he killed 4 or 5 people (with others wounded). Since he killed himself, he may be among the 5 he killed. 4 didn’t deserve to die for his action.
Iraqi military reports said he was a soldier also working as an imam at a mosque on the base.