Here's the current state of the changes to attempt to improve the issue listed in this bug.
While there's no way to completely eliminate the race condition, I think we can make things better by switching over to using non-positional arguments, getting the real UID and GID from the kernel and making sure they match the process.
Switching over to non-positional arguments is going to require a lot of testing to make sure the patched Apport will work with older versions of Apport in containers, and vice-versa.
Here's the current state of the changes to attempt to improve the issue listed in this bug.
While there's no way to completely eliminate the race condition, I think we can make things better by switching over to using non-positional arguments, getting the real UID and GID from the kernel and making sure they match the process.
Switching over to non-positional arguments is going to require a lot of testing to make sure the patched Apport will work with older versions of Apport in containers, and vice-versa.