Notification for livepatch are not shown.

Bug #1761841 reported by Andrea Azzarone
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-notifier (Ubuntu)
Fix Released
Medium
Andrea Azzarone
Nominated for Bionic by Andrea Azzarone

Bug Description

UIFe no longer required.

User Interface Freeze Exception Justification
=============================================
Livepatch notifications are not shown in Bionic. We need an UIFe because new translatable strings need to be added. The translatable strings appear
in Desktop Files marked as "NoDisplay=True", so the impact of non-translated strings should be minimum.

List Notifications
==================
https://lists.ubuntu.com/archives/ubuntu-translators/2018-April/007480.html
https://lists.ubuntu.com/archives/ubuntu-doc/2018-April/020594.html

Original Bug Description
========================
update-notifier uses a Systemd path unit to show notifications regarding Canonical Livepatch updates. The systemd path unit requires graphical-session.target (not working in Bionic). A possible solution is to autostart the path unit at startup.

Related branches

Andrea Azzarone (azzar1)
Changed in update-notifier (Ubuntu):
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → Andrea Azzarone (azzar1)
Revision history for this message
Steve Langasek (vorlon) wrote :

Hi Andrea,

> The systemd path unit requires graphical-session.target (not working in Bionic).

There are a *lot* of units installed to /usr/lib/systemd/user that reference graphical-session. Can you explain why the priority isn't for us to get that fixed in 18.04?

Revision history for this message
Andrea Azzarone (azzar1) wrote :

The work required to be done in order to fix it in a generic way is huge and risky at this point of the release.

Andrea Azzarone (azzar1)
tags: added: rls-bb-incoming
tags: removed: rls-bb-incoming
Andrea Azzarone (azzar1)
summary: - Notification for livepatch are not shown.
+ [UIFe] Notification for livepatch are not shown.
Andrea Azzarone (azzar1)
description: updated
description: updated
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote : Re: [UIFe] Notification for livepatch are not shown.

@Andrea: Maybe a stupid question (haven't looked at the source), but why did you bother to make the strings translatable if "NoDisplay=True" applies?

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Btw, given that info, n.p. from a translation POV.

Revision history for this message
Sebastien Bacher (seb128) wrote :

NoDisplay means the item shouldn't be listed in menus or the shell overview, there are some UIs that list those items though (like the gnome-control-center notifications panel, that's required to be able to turn off notification from component like the one we are discussing. Note that in the current state it's likely that livepatch isn't listed in g-c-c but that's a bug/work needed)

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Thanks for explaining, Sebastien.

Andrea Azzarone (azzar1)
summary: - [UIFe] Notification for livepatch are not shown.
+ Notification for livepatch are not shown.
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-notifier - 3.191

---------------
update-notifier (3.191) bionic; urgency=medium

  * src/update-notifier.h: Add LIVEPATCH_FILE and livepatch_pending.
  * src/update-notifier.c: Monitor the livepatch status file too
    and show notification if needed (LP: #1761841).

 -- Andrea Azzarone <email address hidden> Wed, 18 Apr 2018 17:38:22 +0100

Changed in update-notifier (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote :

Is the graphical-session.target working in Ubuntu 17.10?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.