[Bug 2066995] Re: apport-gtk keeps prompting to report crashes in a loop

2024-07-09 Thread Benjamin Drung
** Description changed: + [ Impact ] + + On affected systems, Python crashes will be owned by the crashing group + instead of whoopsie. This causes whoopsie to fail reading and uploading + the crash report. So a lot of Python crashes were not reporting and + keeping us blind. + + [ Test Plan ] +

[Bug 2066995] Re: apport-gtk keeps prompting to report crashes in a loop

2024-06-13 Thread Julian Andres Klode
** Tags removed: rls-nn-incoming ** Tags added: foundations-todo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2066995 Title: apport-gtk keeps prompting to report crashes in a loop To manage notifi

[Bug 2066995] Re: apport-gtk keeps prompting to report crashes in a loop

2024-06-13 Thread Benjamin Drung
Proposed changes for the apport.service: https://github.com/canonical/apport/pull/349 In addition the apport postinst should create and update the permission to 3777. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launch

[Bug 2066995] Re: apport-gtk keeps prompting to report crashes in a loop

2024-06-13 Thread Benjamin Drung
** Also affects: apport Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2066995 Title: apport-gtk keeps prompting to report crashes in a loop To manage not

[Bug 2066995] Re: apport-gtk keeps prompting to report crashes in a loop

2024-06-10 Thread Simon Chopin
I've finally tracked down the permission issue: In Jammy, we still have an old-school init script that's invoked to set up the crash handler at the kernel level. As part of the script, there an unconditional `chmod 1777 /var/run`. However, surprisingly, `chmod 1777` on a 3777 file will result in a

[Bug 2066995] Re: apport-gtk keeps prompting to report crashes in a loop

2024-06-10 Thread Simon Chopin
Somehow, I missed the chmod line in that postinst. My current hypothesis is that apport.service is to blame for dropping the g+s bit. It's the oneshot service that runs on non-container systems at startup to set up the kernel crash handler (was an init script before Lunar), and it forces the 1777

[Bug 2066995] Re: apport-gtk keeps prompting to report crashes in a loop

2024-06-07 Thread Steve Langasek
> It seems to boil down to a race condition between the apport postinst > and the whoopsie postinst, the latter correctly chmoding /var/crash > to 3777 *if it creates it*. My read of the postinst is that it correctly chmod's /var/crash regardless of whether it did the creating: mk

[Bug 2066995] Re: apport-gtk keeps prompting to report crashes in a loop

2024-06-07 Thread Steve Langasek
$ journalctl --no-pager -lu apport-autoreport.service -- No entries -- $ FTR: │ ├─app-gnome-update\x2dnotifier-14736.scope │ │ ├─ 14736 /usr/bin/update-notifier │ │ ├─1602383 /usr/lib/update-notifier/livepatch-notification │ │ ├─2268421 /usr/bi

[Bug 2066995] Re: apport-gtk keeps prompting to report crashes in a loop

2024-06-07 Thread Steve Langasek
$ ls -ld /var/crash/ drwxrwxrwt 2 root whoopsie 3 Jun 7 15:16 /var/crash/ $ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2066995 Title: apport-gtk keeps prompting to report crashes in a loop To m

[Bug 2066995] Re: apport-gtk keeps prompting to report crashes in a loop

2024-06-07 Thread Simon Chopin
Could we have the apport-autoreport.service journal logs as well? I'm now realizing that the reason I don't get spammed could simply be that I configured my system to report everything. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 2066995] Re: apport-gtk keeps prompting to report crashes in a loop

2024-06-07 Thread Simon Chopin
Note that I still don't understand why it loops, whereas on my system whoopsie will happily create the upload/uploaded files (with a NULL ID). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2066995 Tit

[Bug 2066995] Re: apport-gtk keeps prompting to report crashes in a loop

2024-06-07 Thread Simon Chopin
I found the wild goose! Your Python crashes are owned by vorlon:vorlon, which is why whoopsie cannot read them. I'm guessing that /var/crash doesn't have the 3777 permissions that would allow inheriting the whoopsie GID. My own system has 1777, whereas fresh containers seem to be correctly using 3

[Bug 2066995] Re: apport-gtk keeps prompting to report crashes in a loop

2024-06-07 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: apport (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2066995 Title: app

[Bug 2066995] Re: apport-gtk keeps prompting to report crashes in a loop

2024-06-03 Thread Steve Langasek
> Steve, do you still have the crash file on your system? No, but I have no trouble generating more of them on demand. > If so, could you give us its mod and owner? -rw-r- 1 vorlon vorlon 41580 Jun 3 17:51 /var/crash/_usr_bin_grep- merges.1000.crash -- You received this bug notification b

[Bug 2066995] Re: apport-gtk keeps prompting to report crashes in a loop

2024-05-30 Thread Simon Chopin
Interestingly, I see the same "could not be opened" patter in my recent logs, all for crashes within Python executables. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2066995 Title: apport-gtk keeps

[Bug 2066995] Re: apport-gtk keeps prompting to report crashes in a loop

2024-05-30 Thread Simon Chopin
Steve, do you still have the crash file on your system? If so, could you give us its mod and owner? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2066995 Title: apport-gtk keeps prompting to report

[Bug 2066995] Re: apport-gtk keeps prompting to report crashes in a loop

2024-05-24 Thread Steve Langasek
> Can you provide the journal log from during that time frame? For what service? For whoopsie, I see: May 23 13:58:13 homer systemd[1]: Started whoopsie.service - crash report submission. May 23 13:58:13 homer whoopsie[147832]: [13:58:13] Using lock path: /var/lock/whoopsie/lock May 23 13:58:13

[Bug 2066995] Re: apport-gtk keeps prompting to report crashes in a loop

2024-05-24 Thread Steve Langasek
> Did you remove the content there? I did not. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2066995 Title: apport-gtk keeps prompting to report crashes in a loop To manage notifications about thi

[Bug 2066995] Re: apport-gtk keeps prompting to report crashes in a loop

2024-05-23 Thread Benjamin Drung
Why is ApportLog empty? Did you remove the content there? Otherwise it means that /var/log/apport was empty (despite apport collecting crashes). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2066995 T

[Bug 2066995] Re: apport-gtk keeps prompting to report crashes in a loop

2024-05-23 Thread Benjamin Drung
Can you provide the journal log from during that time frame? Did that application crash multiple times? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2066995 Title: apport-gtk keeps prompting to rep

[Bug 2066995] Re: apport-gtk keeps prompting to report crashes in a loop

2024-05-23 Thread Brian Murray
** Tags added: rls-nn-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2066995 Title: apport-gtk keeps prompting to report crashes in a loop To manage notifications about this bug go to: http