Bug#976696: smartmontools: install drivedb.h to /usr and copy into /var in postinst when missing/outdated

2021-01-08 Thread pn_bouteville
HI !!! I'm continuing to receive your email -Message d'origine- De : Paul Wise Envoyé : vendredi 8 janvier 2021 06:42 À : Dmitry Smirnov ; 976...@bugs.debian.org Objet : Bug#976696: smartmontools: install drivedb.h to /usr and copy into /var in postinst when missing/outdated On

Bug#976696: smartmontools: install drivedb.h to /usr and copy into /var in postinst when missing/outdated

2021-01-07 Thread Paul Wise
On Fri, 2021-01-08 at 01:24 +1100, Dmitry Smirnov wrote: > As you wish. I've left a TODO note in postinst regarding version > check and upstream needs to know about $Id value. I guess both bugs > could be of some use but mostly one about $Id value, especially if > filed upstream. I ended up

Bug#976696: smartmontools: install drivedb.h to /usr and copy into /var in postinst when missing/outdated

2021-01-07 Thread bouteville pierre-noel
Could you remove my email of your list? I already try normal procedure in past but it doesn’t work ! May be due to ‘_´ in my email? Envoyé de mon iPhone > Le 7 janv. 2021 à 15:27, Dmitry Smirnov a écrit : > > On Friday, 8 January 2021 12:29:06 AM AEDT Paul Wise wrote: >>> On Thu,

Bug#976696: smartmontools: install drivedb.h to /usr and copy into /var in postinst when missing/outdated

2021-01-07 Thread Dmitry Smirnov
On Friday, 8 January 2021 12:29:06 AM AEDT Paul Wise wrote: > On Thu, 2021-01-07 at 21:33 +1100, Dmitry Smirnov wrote: > > Makes sense, thanks. I'll probably implement unconditional > > replacement of "drivedb.h" at first, then think of version detection, > > if time allows. > > I noticed that

Bug#976696: smartmontools: install drivedb.h to /usr and copy into /var in postinst when missing/outdated

2021-01-07 Thread Paul Wise
On Thu, 2021-01-07 at 21:33 +1100, Dmitry Smirnov wrote: > Makes sense, thanks. I'll probably implement unconditional > replacement of "drivedb.h" at first, then think of version detection, > if time allows. I noticed that the file downloaded by update-smart-drivedb still does not contain a

Bug#976696: smartmontools: install drivedb.h to /usr and copy into /var in postinst when missing/outdated

2021-01-07 Thread Dmitry Smirnov
On Thursday, 7 January 2021 9:10:14 PM AEDT Paul Wise wrote: > When the drivedb.h gets automatically updated by update-smart-drivedb > then the next upgrade of smartmontools will get a conffile prompt that > will have to be manually resolved by a user who won't necessarily be > able to do that, so

Bug#976696: smartmontools: install drivedb.h to /usr and copy into /var in postinst when missing/outdated

2021-01-07 Thread Paul Wise
On Thu, 2021-01-07 at 20:58 +1100, Dmitry Smirnov wrote: > Good idea, thanks. What do you think about installing "drivedb.h" as > a conffile to "/etc/smartmontools"? When the drivedb.h gets automatically updated by update-smart-drivedb then the next upgrade of smartmontools will get a conffile

Bug#976696: smartmontools: install drivedb.h to /usr and copy into /var in postinst when missing/outdated

2021-01-07 Thread Dmitry Smirnov
On Monday, 7 December 2020 1:49:58 PM AEDT Paul Wise wrote: > Please install drivedb.h to /usr and then add code to the postinst that > will copy the /usr drivedb.h into /var when the /var drivedb.h is > either missing or is an older copy of the file. Good idea, thanks. What do you think about

Bug#976696: smartmontools: install drivedb.h to /usr and copy into /var in postinst when missing/outdated

2020-12-06 Thread Paul Wise
Package: smartmontools Version: 7.1-1 Severity: importantUsertags: varmisuse The current system of shipping drivedb.h in /var has some downsides:  * debsums will complain if the user has ever ran update-smart-drivedb  * if smartmontools is updated to a newer Debian revision after the    user ran