[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
** Changed in: oem-priority Status: In Progress => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in OEM Priority Project: Fix Released Status in OEM Priority Project precise series: Fix Released Status in “jockey” package in Ubuntu: Fix Released Bug 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
** Changed in: oem-priority/precise Status: New => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in OEM Priority Project: Fix Released Status in OEM Priority Project precise series: Fix Released Status in “jockey” package in Ubuntu: Fix Released Bug 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
** Branch linked: lp:ubuntu/jockey -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in OEM Priority Project: In Progress Status in OEM Priority Project precise series: New Status in “jockey” package in Ubuntu: Fix Released Bug 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
** Changed in: jockey (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in OEM Priority Project: In Progress Status in OEM Priority Project precise series: New Status in “jockey” package in Ubuntu: Fix Released Bug 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
This bug was fixed in the package jockey - 0.9.7-0ubuntu1 --- jockey (0.9.7-0ubuntu1) precise; urgency=low * New upstream bug fix release: - jockey/detection.py: Accept repository URLs with "file:/", too - jockey/oslib.py: Completely parse PackageKit output. Thanks Hedayat Vatankhah! (LP: #900853) - gtk/jockey-gtk: Create tray icon when indicator support is not available. Thanks Hedayat Vatankhah! (LP: #900824) - Launchpad automatic translations update. * jockey/oslib.py, has_repositories(): Also accept "file:/path..." URLs from apt-cache policy to recongize local repositories. First half of LP #913927. Thanks to James Ferguson for the patch. * jockey/oslib.py, install_package(): Consider file:// URLs a trusted origin even for binary packages. (LP: #913927) * tests/oslib.py: Update test_package_install_thirdparty_unsigned_binary() test to use a http:// URL, as file:// URLs are now considered trusted. -- Martin PittSat, 03 Mar 2012 22:30:37 +0100 ** Branch linked: lp:~ubuntu-core-dev/jockey/ubuntu ** Changed in: jockey (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in OEM Priority Project: In Progress Status in OEM Priority Project precise series: New Status in “jockey” package in Ubuntu: Fix Released Bug 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
** Branch linked: lp:jockey -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in OEM Priority Project: In Progress Status in OEM Priority Project precise series: New Status in “jockey” package in Ubuntu: In Progress Bug 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
** Tags removed: rls-mgr-p-tracking ** Tags added: rls-p-tracking -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in OEM Priority Project: In Progress Status in OEM Priority Project precise series: New Status in “jockey” package in Ubuntu: In Progress Bug 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
** Also affects: oem-priority/precise Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in OEM Priority Project: In Progress Status in OEM Priority Project precise series: New Status in “jockey” package in Ubuntu: In Progress Bug 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
** Changed in: oem-priority Assignee: Ursula Junque (ursinha) => (unassigned) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in OEM Priority Project: In Progress Status in “jockey” package in Ubuntu: In Progress Bug 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
** Changed in: oem-priority Status: Incomplete => In Progress -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in OEM Priority Project: In Progress Status in “jockey” package in Ubuntu: In Progress Bug 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
** Changed in: jockey (Ubuntu) Status: Incomplete => In Progress ** Changed in: jockey (Ubuntu) Assignee: (unassigned) => Martin Pitt (pitti) ** Changed in: jockey (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in OEM Priority Project: Incomplete Status in “jockey” package in Ubuntu: In Progress Bug 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
@Pitti - perhaps a bug in `apt-cache policy`? It reports them as "file:/foo/bar". The archive was created as a directory on the system, with $ARCHIVE as an absolute path (having moved aside the real sources.list temporarily): cd "$ARCHIVE" apt-ftparchive packages . | gzip -n9 > Packages.gz echo "deb file://$ARCHIVE" > /etc/apt/sources.list As for unsigned binary archives, jockey considers the packages from the above archive unsigned and refuses them. Any way to get around this is fine. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in OEM Priority Project: Incomplete Status in “jockey” package in Ubuntu: Incomplete Bug 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
+m = re.match(".*(file:/|://)(.*)", u) I don't understand why this is necessary. file apt sources should still be complete URLs, i. e. file://relative_path or file:///absolute/path. file:/path/name/ is not a real URL, and I don't want to support this. And of course I don't want to allow unsigned binary archives in the official ubuntu package. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in OEM Priority Project: Incomplete Status in “jockey” package in Ubuntu: Incomplete Bug 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
** Tags removed: patch -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in OEM Priority Project: Incomplete Status in “jockey” package in Ubuntu: Incomplete Bug 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
The attachment "jockey.diff" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors team please also unsubscribe the team from this bug report. [This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.] ** Tags added: patch -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in OEM Priority Project: Incomplete Status in “jockey” package in Ubuntu: Incomplete Bug 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
Attached is the relevant patch. ** Patch added: "jockey.diff" https://bugs.launchpad.net/ubuntu/+source/jockey/+bug/913927/+attachment/222/+files/jockey.diff -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in OEM Priority Project: Incomplete Status in “jockey” package in Ubuntu: Incomplete Bug 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
** Changed in: oem-priority Assignee: (unassigned) => Ursula Junque (ursinha) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in OEM Priority Project: Incomplete Status in “jockey” package in Ubuntu: Incomplete Bug 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
** Tags added: rls-mgr-p-tracking -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in OEM Priority Project: Incomplete Status in “jockey” package in Ubuntu: Incomplete Bug 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
Hello James, You mentioned that you're carrying patches to address these issues. Would you please attach to the bug report? ** Changed in: oem-priority Status: New => Incomplete ** Changed in: jockey (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in OEM Priority Project: Incomplete Status in “jockey” package in Ubuntu: Incomplete Bug 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
** Also affects: oem-priority Importance: Undecided Status: New ** Changed in: oem-priority Importance: Undecided => High -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in OEM Priority Project: New Status in “jockey” package in Ubuntu: New Bug 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
** Description changed: 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. + 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. - 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. + I have found 3 issues in the code related to this: - Local on-disk archives are used a lot in OEM on customer's first boot. + 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: - 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) + 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. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in “jockey” package in Ubuntu: New Bug 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/jockey/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
** Description changed: Ubuntu 11.10 Jockey 0.9.4-0ubuntu10 - I'm chasing another problem, but some logic looks problematic: + 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)? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in “jockey” package in Ubuntu: New Bug 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)? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/jockey/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 913927] Re: Jockey will fail against local disk archive
I initially thought this was a newly introduced issue in the -proposed version, but I was wrong - edited but to reflect this. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to jockey in Ubuntu. https://bugs.launchpad.net/bugs/913927 Title: Jockey will fail against local disk archive Status in “jockey” package in Ubuntu: New Bug 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/jockey/+bug/913927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp