[Bug 697418] Re: /usr/share/apport/package-hooks/dkms.py fails if /var/crash/ does not exist
Marcus Tomlinson
marcus.tomlinson at canonical.com
Thu Mar 5 12:58:34 UTC 2020
This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.
** Changed in: apport (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/697418
Title:
/usr/share/apport/package-hooks/dkms.py fails if /var/crash/ does not
exist
Status in apport package in Ubuntu:
Incomplete
Bug description:
Binary package hint: dkms
I was attempting to install openafs-modules-dkms. some issue caused
this to fail. dkms was unable to write an error log, due to /var/crash
not existing.
sam at sam-virtual-machine:~$ sudo apt-get install openafs-modules-dkms
[sudo] password for sam:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
bison dkms fakeroot flex m4 patch
Suggested packages:
bison-doc build-essential diffutils-doc
The following NEW packages will be installed
bison dkms fakeroot flex m4 openafs-modules-dkms patch
0 upgraded, 7 newly installed, 0 to remove and 17 not upgraded.
Need to get 2,395 kB of archives.
After this operation, 9,748 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://gb.archive.ubuntu.com/ubuntu/ natty/main m4 amd64 1.4.14-3 [290 kB]
Get:2 http://gb.archive.ubuntu.com/ubuntu/ natty/main flex amd64 2.5.35-10 [261 kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu/ natty/main bison amd64 1:2.4.1.dfsg-3 [493 kB]
Get:4 http://gb.archive.ubuntu.com/ubuntu/ natty/main patch amd64 2.6-3 [121 kB]
Get:5 http://gb.archive.ubuntu.com/ubuntu/ natty/main dkms all 2.1.1.2-5ubuntu1 [71.9 kB]
Get:6 http://gb.archive.ubuntu.com/ubuntu/ natty/main fakeroot amd64 1.14.4-1ubuntu1 [101 kB]
Get:7 http://gb.archive.ubuntu.com/ubuntu/ natty/universe openafs-modules-dkms amd64 1.4.12.1+dfsg-3 [1,058 kB]
Fetched 2,395 kB in 3s (669 kB/s)
Selecting previously deselected package m4.
(Reading database ... 121933 files and directories currently installed.)
Unpacking m4 (from .../archives/m4_1.4.14-3_amd64.deb) ...
Selecting previously deselected package flex.
Unpacking flex (from .../flex_2.5.35-10_amd64.deb) ...
Selecting previously deselected package bison.
Unpacking bison (from .../bison_1%3a2.4.1.dfsg-3_amd64.deb) ...
Selecting previously deselected package patch.
Unpacking patch (from .../archives/patch_2.6-3_amd64.deb) ...
Selecting previously deselected package dkms.
Unpacking dkms (from .../dkms_2.1.1.2-5ubuntu1_all.deb) ...
Selecting previously deselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_1.14.4-1ubuntu1_amd64.deb) ...
Selecting previously deselected package openafs-modules-dkms.
Unpacking openafs-modules-dkms (from .../openafs-modules-dkms_1.4.12.1+dfsg-3_amd64.deb) ...
Processing triggers for install-info ...
Processing triggers for man-db ...
Setting up m4 (1.4.14-3) ...
Setting up flex (2.5.35-10) ...
Setting up bison (1:2.4.1.dfsg-3) ...
update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode.
Setting up patch (2.6-3) ...
Setting up dkms (2.1.1.2-5ubuntu1) ...
Setting up fakeroot (1.14.4-1ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.
Setting up openafs-modules-dkms (1.4.12.1+dfsg-3) ...
Loading new openafs-1.4.12.1 DKMS files...
First Installation: checking all kernels...
Building only for 2.6.37-11-generic
Building initial module for 2.6.37-11-generic
Error! Bad return status for module build on kernel: 2.6.37-11-generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/openafs/1.4.12.1/build/ for more information.
Traceback (most recent call last):
File "/usr/share/apport/package-hooks/dkms.py", line 57, in <module>
report.write(open(apport.fileutils.make_report_path(report), 'w'))
IOError: [Errno 2] No such file or directory: '/var/crash/openafs-modules-dkms.0.crash'
sam at sam-virtual-machine:~$
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: dkms 2.1.1.2-5ubuntu1
ProcVersionSignature: Ubuntu 2.6.37-11.25-generic 2.6.37-rc7
Uname: Linux 2.6.37-11-generic x86_64
Architecture: amd64
Date: Tue Jan 4 21:23:43 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110104)
PackageArchitecture: all
ProcEnviron:
LANGUAGE=en_GB:en
LANG=en_GB.UTF-8
LC_MESSAGES=en_GB.utf8
SHELL=/bin/bash
SourcePackage: dkms
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/697418/+subscriptions
More information about the foundations-bugs
mailing list