I personally noticed this with a crash file with the following
permissions:
-rw-r----- 1 bdmurray whoopsie 194K Feb 7 15:22 _usr_bin_seeded-in-
ubuntu.1000.crash
whoopsie-upload-all, which runs as root, is unable to append to the
crash file due to /proc/sys/fs/protected_regular being set to 1.
Changing that file to 0 allows whoopsie-upload-all to run. Here's a
simple test case, thanks Steve!
# echo 0 > /proc/sys/fs/protected_regular
# python3 -c "foo = open('/var/crash/_usr_bin_reportbug.1000.crash', 'ab')"
# echo 1 > /proc/sys/fs/protected_regular
# python3 -c "foo = open('/var/crash/_usr_bin_reportbug.1000.crash', 'ab')"
Traceback (most recent call last):
File "<string>", line 1, in <module>
PermissionError: [Errno 13] Permission denied:
'/var/crash/_usr_bin_reportbug.1000.crash'
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1848064
Title:
/usr/share/apport/whoopsie-upload-
all:PermissionError:/usr/share/apport/whoopsie-upload-
all@168:collect_info:process_report
Status in apport package in Ubuntu:
Confirmed
Status in apport source package in Eoan:
Confirmed
Bug 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-0ubuntu8, the problem page at
https://errors.ubuntu.com/problem/d9f09f3b3e7aa8ab77434ef30f33416a856971ae
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/1848064/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp