Bug 186754

Summary: ia32el: opendir() not open the correct directory if the directory name can be found in /emul/ia32-linux directory
Product: Red Hat Enterprise Linux 4 Reporter: joan <joan_cn>
Component: ia32elAssignee: Petr Machata <pmachata>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 4.0CC: eric.lin, mnewsome
Target Milestone: ---   
Target Release: ---   
Hardware: ia64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-27 09:27:05 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:

Description joan 2006-03-26 03:16:44 UTC
Description of problem:
opendir() work abnormal with ia32el service.

Version-Release number of selected component (if applicable):
1.3.2

How reproducible:
Use opendir(), whenever we pass a absolute path name(eg./usr/share)or relative 
path name, it will try to open the path on /emul/ia32-linux/usr/share first, if 
the directory is not exist on /emul/ia32-linux/, then it going to 
open /usr/share, this is the key. 


Steps to Reproduce:
1.
2.
3.
  
Actual results:
opendir() not open the correct direcotry if the directory also exists 
in /emul/ia32-linux/ directory. This will cause the 32bit program work abnormal 
in 64bit environment.

Expected results:
opendir() can open the correct directory on ia64 platform.



Additional info:

Comment 1 Jakub Jelinek 2006-03-27 09:27:05 UTC

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