Bug 133840
Summary: | htdig will not run | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Daniel Fisher <dfisher> | ||||
Component: | htdig | Assignee: | Adam Tkac <atkac> | ||||
Status: | CLOSED ERRATA | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3.0 | CC: | benl, jorton, ovasik, rbiba | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | s390x | ||||||
OS: | Linux | ||||||
Whiteboard: | RHEL3U7NAK | ||||||
Fixed In Version: | RHBA-2007-0026 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-06-11 18:48:55 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: | |||||||
Bug Blocks: | 189875 | ||||||
Attachments: |
|
Description
Daniel Fisher
2004-09-27 20:27:04 UTC
I am able to reproduce this bug finally on 64 bit archs like x86_64 and s390x. I've already scheduled a htdig errata for the next quarterly update and hope to be able to fix this bug til then. Will keep the status here in this bz. Read ya, Phil Any update on this? htdig doesn't work on ia64 either. Any progress on this item? The bug is due to __os_fileid failing in the ancient BDB-2.6.4 sources bundled with htdig: /* Check for the unthinkable. */ if (sizeof(sb.st_ino) + sizeof(sb.st_dev) + sizeof(time_t) > DB_FILE_ID_LEN) return (EINVAL); where 8 + 8 + 8 > 20 and the "unthinkable" happens. Newer BDBs have an __os_fileid which copes with this. Excelent catch, Joe! Do you have a suggestion on how to fix it, too? Because i think including a newer BDB version won't be easy... Read ya, Phil Created attachment 110009 [details]
BDB __os_fileid fix for 64-bit platforms
Here's a slightly ugly workaround for __os_fileid on 64-bit platforms, which
maintains exactly the same behaviour on 32-bit platforms, though I'm not sure
if that is actually necessary.
This needs to be properly regression tested across upgrades on 32-bit
platforms.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0026.html |