Bug 1367234
Summary: | smartmontools fails to update drive DB. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Keigo Noha <knoha> |
Component: | smartmontools | Assignee: | Michal Hlavinka <mhlavink> |
Status: | CLOSED ERRATA | QA Contact: | Vaclav Danek <vdanek> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.8 | CC: | aizmaylov, christian.franke, mhlavink, psklenar, qe-baseos-daemons, vdanek |
Target Milestone: | rc | Keywords: | EasyFix |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | smartmontools-5.43-3.el6 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1364830 | Environment: | |
Last Closed: | 2017-03-21 11:13:46 UTC | Type: | Bug |
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: | 1364830 | ||
Bug Blocks: |
Description
Keigo Noha
2016-08-16 02:04:41 UTC
The issue occurs on RHEL6 latest smartmontools also. The URL need to be updated. update-smart-drivedb shell script can not accept the latest drivedb.h. The valid drivedb is https://sourceforge.net/p/smartmontools/code/HEAD/tree/tags/RELEASE_5_43/smartmontools/drivedb.h?format=raw (In reply to Keigo Noha from comment #2) > The valid drivedb is > https://sourceforge.net/p/smartmontools/code/HEAD/tree/tags/RELEASE_5_43/ > smartmontools/drivedb.h?format=raw This would downgrade drivedb.h to the original version from the 5.43 source tarball. Please use the branch URL instead: https://sourceforge.net/p/smartmontools/code/HEAD/tree/branches/RELEASE_5_43_DRIVEDB/smartmontools/drivedb.h?format=raw See also: https://www.smartmontools.org/wiki/Download#Updatethedrivedatabase The current (reworked) update script allows to select alternative URLs (SVN, Sourceforge, Trac). This script could be used also for older releases if BRANCH is set accordingly: $ ./configure --with-PACKAGE_SPECIFIC_SETTINGS $ make update-smart-drivedb $ sed -i 's,RELEASE_.*_DRIVEDB,RELEASE_5_43_DRIVEDB,' update-smart-drivedb Hi Christian, thanks for your input, it's always appreciated. I have already prepared fix that uses backported update script as you've suggested. You're welcome. BTW, I'm working on a new script which improves security: https://www.smartmontools.org/ticket/751 This script will also work with older releases. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2017-0724.html |