Public bug reported: I've modified /lib/systemd/system/apport-noui.service to contain the following:
ExecStart=/lib/udev/watershed /usr/share/apport/whoopsie-upload-all With the hope that bug 1473562 will be resolved under systemd. (Note that using watershed works with upstart and /etc/init/apport-noui.conf.) I've tested this by setting the PathExistsGlob to '/var/crash/*.nothing', then creating a bunch of crash files as in bug 1473562, switching the PathExistsGlob back to '/var/crash/*.crash' and running 'sudo systemcl daemon-reload'. After this I see the following in my journal. journalctl --since "4 min ago" /lib/udev/watershed -- Logs begin at Sat 2015-06-27 08:38:54 PDT, end at Tue 2015-07-21 15:10:21 PDT. -- Jul 21 15:10:07 impulse watershed[22068]: Collecting info for /var/crash/_bin_dash_10.32011.crash... Jul 21 15:10:07 impulse watershed[22068]: Marking /var/crash/_bin_dash_10.32011.crash for whoopsie upload Jul 21 15:10:07 impulse watershed[22068]: /var/crash/_bin_dash_09.32011.crash already has info collected Jul 21 15:10:07 impulse watershed[22068]: Marking /var/crash/_bin_dash_09.32011.crash for whoopsie upload Jul 21 15:10:07 impulse watershed[22068]: /var/crash/_bin_dash_04.32011.crash already has info collected Jul 21 15:10:07 impulse watershed[22068]: Marking /var/crash/_bin_dash_04.32011.crash for whoopsie upload Jul 21 15:10:07 impulse watershed[22068]: /var/crash/_bin_dash_03.32011.crash already has info collected Jul 21 15:10:07 impulse watershed[22068]: Marking /var/crash/_bin_dash_03.32011.crash for whoopsie upload Jul 21 15:10:07 impulse watershed[22068]: /var/crash/_bin_dash_01.32011.crash already has info collected Jul 21 15:10:07 impulse watershed[22068]: Marking /var/crash/_bin_dash_01.32011.crash for whoopsie upload Jul 21 15:10:07 impulse watershed[22068]: /var/crash/_bin_dash.1000.crash already has info collected Jul 21 15:10:07 impulse watershed[22068]: Marking /var/crash/_bin_dash.1000.crash for whoopsie upload Jul 21 15:10:07 impulse watershed[22068]: /var/crash/_bin_dash_08.32011.crash already has info collected Jul 21 15:10:07 impulse watershed[22068]: Marking /var/crash/_bin_dash_08.32011.crash for whoopsie upload Jul 21 15:10:07 impulse watershed[22068]: /var/crash/_bin_dash_07.32011.crash already has info collected Jul 21 15:10:07 impulse watershed[22068]: Marking /var/crash/_bin_dash_07.32011.crash for whoopsie upload Jul 21 15:10:07 impulse watershed[22068]: /var/crash/_bin_dash_05.32011.crash already has info collected Jul 21 15:10:07 impulse watershed[22068]: Marking /var/crash/_bin_dash_05.32011.crash for whoopsie upload Jul 21 15:10:07 impulse watershed[22068]: /var/crash/_bin_dash_02.32011.crash already has info collected Jul 21 15:10:07 impulse watershed[22068]: Marking /var/crash/_bin_dash_02.32011.crash for whoopsie upload Jul 21 15:10:07 impulse watershed[22068]: /var/crash/_bin_dash_06.32011.crash already has info collected Jul 21 15:10:07 impulse watershed[22068]: Marking /var/crash/_bin_dash_06.32011.crash for whoopsie upload Jul 21 15:10:07 impulse watershed[22068]: /var/crash/_usr_share_apport_whoopsie-upload-all.1000.crash already marked for upload, skipping Jul 21 15:10:07 impulse watershed[22068]: All reports processed Jul 21 15:10:08 impulse watershed[22308]: /var/crash/_bin_dash_10.32011.crash already marked for upload, skipping Jul 21 15:10:08 impulse watershed[22308]: /var/crash/_bin_dash_09.32011.crash already marked for upload, skipping Jul 21 15:10:08 impulse watershed[22308]: /var/crash/_bin_dash_04.32011.crash already marked for upload, skipping Jul 21 15:10:08 impulse watershed[22308]: /var/crash/_bin_dash_03.32011.crash already marked for upload, skipping Jul 21 15:10:08 impulse watershed[22308]: /var/crash/_bin_dash_01.32011.crash already marked for upload, skipping Jul 21 15:10:08 impulse watershed[22308]: /var/crash/_bin_dash.1000.crash already marked for upload, skipping Jul 21 15:10:08 impulse watershed[22308]: /var/crash/_bin_dash_08.32011.crash already marked for upload, skipping Jul 21 15:10:08 impulse watershed[22308]: /var/crash/_bin_dash_07.32011.crash already marked for upload, skipping Jul 21 15:10:08 impulse watershed[22308]: /var/crash/_bin_dash_05.32011.crash already marked for upload, skipping Jul 21 15:10:08 impulse watershed[22308]: /var/crash/_bin_dash_02.32011.crash already marked for upload, skipping Jul 21 15:10:08 impulse watershed[22308]: /var/crash/_bin_dash_06.32011.crash already marked for upload, skipping Jul 21 15:10:08 impulse watershed[22308]: /var/crash/_usr_share_apport_whoopsie-upload-all.1000.crash already marked for upload, skipping Jul 21 15:10:08 impulse watershed[22308]: All reports processed .... So watershed is called a number of times equal to the number of .crash files that exist in /var/crash/. ** Affects: systemd (Ubuntu) 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/1476849 Title: using watershed in apport-noui.service causes multiple instances of watershed to run To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1476849/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs