dkms_packages.py crashed with AttributeError in __main__: 'module' object has no attribute 'make_report_path'

Bug #1499842 reported by Валерий on 2015-09-25
314
This bug affects 10 people
Affects Status Importance Assigned to Milestone
dkms (Ubuntu)
High
Sebastien Bacher
Precise
Undecided
Unassigned
Trusty
Undecided
Unassigned
Vivid
Undecided
Unassigned

Bug Description

dkms_packages.py crashed with AttributeError in __main__: 'module' object has no attribute 'make_report_path'

This was introduced with/in bug 1492570. It is an API break as the old API was insecure, so it was replaced with a new safe one. So we need to adjust DKMS in stable series anyway, thus we might just use the new API.

This crash was introduced via -security, so the fix for this crash should also go through -security.

ProblemType: Crash
DistroRelease: Ubuntu 15.10
Package: dkms 2.2.0.3-2ubuntu4
ProcVersionSignature: Ubuntu 4.2.0-11.13-generic 4.2.1
Uname: Linux 4.2.0-11-generic i686
NonfreeKernelModules: wl
ApportVersion: 2.19-0ubuntu1
Architecture: i386
Date: Fri Sep 25 21:54:24 2015
ExecutablePath: /usr/share/apport/package-hooks/dkms_packages.py
InstallationDate: Installed on 2015-09-25 (0 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha i386 (20150924)
InterpreterPath: /usr/bin/python3.4
PackageArchitecture: all
ProcCmdline: python3 /usr/share/apport/package-hooks/dkms_packages.py -m bcmwl -v 6.30.223.248+bdcom -k 4.2.1-040201-generic
ProcEnviron:
 SHELL=/bin/bash
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=ru_RU.UTF-8
 LANGUAGE=ru
PythonArgs: ['/usr/share/apport/package-hooks/dkms_packages.py', '-m', 'bcmwl', '-v', '6.30.223.248+bdcom', '-k', '4.2.1-040201-generic']
SourcePackage: dkms
Title: dkms_packages.py crashed with AttributeError in __main__: 'module' object has no attribute 'make_report_path'
Traceback:
 Traceback (most recent call last):
   File "/usr/share/apport/package-hooks/dkms_packages.py", line 97, in <module>
     with open(apport.fileutils.make_report_path(report), 'wb') as f:
 AttributeError: 'module' object has no attribute 'make_report_path'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Валерий (com-bvv) wrote :
tags: removed: need-duplicate-check
Changed in dkms (Ubuntu):
importance: Undecided → Medium
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dkms (Ubuntu):
status: New → Confirmed
Changed in dkms (Ubuntu):
status: Confirmed → Triaged
Changed in dkms (Ubuntu):
status: Triaged → Fix Committed
information type: Private → Public
Changed in dkms (Ubuntu):
importance: Medium → High
assignee: nobody → Sebastien Bacher (seb128)
Sebastien Bacher (seb128) wrote :

that probably needs uploads through the security pockets in stable serie (since that's where apport went)

Martin Pitt (pitti) on 2015-09-30
description: updated
information type: Public → Public Security
description: updated
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dkms (Ubuntu Precise):
status: New → Confirmed
Changed in dkms (Ubuntu Trusty):
status: New → Confirmed
Changed in dkms (Ubuntu Vivid):
status: New → Confirmed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dkms - 2.2.0.3-1ubuntu3.6

---------------
dkms (2.2.0.3-1ubuntu3.6) precise-security; urgency=medium

  * dkms_apport.py: update to the recent apport.utils api changes
    (lp: #1499842)

 -- Marc Deslauriers <email address hidden> Wed, 30 Sep 2015 07:35:45 -0400

Changed in dkms (Ubuntu Precise):
status: Confirmed → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dkms - 2.2.0.3-2ubuntu3.3

---------------
dkms (2.2.0.3-2ubuntu3.3) vivid-security; urgency=medium

  * dkms_apport.py: update to the recent apport.utils api changes
    (lp: #1499842)

 -- Marc Deslauriers <email address hidden> Wed, 30 Sep 2015 07:28:50 -0400

Changed in dkms (Ubuntu Vivid):
status: Confirmed → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dkms - 2.2.0.3-1.1ubuntu5.14.04.5

---------------
dkms (2.2.0.3-1.1ubuntu5.14.04.5) trusty-security; urgency=medium

  * dkms_apport.py: update to the recent apport.utils api changes
    (lp: #1499842)

 -- Marc Deslauriers <email address hidden> Wed, 30 Sep 2015 07:33:54 -0400

Changed in dkms (Ubuntu Trusty):
status: Confirmed → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dkms - 2.2.0.3-2ubuntu6

---------------
dkms (2.2.0.3-2ubuntu6) wily; urgency=medium

  * Improve previous fix to also handle existing files (LP: #1500450)

 -- Marc Deslauriers <email address hidden> Wed, 30 Sep 2015 10:37:18 -0400

Changed in dkms (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public Security information  Edit
Everyone can see this security related information.

Other bug subscribers