Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684160 - sys-apps/smartmontools-7.0-r1: enable update_drivedb USE by default
Summary: sys-apps/smartmontools-7.0-r1: enable update_drivedb USE by default
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-23 07:40 UTC by Pacho Ramos
Modified: 2021-01-02 20:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2019-04-23 07:40:06 UTC
In all my systems I have got this:
WARN: postinst
WARNING: There's already a drive database in '/var/db/smartmontools'!
Because we cannot determine if this database is untouched
or was modified by the user you have to manually update the
drive database:

a) Replace '/var/db/smartmontools/drivedb.h' by the database shipped with this
   release which can be found in '/usr/share/smartmontools/drivedb.h', i.e.

     cp "/usr/share/smartmontools/drivedb.h" "/var/db/smartmontools"

b) Run the following command as root:

     /usr/sbin/update-smart-drivedb

However, 'update-smart-drivedb' requires that you re-emerge smartmontools
with USE='update_drivedb'.

I think most people will need to follow that steps and run update-smart-drivedb, hence, I think the USE should be enabled by default

Thanks
Comment 1 Pacho Ramos gentoo-dev 2019-12-26 10:39:03 UTC
Any news on this? Thanks
Comment 2 Troy Bowman 2020-01-26 01:52:14 UTC
+1 vote for update-smart-drivedb by default.  What do we save by not installing it by default?  The script is 15KB in size.  Is it really that big of a deal to just install it and omit the use-flag overkill?
Comment 3 Pacho Ramos gentoo-dev 2020-09-19 20:48:58 UTC
ping
Comment 4 Larry the Git Cow gentoo-dev 2021-01-02 20:24:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbb4c3e23a636402c56c0158d715328d64f1d172

commit fbb4c3e23a636402c56c0158d715328d64f1d172
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-01-02 20:20:10 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-01-02 20:24:39 +0000

    sys-apps/smartmontools: Bump to version 7.2
    
    - Renamed "update_drivedb" USE flag to "update-drivedb" (#695108)
    - Enabled "update-drivedb" USE flag by default (#684160)
    - USE="static" fails with USE="systemd" - exclude each other (#683328)
    
    Bug: https://bugs.gentoo.org/695108
    Closes: https://bugs.gentoo.org/684160
    Closes: https://bugs.gentoo.org/683328
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-apps/smartmontools/Manifest                 |   1 +
 sys-apps/smartmontools/metadata.xml             |   1 +
 sys-apps/smartmontools/smartmontools-7.2.ebuild | 151 ++++++++++++++++++++++++
 3 files changed, 153 insertions(+)