[Bug 1871308] [NEW] Failed to start Notification regarding a crash report

Jan-Philipp Litza 1871308 at bugs.launchpad.net
Tue Apr 7 07:27:56 UTC 2020


Public bug reported:

journalctl has these nasty messages when the whoopsie service is
disabled:

systemd[3290]: Starting Notification regarding a crash report...
update-notifier-crash[38295]: /usr/bin/whoopsie
systemd[3290]: update-notifier-crash.service: Main process exited, code=exited, status=1/FAILURE
systemd[3290]: update-notifier-crash.service: Failed with result 'exit-code'.
systemd[3290]: Failed to start Notification regarding a crash report.

It is caused by /usr/lib/update-notifier/update-notifier-crash having
`set -e` at the top but then doing checks like `systemctl -q is-enabled
whoopsie` outside of an `if`. A simple fix that also silences the line
with "/usr/bin/whoopsie" is attached.

** Affects: update-notifier (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "update-notifier-crash.patch"
   https://bugs.launchpad.net/bugs/1871308/+attachment/5348450/+files/update-notifier-crash.patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-notifier in Ubuntu.
https://bugs.launchpad.net/bugs/1871308

Title:
  Failed to start Notification regarding a crash report

Status in update-notifier package in Ubuntu:
  New

Bug description:
  journalctl has these nasty messages when the whoopsie service is
  disabled:

  systemd[3290]: Starting Notification regarding a crash report...
  update-notifier-crash[38295]: /usr/bin/whoopsie
  systemd[3290]: update-notifier-crash.service: Main process exited, code=exited, status=1/FAILURE
  systemd[3290]: update-notifier-crash.service: Failed with result 'exit-code'.
  systemd[3290]: Failed to start Notification regarding a crash report.

  It is caused by /usr/lib/update-notifier/update-notifier-crash having
  `set -e` at the top but then doing checks like `systemctl -q is-
  enabled whoopsie` outside of an `if`. A simple fix that also silences
  the line with "/usr/bin/whoopsie" is attached.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1871308/+subscriptions



More information about the foundations-bugs mailing list