Bug#706909: fixed in smartmontools 6.1+svn3812-1

2015-11-30 Thread Jonathan Dowland
On Sat, Oct 03, 2015 at 06:57:31PM +0200, Paul Wise wrote:
> This isn't the way to fix this issue, the current mechanisms still lead to
> drivedb.h from the package being overwritten by downloaded data. Thedrivedb.h
> file should be shipped in the deb in /usr not /var. At package install/update
> time the copy in /var should be updated using the copy in /usr if it is newer
> than the copy in /usr. The update tool should only write to the copy in /var
> but only if the downloaded version is newer than the copy in /var.

I'm thinking that this should probably be resolved (as with #804299) by
removing the drivedb update feature from the Debian package and performing
drivedb updates via update Debian packages. I'm not yet sure whether it's
worth splitting the drivedb out of the main smartmontools package; I need
to think whether that would make backporting easier. I'm interested in any
others opinions on the issue (I guess follow-ups to #804299 would be most
appropriate).



Processed: Re: Bug#706909: fixed in smartmontools 6.1+svn3812-1

2015-10-03 Thread Debian Bug Tracking System
Processing control commands:

> found -1 6.3+svn4002-2
Bug #706909 {Done: Giuseppe Iuculano } [smartmontools] 
smartmontools: updated drivedb.h should go to /var
Marked as found in versions smartmontools/6.3+svn4002-2 and reopened.

-- 
706909: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706909
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#706909: fixed in smartmontools 6.1+svn3812-1

2015-10-03 Thread Paul Wise
Control: found -1 6.3+svn4002-2

On Sun, 02 Jun 2013 09:49:55 + Giuseppe Iuculano wrote:

>* [5ae3fa9] Use /var/lib/smartmontools/drivedb for drivedb.h updates
>  (Closes: #706909)
>* [c16ffdc] Create  /var/lib/smartmontools/drivedb dir

This isn't the way to fix this issue, the current mechanisms still lead
to drivedb.h from the package being overwritten by downloaded data. 
Thedrivedb.h file should be shipped in the deb in /usr not /var. At package 
install/update time the copy in /var should be updated using the copy in /usr 
if it is newer than the copy in /usr. The update tool should only write to the 
copy in /var but only if the downloaded version is newer than the copy in /var.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise




signature.asc
Description: This is a digitally signed message part