The proto-neutron-star dynamo. Viability and impediments