Bug 512351

Summary: Installation of nss-mdns.i586 on x86_64 breaks hostname resolution for ssh
Product: [Fedora] Fedora Reporter: Tomas Lestach <tlestach>
Component: nss-mdnsAssignee: Lennart Poettering <lpoetter>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 11CC: benl, cbredesen, lpoetter
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-22 23:30:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
strace log none

Description Tomas Lestach 2009-07-17 13:39:28 UTC
Created attachment 354143 [details]
strace log

Description of problem:
Installation of nss-mdns.i586 on a 64bit F11 disallows usage of of ssh and other network services.

Version-Release number of selected component (if applicable):
nss-mdns-0.10-7.fc11.i586

How reproducible:
always

Steps to Reproduce:
1. make sure you can ssh any host
# ssh <any_accessible_host>
(disconnect)
2. make sure you do not have nss-mdns.x86_64 installed
# yum erase -y nss-mdns.x86_64
3. install 32bit version
# yum install -y nss-mdns.i586
Install also dependencies (glibc.i686 and nss-softokn-freebl.i586).

4. # ssh <any_accessible_host>
ssh: Could not resolve hostname <any_accessible_host>: Name or service not known
# strace ssh <any_accessible_host> > strace_ssh
(strace_ssh attached)
5. # ping <any_accessible_host>
(ping accessible)
6. try to ssh <any_accessible_host> from another machine
(successful)
or make sure sshd runs on <any_accessible_host> 
7. # telnet <any_accessible_host> 22
telnet: <any_accessible_host>: Name or service not known
8. make sure dns servers work
# nslookup <any_accessible_host>
(successful)
# dig <any_accessible_host> 
(successful)
9. connect via ip address
# host <any_accessible_host>
# ssh <ip_address_of_any_accessible_host>
(successful)
10. check other network configuration files
...

11. yum erase -y nss-mdns.i586
12. # ssh <any_accessible_host>
(successfull)
13. # yum install -y nss-mdns.i586 nss-mdns.x86_64
14. # ssh <any_accessible_host>
(successfull)

Actual results:
If you have installed only 32bit version of nss-mdns on a x86_64 machine, network services like ssh are not accessible. You either have to have installed both 32bit and 64bit version or non of them to have ssh working.

Expected results:
ssh and other network services will be accessible also with installed 32bit nss-mdns only.

Additional info:
1.
Verified on 2 x86_64 machines with F11 (one of them was a fresh install)

2.
nss-mdns.i586 is required by chromium.

$ for i in `rpm -q --provides nss-mdns.i586`; do rpm -q --whatrequires $i; done;
no package requires libnss_mdns.so.2
no package requires libnss_mdns.so.2(NSSMDNS_0)
no package requires libnss_mdns4.so.2
no package requires libnss_mdns4.so.2(NSSMDNS_0)
no package requires libnss_mdns4_minimal.so.2
no package requires libnss_mdns4_minimal.so.2(NSSMDNS_0)
no package requires libnss_mdns6.so.2
no package requires libnss_mdns6.so.2(NSSMDNS_0)
no package requires libnss_mdns6_minimal.so.2
no package requires libnss_mdns6_minimal.so.2(NSSMDNS_0)
no package requires libnss_mdns_minimal.so.2
no package requires libnss_mdns_minimal.so.2(NSSMDNS_0)
no package requires nss-mdns
no package requires =
no package requires 0.10-7.fc11
chromium-3.0.195.0-0.1.20090716svn20889.fc11.i586
no package requires =
no package requires 0.10-7.fc11

Comment 1 Lennart Poettering 2009-07-22 23:30:29 UTC

*** This bug has been marked as a duplicate of bug 442047 ***