Comment 3 for bug 174211

Revision history for this message
Steve Langasek (vorlon) wrote : Re: SMBD hangs on startup if lo is down

Not related to upstream bug #4052.

port 631 is the ipp port. I can't reproduce this problem here with the current version of Samba, but it appears that your server is set up with 'load printers = yes' and is trying to read the list of available printers from the local cups server. Yes, if your system needs to connect to localhost and can't find a route to it, this is the behavior that will result. I submit that this is a misconfiguration of your network interfaces, not a bug in samba; if you had no network interfaces enabled, then at least the connection attempt would have failed immediately, but to have some network interfaces up without lo being one of them is going to confuse a number of applications, not just samba.

As a workaround, you can either bring the lo interface up (as it should be), or you should be able to stop samba from looking for cups on startup by setting 'load printers = no' or 'printing = bsd'. Either way, I don't think it's the samba package is responsible for compensating for misrouting of 127.0.0.1, so I'm marking this bug as invalid.