[Bug 1314163] Re: apport-gtk throws permission denied
Marcus Tomlinson
marcus.tomlinson at canonical.com
Thu Mar 5 13:11:52 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/1314163
Title:
apport-gtk throws permission denied
Status in apport package in Ubuntu:
Incomplete
Bug description:
In the middle while doing a do-release-upgrade from Ubuntu 13.10 to
14.04 I had a crash. After restarting, I had a look in the log file
and saw at the bottom, it has something to do with permissions:
$ cat _usr_share_apport_apport-gtk.1000.crash
ProblemType: Crash
Date: Tue Apr 29 23:37:11 2014
ExecutablePath: /usr/share/apport/apport-gtk
ExecutableTimestamp: 1386693790
InterpreterPath: /usr/bin/python3.3
ProcCmdline: /usr/bin/python3 /usr/share/apport/apport-gtk
ProcCwd: /home/michael.heuberger
ProcEnviron:
LANGUAGE=en_NZ:en
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_NZ.UTF-8
SHELL=/bin/zsh
ProcMaps:
(REMOVED)
ProcStatus:
Name: apport-gtk
State: R (running)
Tgid: 3251
Pid: 3251
PPid: 3247
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 64
Groups: 4 24 27 30 46 107 119 124 128 135 999 1000
VmPeak: 372124 kB
VmSize: 354544 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 29964 kB
VmRSS: 29964 kB
VmData: 163308 kB
VmStk: 136 kB
VmExe: 3224 kB
VmLib: 24456 kB
VmPTE: 420 kB
VmSwap: 0 kB
Threads: 3
SigQ: 0/47519
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000001001000
SigCgt: 0000000180000002
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000001fffffffff
Seccomp: 0
Cpus_allowed: ffff
Cpus_allowed_list: 0-15
Mems_allowed: 00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 113
nonvoluntary_ctxt_switches: 14
PythonArgs: ['/usr/share/apport/apport-gtk']
Traceback:
Traceback (most recent call last):
File "/usr/share/apport/apport-gtk", line 590, in <module>
app.run_argv()
File "/usr/lib/python3/dist-packages/apport/ui.py", line 685, in run_argv
return self.run_crashes()
File "/usr/lib/python3/dist-packages/apport/ui.py", line 215, in run_crashes
if not self.load_report(f):
File "/usr/lib/python3/dist-packages/apport/ui.py", line 1248, in load_report
self.cur_package = apport.fileutils.find_file_package(self.report.get('ExecutablePath', ''))
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 100, in find_file_package
return packaging.get_file_package(file)
File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 341, in get_file_package
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "/usr/lib/python3.3/subprocess.py", line 824, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.3/subprocess.py", line 1448, in _execute_child
raise child_exception_type(errno_num, err_msg)
PermissionError: [Errno 13] Permission denied
UserGroups: adm cdrom couchdb dip lpadmin nopasswdlogin plugdev prey sambashare sudo vboxusers
I ran the do-release-upgrade process with sudo, so there shouldn't be
any permission issues. Weird.
Can you give me some hints?
Thanks!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1314163/+subscriptions
More information about the foundations-bugs
mailing list