If lo is up but CUPS is down, samba will get an immediate 'connection refused' and move on. The problem in this case is that samba has *tried* to connect to localhost, and is getting no answer back - this can only happen if the system's routing tables are misconfigured in such a way that the kernel keeps trying, and failing, to reach 127.0.0.1.
If all your network interfaces are down, the connect() should fail with ENETUNREACH. If your network interfaces are up but cups is not running, connect() fails with ECONNREFUSED. Only when traffic for 127.0.0.1 is being routed somewhere unusual would the connect() hang indefinitely. (Actually, it should only hang for the length of the TCP timeout - which is on the order of a few minutes, so long enough.) -- SMBD hangs on startup if lo is down https://bugs.launchpad.net/bugs/174211 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
