Bug 849988

Summary: os.lstat() returns negative values for owner and/or group for huge UID/GIDs on i386
Product: Red Hat Enterprise Linux 7 Reporter: Branislav Náter <bnater>
Component: pythonAssignee: Bohuslav "Slavek" Kabrda <bkabrda>
Status: CLOSED CURRENTRELEASE QA Contact: Branislav Náter <bnater>
Severity: high Docs Contact:
Priority: high    
Version: 7.0   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-2.7.3-13.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 697470 Environment:
Last Closed: 2014-06-13 10:19:17 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:
Bug Depends On: 697470    
Bug Blocks: 628730, 682670    

Comment 5 Branislav Náter 2013-11-06 13:41:46 UTC
Bug is fixed in python-2.7.5-8.el7.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

test_getgrall (__main__.GrpTests) ... ok
test_getgrgid (__main__.GrpTests) ... ok
test_getgrnam (__main__.GrpTests) ... ok
test_chown (__main__.OsTests) ... ok
test_fchown (__main__.OsTests) ... ok
test_getegid (__main__.OsTests) ... ok
test_geteuid (__main__.OsTests) ... ok
test_getgid (__main__.OsTests) ... ok
test_getuid (__main__.OsTests) ... ok
test_lchown (__main__.OsTests) ... ok
test_lstat (__main__.OsTests) ... ok
test_setegid (__main__.OsTests) ... ok
test_seteuid (__main__.OsTests) ... ok
test_setgid (__main__.OsTests) ... ok
test_setgroups (__main__.OsTests) ... ok
test_setregid (__main__.OsTests) ... ok
test_setreuid (__main__.OsTests) ... ok
test_setuid (__main__.OsTests) ... ok
test_stat (__main__.OsTests) ... ok
test_getpwall (__main__.PwdTests) ... ok
test_getpwnam (__main__.PwdTests) ... ok
test_getpwuid (__main__.PwdTests) ... ok

----------------------------------------------------------------------
Ran 22 tests in 0.335s

OK
:: [   PASS   ] :: Running the test (Expected 0, got 0)

Comment 6 Ludek Smid 2014-06-13 10:19:17 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.