Activity log for bug #1991502

Date Who What changed Old value New value Message
2022-10-03 03:29:39 Daniel Tang bug added bug
2022-10-03 03:31:34 Daniel Tang tags apport-collected kinetic third-party-packages
2022-10-03 03:31:36 Daniel Tang description update-notifier-crash is hardcoded to launch apport-gtk even though the update-notifier package only suggests the apport-gtk package. This results in the service failing and `systemctl --user status` showing "degraded". $ lsb_release -rd Description: Ubuntu Kinetic Kudu (development branch) Release: 22.10 $ apt-cache policy update-notifier update-notifier: Installed: 3.192.59 Candidate: 3.192.59 Version table: *** 3.192.59 500 500 https://gpl.savoirfairelinux.net/pub/mirrors/ubuntu kinetic/main amd64 Packages 100 /var/lib/dpkg/status $ dpkg --get-selections | grep ubuntu-desktop ubuntu-desktop install ubuntu-desktop-minimal install This is a minimal Ubuntu install with KDE packages added on top. $ dpkg --get-selections | grep apport apport install apport-kde install python3-apport install # Expected behavior I don't want to see red in `systemd --user status` or any failed services. Specifically, the update-notifier-crash service should not be enabled on KDE. # Actual behavior $ systemctl --user status ● daniel-desktop2 State: degraded [...] $ systemctl --user status update-notifier-crash × update-notifier-crash.service - Notification regarding a crash report Loaded: loaded (/usr/lib/systemd/user/update-notifier-crash.service; static) Active: failed (Result: exit-code) since Sun 2022-10-02 22:59:58 EDT; 20min ago TriggeredBy: ● update-notifier-crash.path Process: 3217 ExecStart=/usr/lib/update-notifier/update-notifier-crash (code=exited, status=127) Main PID: 3217 (code=exited, status=127) CPU: 245ms Oct 02 22:59:57 daniel-desktop2 systemd[1145]: Starting Notification regarding a crash report... Oct 02 22:59:58 daniel-desktop2 update-notifier-crash[3225]: kwalletd5 Oct 02 22:59:58 daniel-desktop2 update-notifier-crash[3241]: /usr/lib/update-notifier/update-notifier-crash: 14: /usr/share/apport/apport-gtk: not found Oct 02 22:59:58 daniel-desktop2 systemd[1145]: update-notifier-crash.service: Main process exited, code=exited, status=127/n/a Oct 02 22:59:58 daniel-desktop2 systemd[1145]: update-notifier-crash.service: Failed with result 'exit-code'. Oct 02 22:59:58 daniel-desktop2 systemd[1145]: Failed to start Notification regarding a crash report. # Analysis My crash notifications are working fine on KDE even without this as confirmed by `(xclock &); sleep 1; killall -8 xclock`. Either /usr/lib/update-notifier/update-notifier-crash needs to check for the existence of apport-gtk, or /usr/lib/systemd/user/update-notifier-crash.service needs to be masked on KDE. update-notifier-crash is hardcoded to launch apport-gtk even though the update-notifier package only suggests the apport-gtk package. This results in the service failing and `systemctl --user status` showing "degraded". $ lsb_release -rd Description: Ubuntu Kinetic Kudu (development branch) Release: 22.10 $ apt-cache policy update-notifier update-notifier: Installed: 3.192.59 Candidate: 3.192.59 Version table: *** 3.192.59 500 500 https://gpl.savoirfairelinux.net/pub/mirrors/ubuntu kinetic/main amd64 Packages 100 /var/lib/dpkg/status $ dpkg --get-selections | grep ubuntu-desktop ubuntu-desktop install ubuntu-desktop-minimal install This is a minimal Ubuntu install with KDE packages added on top. $ dpkg --get-selections | grep apport apport install apport-kde install python3-apport install # Expected behavior I don't want to see red in `systemd --user status` or any failed services. Specifically, the update-notifier-crash service should not be enabled on KDE. # Actual behavior $ systemctl --user status ● daniel-desktop2 State: degraded [...] $ systemctl --user status update-notifier-crash × update-notifier-crash.service - Notification regarding a crash report Loaded: loaded (/usr/lib/systemd/user/update-notifier-crash.service; static) Active: failed (Result: exit-code) since Sun 2022-10-02 22:59:58 EDT; 20min ago TriggeredBy: ● update-notifier-crash.path Process: 3217 ExecStart=/usr/lib/update-notifier/update-notifier-crash (code=exited, status=127) Main PID: 3217 (code=exited, status=127) CPU: 245ms Oct 02 22:59:57 daniel-desktop2 systemd[1145]: Starting Notification regarding a crash report... Oct 02 22:59:58 daniel-desktop2 update-notifier-crash[3225]: kwalletd5 Oct 02 22:59:58 daniel-desktop2 update-notifier-crash[3241]: /usr/lib/update-notifier/update-notifier-crash: 14: /usr/share/apport/apport-gtk: not found Oct 02 22:59:58 daniel-desktop2 systemd[1145]: update-notifier-crash.service: Main process exited, code=exited, status=127/n/a Oct 02 22:59:58 daniel-desktop2 systemd[1145]: update-notifier-crash.service: Failed with result 'exit-code'. Oct 02 22:59:58 daniel-desktop2 systemd[1145]: Failed to start Notification regarding a crash report. # Analysis My crash notifications are working fine on KDE even without this as confirmed by `(xclock &); sleep 1; killall -8 xclock`. Either /usr/lib/update-notifier/update-notifier-crash needs to check for the existence of apport-gtk, or /usr/lib/systemd/user/update-notifier-crash.service needs to be masked on KDE. --- ProblemType: Bug ApportVersion: 2.23.0-0ubuntu2 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: KDE DistroRelease: Ubuntu 22.10 Package: update-notifier 3.192.59 PackageArchitecture: amd64 Tags: kinetic third-party-packages Uname: Linux 6.0.0-060000rc7-generic x86_64 UpgradeStatus: Upgraded to kinetic on 2022-09-29 (3 days ago) UserGroups: dialout docker kvm libvirt libvirtd lpadmin lxd plugdev sudo systemd-journal video wireshark _MarkForUpload: True
2022-10-03 03:31:36 Daniel Tang attachment added Dependencies.txt https://bugs.launchpad.net/bugs/1991502/+attachment/5620650/+files/Dependencies.txt
2022-10-03 03:31:39 Daniel Tang attachment added NonfreeKernelModules.txt https://bugs.launchpad.net/bugs/1991502/+attachment/5620651/+files/NonfreeKernelModules.txt
2022-10-03 03:31:40 Daniel Tang attachment added ProcCpuinfoMinimal.txt https://bugs.launchpad.net/bugs/1991502/+attachment/5620652/+files/ProcCpuinfoMinimal.txt
2022-10-03 03:31:41 Daniel Tang attachment added ProcEnviron.txt https://bugs.launchpad.net/bugs/1991502/+attachment/5620653/+files/ProcEnviron.txt
2022-10-04 17:53:23 William Wilson tags apport-collected kinetic third-party-packages apport-collected foundations-triage-discuss kinetic third-party-packages