The problem here, of course, is that may very well be a time where this no state, or no state to speak of, or a state interested in opporessing its people, and the people of a cimmunity find it necessary to do exactly this. This sort of situation is perfectly within reasonable imagination, and is within the limit and scope of the reason behind the 2nd amendment -- that the people, without permission from the state, have the right to exerice their right to self-defense, individually and collectively.
After all, if the state supports tyranny, what point is there in securing the right to arms in order to form militia to resist said tyrannical state of that right is necessarily linked to permission from the state? This, of course, defeats the purpose of the 2nd in its entirety.