[Bug 1895865] Re: /usr/share/apport/dump_acpi_tables.py:PermissionError:/usr/share/apport/dump_acpi_tables.py at 59:dump_acpi_tables:dump_acpi_table
Brian Murray
1895865 at bugs.launchpad.net
Wed Oct 7 23:01:42 UTC 2020
The verification passed as we can see there was no Traceback and it
asked for root permissions to run the command.
bdmurray at clean-focal-amd64:~$ dpkg -l apport
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-====================-============-==================================================
ii apport 2.20.11-0ubuntu27.10 all automatically generate crash reports for debugging
bdmurray at clean-focal-amd64:~$ /usr/share/apport/dump_acpi_tables.py
bdmurray at clean-focal-amd64:~$ ubuntu-bug udev
*** Collecting problem information
The collected information can be sent to the developers to improve the
application. This might take a few minutes.
...==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
Authentication is needed to run `/usr/share/apport/dump_acpi_tables.py' as the super user
** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal
--
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/1895865
Title:
/usr/share/apport/dump_acpi_tables.py:PermissionError:/usr/share/apport/dump_acpi_tables.py at 59:dump_acpi_tables:dump_acpi_table
Status in apport package in Ubuntu:
Fix Released
Status in apport source package in Focal:
Fix Committed
Status in apport source package in Groovy:
Fix Released
Bug description:
Impact
------
Users running /usr/share/apport/dump_acpi_tables.py will receive a Traceback unless it is called by root.
Test Case
---------
1) Run /usr/share/apport/dump_acpi_tables.py
2) Observe the Traceback in comment #1
Additionally, running 'ubuntu-bug' about a package which calls
attach_hardware (which then calls dump_acpi_tables.py) will have a
Traceback in acpidump.
1) Run 'ubuntu-bug udev'
2) Save the report
3) View the report and see the Traceback from comment #1 in it
With the version of the package from -proposed you will not receive a
Traceback in either situation.
Regression Potential
--------------------
If the python is bad we could have a different crash.
Original Description
--------------------
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-0ubuntu45, the problem page at https://errors.ubuntu.com/problem/ad705c1a5e4068bcae9d4261519bac8fac5cb57f 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/.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1895865/+subscriptions
More information about the foundations-bugs
mailing list