/usr/share/apport/apport:PermissionError:Permission denied for 'root/run/apport.socket'

Bug #1999034 reported by errors.ubuntu.com bug bridge
20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

```
Traceback (most recent call last):
  File "/usr/share/apport/apport", line 557, in <module>
    sock_fd = os.open("root/run/apport.socket", os.O_RDONLY | os.O_PATH, dir_fd=proc_host_pid_fd)
PermissionError: [Errno 13] Permission denied: 'root/run/apport.socket'
```

Problem reports
---------------

* Ubuntu 20.04 to 22.04: https://errors.ubuntu.com/problem/cfd717b95b25fc95b5e0a1e1675d913bf82a9e37
* Ubuntu 20.04 to 22.04: https://errors.ubuntu.com/problem/27e9892456a8b7dc948aca32dc8a30726b9e8171
* Ubuntu 22.10: https://errors.ubuntu.com/problem/037c32bf82ab60e7476b84380c74396e0c2dc11b

Initial report
--------------

The Ubuntu Error Tracker has been receiving reports about a problem regarding apport. This problem was most recently seen with package version 2.20.11-0ubuntu82.2, the problem page at https://errors.ubuntu.com/problem/27e9892456a8b7dc948aca32dc8a30726b9e8171 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

Tags: focal jammy
Benjamin Drung (bdrung)
description: updated
Benjamin Drung (bdrung)
summary: - /usr/share/apport/apport:PermissionError:/usr/share/apport/apport@557
+ /usr/share/apport/apport:PermissionError:Permission denied for
+ 'root/run/apport.socket'
Benjamin Drung (bdrung)
description: updated
Changed in apport (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.