tspareme
Of course, the central bank (unless you are locked into a monetary union of course) can lend freely during a crisis. However, it must also be careful as to not trigger inflation or worse yet cause people to lose faith with your currency. There is also moral hazard as well but that's more of a soft issue.
The bigger issue is what happens if your bank liability is many times larger than your countries GDP. This was the case with Iceland or Britain. Then you can't print enough money to make your bank whole.
The key here is that for everyone in the world, the trade surplus and deficit must sum to zero. So someone has to run a trade deficit if German/Japan/China wants to run a trade surplus. German now wants the entire eurozone to run a trade surplus which means someone else must run a even bigger trade deficit.
BTW, it is in theory possible for Greece to run a government budget surplus but a trade deficit. This would mean that the private sector is loading up on the debt. Even in this case, the private sector is really the banks which has to be backstopped by the government anyway. So bank debt is just another form of government debt.
The financial crisis showed that bank liabilities are really liabilities of the country that the bank incorporates in. So in case of Ireland, Greece, Iceland, it is up to the country to step up and backstop their banks. If a country can not, then you will have panic on a bank. And in order for a country to be able to backstop their banks, the debt of the country must be credible.