2012-01-09 19:02:41 |
James Ferguson |
bug |
|
|
added bug |
2012-01-09 19:04:11 |
James Ferguson |
summary |
Jockey will fail against local disk archive (regression in -proposed) |
Jockey will fail against local disk archive |
|
2012-01-09 19:04:42 |
James Ferguson |
description |
Ubuntu 11.10
Jockey from oneiric-proposed: 0.9.4-0ubuntu10.1
I'm chasing another problem, but some logic in the -proposed version looks problematic:
The new code in OSLib::has_repositories assumes URIs - "://" from apt-cache policy. If the archive is file based it will be "file:/foo/bar/..." and so will not satisfy the test.
Local on-disk archives are used a lot in OEM on customer's first boot. |
Ubuntu 11.10
Jockey 0.9.4-0ubuntu10
I'm chasing another problem, but some logic looks problematic:
The code in OSLib::has_repositories assumes URIs - "://" from apt-cache policy. If the archive is file based it will be "file:/foo/bar/..." and so will not satisfy the test.
Local on-disk archives are used a lot in OEM on customer's first boot. |
|
2012-01-09 19:25:58 |
James Ferguson |
description |
Ubuntu 11.10
Jockey 0.9.4-0ubuntu10
I'm chasing another problem, but some logic looks problematic:
The code in OSLib::has_repositories assumes URIs - "://" from apt-cache policy. If the archive is file based it will be "file:/foo/bar/..." and so will not satisfy the test.
Local on-disk archives are used a lot in OEM on customer's first boot. |
Ubuntu 11.10
Jockey 0.9.4-0ubuntu10
Some logic looks problematic and is causing jockey to fail to find drivers on our on-disk repositories.
The code in OSLib::has_repositories assumes URIs - "://" from apt-cache policy. If the archive is file based it will be "file:/foo/bar/..." and so will not satisfy the test.
Local on-disk archives are used a lot in OEM on customer's first boot.
----
There is also a similar problem in the detection.py code - DriverDB::_cache_id(self), which also assumes a "://". When I altered it to this (along with fixing the above) jockey worked as I expected:
m = re.match(".*::/{1,2}(.*)")
if m:
u = m.group(1)
But I'm not sure if that's sufficiently tight? Perhaps ".*(file:/|://)(.*)", and then group(2)? |
|
2012-01-10 13:56:28 |
James Ferguson |
description |
Ubuntu 11.10
Jockey 0.9.4-0ubuntu10
Some logic looks problematic and is causing jockey to fail to find drivers on our on-disk repositories.
The code in OSLib::has_repositories assumes URIs - "://" from apt-cache policy. If the archive is file based it will be "file:/foo/bar/..." and so will not satisfy the test.
Local on-disk archives are used a lot in OEM on customer's first boot.
----
There is also a similar problem in the detection.py code - DriverDB::_cache_id(self), which also assumes a "://". When I altered it to this (along with fixing the above) jockey worked as I expected:
m = re.match(".*::/{1,2}(.*)")
if m:
u = m.group(1)
But I'm not sure if that's sufficiently tight? Perhaps ".*(file:/|://)(.*)", and then group(2)? |
Ubuntu 11.10
Jockey 0.9.4-0ubuntu10
Some logic looks problematic and is causing jockey to fail to find drivers on our on-disk repositories. Local on-disk archives are used a lot in OEM on customer's first boot. We are currently carrying patches to Jockey for a number of OEM projects to get around this.
I have found 3 issues in the code related to this:
1. The code in OSLib::has_repositories assumes URIs - "://" from apt-cache policy. If the archive is file based it will be "file:/foo/bar/..." and so will not satisfy the test.
2. There is also a similar problem in the detection.py code - DriverDB::_cache_id(self), which also assumes a "://". When I altered it to this (along with fixing the above) jockey worked as I would hope:
m = re.match(".*::/{1,2}(.*)")
if m:
u = m.group(1)
But I'm not sure if that's sufficiently tight? Perhaps ".*(file:/|://)(.*)", and then group(2)?
3. The on-disk binary drivers will be unsigned, so will fail. I would think an appropriate solution would be to allow the signature checking to be turned off with a command line option. |
|
2012-01-10 14:43:09 |
James Ferguson |
bug task added |
|
oem-priority |
|
2012-01-10 14:43:22 |
James Ferguson |
oem-priority: importance |
Undecided |
High |
|
2012-01-10 14:43:32 |
James Ferguson |
oem-priority: status |
New |
Confirmed |
|
2012-01-10 14:45:05 |
James Ferguson |
bug |
|
|
added subscriber OEM Priority Team |
2012-01-10 14:45:25 |
James Ferguson |
oem-priority: status |
Confirmed |
New |
|
2012-01-10 16:01:23 |
James M. Leddy |
oem-priority: status |
New |
Incomplete |
|
2012-01-10 16:01:26 |
James M. Leddy |
jockey (Ubuntu): status |
New |
Incomplete |
|
2012-01-10 16:16:39 |
Kevin Krafthefer |
oem-priority: assignee |
|
Ursula Junque (ursinha) |
|
2012-01-10 16:24:31 |
Kevin Krafthefer |
tags |
|
rls-mgr-p-tracking |
|
2012-01-10 21:28:00 |
James Ferguson |
attachment added |
|
jockey.diff https://bugs.launchpad.net/ubuntu/+source/jockey/+bug/913927/+attachment/2666622/+files/jockey.diff |
|
2012-01-11 00:15:21 |
Ubuntu Foundations Team Bug Bot |
tags |
rls-mgr-p-tracking |
patch rls-mgr-p-tracking |
|
2012-01-11 00:15:28 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2012-01-11 13:35:00 |
James Ferguson |
tags |
patch rls-mgr-p-tracking |
rls-mgr-p-tracking |
|
2012-01-18 10:31:49 |
Martin Pitt |
jockey (Ubuntu): status |
Incomplete |
In Progress |
|
2012-01-18 10:31:55 |
Martin Pitt |
jockey (Ubuntu): assignee |
|
Martin Pitt (pitti) |
|
2012-01-18 10:31:59 |
Martin Pitt |
jockey (Ubuntu): importance |
Undecided |
Medium |
|
2012-01-23 14:19:25 |
Martin Pitt |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2012-01-23 20:25:59 |
Chris Van Hoof |
oem-priority: status |
Incomplete |
In Progress |
|
2012-01-25 19:05:12 |
Ursula Junque |
oem-priority: assignee |
Ursula Junque (ursinha) |
|
|
2012-02-13 21:49:01 |
Steve Magoun |
nominated for series |
|
oem-priority/precise |
|
2012-02-13 21:49:01 |
Steve Magoun |
bug task added |
|
oem-priority/precise |
|
2012-03-03 20:49:45 |
Martin Pitt |
tags |
rls-mgr-p-tracking |
rls-p-tracking |
|
2012-03-03 21:01:16 |
Launchpad Janitor |
branch linked |
|
lp:jockey |
|
2012-03-03 21:30:31 |
Martin Pitt |
jockey (Ubuntu): status |
In Progress |
Fix Committed |
|
2012-03-03 21:31:19 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-core-dev/jockey/ubuntu |
|
2012-03-03 21:35:16 |
Launchpad Janitor |
jockey (Ubuntu): status |
Fix Committed |
Fix Released |
|
2012-03-03 22:35:23 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/jockey |
|
2012-03-05 20:31:29 |
Kevin Krafthefer |
oem-priority: status |
In Progress |
Fix Released |
|
2012-03-05 20:31:44 |
Chris Van Hoof |
oem-priority/precise: status |
New |
Fix Released |
|