Terrorism is out of the question here. But I don't know what the religion of the boy is, and as I have suspected, the kid has difficulty integrating with the schools and have issues with some of this fellow students. But the important thing to notice here is, how the hell the boy have so many weapons in his arsenal and just walking around school premises with it? France has a very strict law on guns and needed permits to get one. So I think the need to review their law and investigate more on how the kid get his gun. Good thing that no one died, but the next time maybe they would not be so lucky.
Parents now pay very little attention to their children and therefore there are some moments when schools are bad for children, a bit unlike others or in other situations, some are trying to offend others severely. This should not be. The words of young people are not considered and can cause more harm to the psyche. Therefore the offended take up arms.