Public bug reported:

$ dpkg -c kmod_9-2ubuntu3_amd64.deb | grep '\.d/$'
drwxr-xr-x root/root         0 2012-10-30 17:26 ./lib/modprobe.d/
drw-r-xr-x root/root         0 2012-10-30 17:26 ./etc/depmod.d/
drwxr-xr-x root/root         0 2012-10-30 17:26 ./etc/init.d/
drw-r-xr-x root/root         0 2012-10-30 17:26 ./etc/modprobe.d/

This causes apport-retrace to die during cleanup as follows:

 Traceback (most recent call last):
   File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
     func(*targs, **kargs)
   File "/usr/lib/python2.7/shutil.py", line 247, in rmtree
     rmtree(fullname, ignore_errors, onerror)
   File "/usr/lib/python2.7/shutil.py", line 247, in rmtree
     rmtree(fullname, ignore_errors, onerror)
   File "/usr/lib/python2.7/shutil.py", line 252, in rmtree
     onerror(os.remove, fullname, sys.exc_info())
   File "/usr/lib/python2.7/shutil.py", line 250, in rmtree
     os.remove(fullname)
 OSError: [Errno 13] Permission denied: 
'/tmp/tmpPU9nTq/etc/depmod.d/ubuntu.conf'

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: kmod 9-2ubuntu3
ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
Uname: Linux 3.5.0-18-generic x86_64
NonfreeKernelModules: openafs
ApportVersion: 2.6.2-0ubuntu5
Architecture: amd64
Date: Sat Nov 24 02:54:21 2012
EcryptfsInUse: Yes
InstallationDate: Installed on 2010-12-05 (719 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202)
MarkForUpload: True
SourcePackage: kmod
UpgradeStatus: Upgraded to raring on 2012-11-15 (8 days ago)

** Affects: kmod (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug raring

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1082598

Title:
  Absurd permissions on /etc/depmod.d, /etc/modprobe.d crash apport-
  retrace

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kmod/+bug/1082598/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to