Public bug reported:
The update-smart-drivedb command overwrites
/var/lib/smartmontools/drivedb/drivedb.h which is a file installed by
the package. This means that reinstalling or upgrading the package from
a SRU may downgrade the drivedb. In general it's something packages
shouldn't do. After running update-smart-drivedb on Groovy `debsums
smartmontools` report that the package has a corrupted file:
/var/lib/smartmontools/drivedb/drivedb.h FAILED
The smartctl(8) manpage says that
If /var/lib/smartmontools/drivedb/drivedb.h is
present, the contents of this file is used instead
of the built in table.
So I think we should:
1. Make sure the built-in table is up-to-date with drivedb.h. I suppose
that file gets #included in the code when building, so this should be
the case.
2. Stop installing /var/lib/smartmontools/drivedb/drivedb.h and leave it
in full control of update-smart-drivedb.
** Affects: smartmontools (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1893202
Title:
update-smart-drivedb overwrites package installed file
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/smartmontools/+bug/1893202/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs