Hide Forgot
Description of problem: The timestamp field in RHEL7 does not accept floating point numbers, whereas RHEL6 will generate them. Version-Release number of selected component (if applicable):createrepo-0.9.9-22.el6 How reproducible: Steps to Reproduce: 1. modifyrepo filename repodata where filename will produce a float for stat_mtime 2. 3. Actual results: <data type="updateinfo"> <checksum type="sha256">f82d07b2163b11f50b2d0b6f08282e7d852357eda815fb0b699275d2045e8a61</checksum> <open-checksum type="sha256">8c1194826261ed589d4fc4e9a2f07a4b6dcb90886f2ebd82d2c14232c7ef1992</open-checksum> <location href="repodata/updateinfo.xml.bz2"/> <timestamp>1472837835.89</timestamp> <size>83999</size> </data> Expected results: <data type="updateinfo"> <checksum type="sha256">f82d07b2163b11f50b2d0b6f08282e7d852357eda815fb0b699275d2045e8a61</checksum> <open-checksum type="sha256">8c1194826261ed589d4fc4e9a2f07a4b6dcb90886f2ebd82d2c14232c7ef1992</open-checksum> <location href="repodata/updateinfo.xml.bz2"/> <timestamp>1472837835</timestamp> <size>83999</size> </data> Additional info: RHEL7 uses this code in modifyrepo.py new_rd.timestamp = str(int(os.stat(destmd).st_mtime)) whereas RHEL6 uses new_rd.timestamp = str(os.stat(destmd).st_mtime)
createrepo-0.9.9-26.el6 still contains this behavior
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available. The official life cycle policy can be reviewed here: http://redhat.com/rhel/lifecycle This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL: https://access.redhat.com/