/usr/share/apport/whoopsie-upload-all: PermissionError: Permission denied: '/bin/systemctl'

Bug #2041523 reported by errors.ubuntu.com bug bridge
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
New
Undecided
Unassigned
systemd (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Traceback (most recent call last):
  File "/usr/share/apport/whoopsie-upload-all", line 220, in <module>
    main()
  File "/usr/share/apport/whoopsie-upload-all", line 198, in main
    if subprocess.call(['/bin/systemctl', '--quiet', 'is-enabled', 'whoopsie.path'], stdout=subprocess.PIPE) != 0:
  File "/usr/lib/python3.10/subprocess.py", line 345, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib/python3.10/subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: '/bin/systemctl'

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.5, the problem page at https://errors.ubuntu.com/problem/33dc3ae87406bbdcb73219259a63c99781f2993d 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/.

As of 2023-10-27, there were 1109 instances on Ubuntu 22.04 (jammy)

Tags: jammy
Benjamin Drung (bdrung)
description: updated
Benjamin Drung (bdrung)
description: updated
Benjamin Drung (bdrung)
summary: - /usr/share/apport/whoopsie-upload-
- all:PermissionError:/usr/share/apport/whoopsie-upload-
- all@220:main:call:__init__:_execute_child
+ /usr/share/apport/whoopsie-upload-all: PermissionError: Permission
+ denied: '/bin/systemctl'
Nick Rosbrook (enr0n)
Changed in systemd (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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