[Kernel-packages] [Bug 1588479] Re: dkms_packages.py supported kernel check is wrong
** Summary changed: - dkms_packages.py supported kernel check seems wrong + dkms_packages.py supported kernel check is wrong ** Summary changed: - dkms_packages.py supported kernel check is wrong + dkms_packages.py supported kernel check is not working -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to dkms in Ubuntu. https://bugs.launchpad.net/bugs/1588479 Title: dkms_packages.py supported kernel check is not working Status in dkms package in Ubuntu: Triaged Status in dkms source package in Trusty: New Status in dkms source package in Xenial: New Status in dkms source package in Yakkety: Triaged Bug description: The apport package hook for dkms packages seems to have an error in its supported kernel check. If the kernel is an unsupported one, the hook should exit with a return code of 1. However, in the Ubuntu Error Tracker we can see some crashes with unsupported kernel versions e.g.: https://errors.ubuntu.com/oops/2733d742-284e-11e6-a745-fa163e839e11 DKMSKernelVersion: 4.6.1-040601-lowlatency https://errors.ubuntu.com/oops/0a1afefc-253c-11e6-9082-fa163e192766 DKMSKernelVersion: 4.6.0-040600-lowlatency If the intent really is to block creation of these reports, then let's do that. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1588479/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1588479] Re: dkms_packages.py supported kernel check seems wrong
** Changed in: dkms (Ubuntu) Status: New => Triaged ** Changed in: dkms (Ubuntu) Importance: Undecided => Medium ** Changed in: dkms (Ubuntu) Assignee: (unassigned) => Brian Murray (brian-murray) ** Also affects: dkms (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: dkms (Ubuntu Yakkety) Importance: Medium Assignee: Brian Murray (brian-murray) Status: Triaged ** Also affects: dkms (Ubuntu Xenial) Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to dkms in Ubuntu. https://bugs.launchpad.net/bugs/1588479 Title: dkms_packages.py supported kernel check seems wrong Status in dkms package in Ubuntu: Triaged Status in dkms source package in Trusty: New Status in dkms source package in Xenial: New Status in dkms source package in Yakkety: Triaged Bug description: The apport package hook for dkms packages seems to have an error in its supported kernel check. If the kernel is an unsupported one, the hook should exit with a return code of 1. However, in the Ubuntu Error Tracker we can see some crashes with unsupported kernel versions e.g.: https://errors.ubuntu.com/oops/2733d742-284e-11e6-a745-fa163e839e11 DKMSKernelVersion: 4.6.1-040601-lowlatency https://errors.ubuntu.com/oops/0a1afefc-253c-11e6-9082-fa163e192766 DKMSKernelVersion: 4.6.0-040600-lowlatency If the intent really is to block creation of these reports, then let's do that. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1588479/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1588479] Re: dkms_packages.py supported kernel check seems wrong
The issue is the ValueError string content changed or was never correct. *** ValueError: package linux-headers-4.6.1-040601-lowlatency does not exist vs. try: supported_kernel = apport.packaging.is_distro_package(kernel_package) except ValueError as e: if str(e) == 'package does not exist': supported_kernel = False -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to dkms in Ubuntu. https://bugs.launchpad.net/bugs/1588479 Title: dkms_packages.py supported kernel check seems wrong Status in dkms package in Ubuntu: Triaged Status in dkms source package in Trusty: New Status in dkms source package in Xenial: New Status in dkms source package in Yakkety: Triaged Bug description: The apport package hook for dkms packages seems to have an error in its supported kernel check. If the kernel is an unsupported one, the hook should exit with a return code of 1. However, in the Ubuntu Error Tracker we can see some crashes with unsupported kernel versions e.g.: https://errors.ubuntu.com/oops/2733d742-284e-11e6-a745-fa163e839e11 DKMSKernelVersion: 4.6.1-040601-lowlatency https://errors.ubuntu.com/oops/0a1afefc-253c-11e6-9082-fa163e192766 DKMSKernelVersion: 4.6.0-040600-lowlatency If the intent really is to block creation of these reports, then let's do that. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1588479/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1588479] Re: dkms_packages.py supported kernel check seems wrong
Well, it changed in 2012... $ bzr log -r 1369.34.701 -p revno: 1369.34.701 committer: Martin Pittbranch nick: apport timestamp: Tue 2012-09-18 12:12:33 +0200 message: * packaging-apt-dpkg.py: When throwing ValueErrors, show the non-existing package name. This makes it easier to debug such crashes. diff: === modified file 'NEWS' --- NEWS2012-09-18 09:15:59 + +++ NEWS2012-09-18 10:12:33 + @@ -4,6 +4,8 @@ 2.5.3 (UNRELEASED): --- * data/apportcheckresume: Open report file in binary mode. (LP: #1040353) + * packaging-apt-dpkg.py: When throwing ValueErrors, show the non-existing + package name. This makes it easier to debug such crashes. 2.5.2 (2012-09-17): --- === modified file 'backends/packaging-apt-dpkg.py' --- backends/packaging-apt-dpkg.py 2012-08-24 05:27:31 + +++ backends/packaging-apt-dpkg.py 2012-09-18 10:12:33 + @@ -112,7 +112,7 @@ try: return self._cache()[package] except KeyError: -raise ValueError('package does not exist') +raise ValueError('package %s does not exist' % package) def get_version(self, package): '''Return the installed version of a package.''' @@ -120,7 +120,7 @@ pkg = self._apt_pkg(package) inst = pkg.installed if not inst: -raise ValueError('package does not exist') +raise ValueError('package %s does not exist' % package) return inst.version def get_available_version(self, package): -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to dkms in Ubuntu. https://bugs.launchpad.net/bugs/1588479 Title: dkms_packages.py supported kernel check seems wrong Status in dkms package in Ubuntu: Triaged Status in dkms source package in Trusty: New Status in dkms source package in Xenial: New Status in dkms source package in Yakkety: Triaged Bug description: The apport package hook for dkms packages seems to have an error in its supported kernel check. If the kernel is an unsupported one, the hook should exit with a return code of 1. However, in the Ubuntu Error Tracker we can see some crashes with unsupported kernel versions e.g.: https://errors.ubuntu.com/oops/2733d742-284e-11e6-a745-fa163e839e11 DKMSKernelVersion: 4.6.1-040601-lowlatency https://errors.ubuntu.com/oops/0a1afefc-253c-11e6-9082-fa163e192766 DKMSKernelVersion: 4.6.0-040600-lowlatency If the intent really is to block creation of these reports, then let's do that. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1588479/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1588479] Re: dkms_packages.py supported kernel check seems wrong
** Tags added: rls-y-incoming -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to dkms in Ubuntu. https://bugs.launchpad.net/bugs/1588479 Title: dkms_packages.py supported kernel check seems wrong Status in dkms package in Ubuntu: New Bug description: The apport package hook for dkms packages seems to have an error in its supported kernel check. If the kernel is an unsupported one, the hook should exit with a return code of 1. However, in the Ubuntu Error Tracker we can see some crashes with unsupported kernel versions e.g.: https://errors.ubuntu.com/oops/2733d742-284e-11e6-a745-fa163e839e11 DKMSKernelVersion: 4.6.1-040601-lowlatency https://errors.ubuntu.com/oops/0a1afefc-253c-11e6-9082-fa163e192766 DKMSKernelVersion: 4.6.0-040600-lowlatency If the intent really is to block creation of these reports, then let's do that. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1588479/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp