Bug 860302

Summary: Patch 102 in specfile from bug #735889 breaks link-local IPv6
Product: [Fedora] Fedora Reporter: Pavol Šimo <palo.simo>
Component: opensshAssignee: Petr Lautrbach <plautrba>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: mattias.ellert, mgrepl, plautrba, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-26 11:01:38 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:

Description Pavol Šimo 2012-09-25 09:59:47 EDT
Result of resolving the bug #735889 is the file openssh-5.8p1-getaddrinfo.patch

This patch breaks openssh client in environments where IPv6 is enabled, but no global IPv6 address is assigned (this is very common scenario - using only link local addresses).

$ ssh -6 fe80::4a5b:39ff:feca:3db1
ssh: Could not resolve hostname fe80::4a5b:39ff:feca:3db1: Name or service not known

$ ssh -6 fe80::4a5b:39ff:feca:3db1%eth0
ssh: Could not resolve hostname fe80::4a5b:39ff:feca:3db1%eth0: Name or service not known

Result without the patch:
$ ssh -6 fe80::4a5b:39ff:feca:3db1%eth0
Last login: .... (user logged in)
Comment 1 Petr Lautrbach 2012-10-26 11:01:38 EDT
$ rpm -q openssh
openssh-6.1p1-1.fc18.x86_64

$ ip -6 a s dev em1
2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
    inet6 fe80::f2de:f1ff:fe41:2ee9/64 scope link
       valid_lft forever preferred_lft forever

$ ssh -6 plautrba@fe80::221:9bff:fe36:7a22%em1
Last login: Fri Oct 26 16:57:27 2012 from fe80::f2de:f1ff:fe41:2ee9%eth0

$ finger | tail -n 1
plautrba  Petr Lautrbach   pts/20         Oct 26 16:58                           (fe80::f2de:f1ff:fe41:2ee9%eth0)