Sysadmin Team
2016-10-07 23:46:20 UTC
Hello!
We are having an issue with /usr/sbin/update-smart-drivedb with package:
# rpm -qf /usr/sbin/update-smart-drivedb
smartmontools-5.43-1.el6.x86_64
CentOS 6.7 x86_64
It appears that the SRCEXPR points to the wrong URL, for example:
SRCEXPR='http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/$location/smartmontools/drivedb.h?revision=HEAD'
This should be:
SRCEXPR='https://sourceforge.net/p/smartmontools/code/HEAD/tree/$location/smartmontools/drivedb.h?format=raw';
~ curl -I "http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/trunk/smartmontools/drivedb.h?revision=HEAD"
HTTP/1.1 302 Found
Server: nginx
Date: Fri, 07 Oct 2016 23:45:43 GMT
Content-Type: text/html; charset=iso-8859-1
Connection: keep-alive
Location: http://sourceforge.net/p/smartmontools/code/
â ~ curl -I "https://sourceforge.net/p/smartmontools/code/HEAD/tree/trunk/smartmontools/drivedb.h?format=raw"
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 07 Oct 2016 23:45:57 GMT
Content-Type: text/x-chdr; charset=utf-8
Connection: close
Pragma: no-cache
Cache-Control: no-cache
Content-Disposition: attachment;filename="drivedb.h"
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Just notifying the list of this issue, so it can be corrected in the next update.
We are having an issue with /usr/sbin/update-smart-drivedb with package:
# rpm -qf /usr/sbin/update-smart-drivedb
smartmontools-5.43-1.el6.x86_64
CentOS 6.7 x86_64
It appears that the SRCEXPR points to the wrong URL, for example:
SRCEXPR='http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/$location/smartmontools/drivedb.h?revision=HEAD'
This should be:
SRCEXPR='https://sourceforge.net/p/smartmontools/code/HEAD/tree/$location/smartmontools/drivedb.h?format=raw';
~ curl -I "http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/trunk/smartmontools/drivedb.h?revision=HEAD"
HTTP/1.1 302 Found
Server: nginx
Date: Fri, 07 Oct 2016 23:45:43 GMT
Content-Type: text/html; charset=iso-8859-1
Connection: keep-alive
Location: http://sourceforge.net/p/smartmontools/code/
â ~ curl -I "https://sourceforge.net/p/smartmontools/code/HEAD/tree/trunk/smartmontools/drivedb.h?format=raw"
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 07 Oct 2016 23:45:57 GMT
Content-Type: text/x-chdr; charset=utf-8
Connection: close
Pragma: no-cache
Cache-Control: no-cache
Content-Disposition: attachment;filename="drivedb.h"
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Just notifying the list of this issue, so it can be corrected in the next update.