http://bugzilla.opensuse.org/show_bug.cgi?id=975913 Bug ID: 975913 Summary: Disabling IPv6 breaks lftp Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: x86-64 OS: openSUSE 42.1 Status: NEW Severity: Normal Priority: P5 - None Component: Network Assignee: bnc-team-screening@forge.provo.novell.com Reporter: jdelvare@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- After disabling IPv6, lftp is unable to connect to any remote server. It fails with error message: Cannot assign requested address The reason is that it tries to resolve the name as an IPv6 address and fails. This can be worked around by adding the following statement to ~/.lftp/rc: set dns:order inet This replaces the default setting "inet6 inet". I do not think the user should have to tweak ~/.lftp/rc manually. It makes no sense to attempt to resolve names to IPv6 addresses when IPv6 is disabled. So either the default should become "inet" when IPv6 is disabled, or "inet6" should be silently skipped when IPv6 is disabled (slight implementation difference, same net result.) Or maybe it is a bug that the error is fatal. After all, if dns:order can be set to a list, I would expect that all entries in that list are tried before returning with a failure. -- You are receiving this mail because: You are on the CC list for the bug.