M14 Shooter
The Light of Truth
It isn't necessarily illegal for "obvious lunatics" to have a gun.Well, pretty clearly we do not. Most of the mass shootings of late have happened because the system failed to identify obvious lunatics.

No.The system does not function because death is the hottest commodity these days.
The system does work because it is impossible to enact a law that will prevent someone from breaking another law.
That is, the failure is conceptual, not mechanical.