[Bug 1765485] [NEW] update-notifier-release notification is not shown

Brian Murray brian at ubuntu.com
Thu Apr 19 18:24:46 UTC 2018


Public bug reported:

[Impact]
Come to find out that the desktop's graphical-session.target is not working in Bionic nor in Ubuntu 17.10. The update-notifier-release check (.path and .service files) are part of that and subsequently are not working. These raise a dialog letting the user know of the availability of a new release of Ubuntu. They should be fixed for both releases.

[Test Case]
1) Run 'systemctl --user status update-notifier-release.path and observe that is dead

With the version of update-notifier from -proposed that service should
be active.  A complete test of the job involves:

1) Ensure /etc/update-manager/release-upgrades has Prompt=normal
2) Modify /usr/lib/systemd/user/update-notifier-release.service so that '-d' is passed to check-new-release-gtk (because bionic is still in development)
3) Run 'sudo touch /var/lib/ubuntu-release-upgrader/release-upgrade-available'
4) Observe a dialog regarding Ubuntu 18.04 being available

[Regression Potential]
The job is already broken and users won't get the check-new-release-gtk dialog about the next release. Its possible that since we are switching the .path job from graphical-session.target that check-new-release-gtk will be called when a user is not logged in and it will crash. However, that seems like an acceptable risk.

** Affects: update-notifier (Ubuntu)
     Importance: High
     Assignee: Brian Murray (brian-murray)
         Status: In Progress

** Affects: update-notifier (Ubuntu Artful)
     Importance: High
     Assignee: Brian Murray (brian-murray)
         Status: In Progress

** Also affects: update-notifier (Ubuntu Artful)
   Importance: Undecided
       Status: New

** Changed in: update-notifier (Ubuntu)
   Importance: Undecided => High

** Changed in: update-notifier (Ubuntu Artful)
   Importance: Undecided => High

** Changed in: update-notifier (Ubuntu Artful)
       Status: New => In Progress

** Changed in: update-notifier (Ubuntu)
       Status: New => In Progress

** Changed in: update-notifier (Ubuntu)
     Assignee: (unassigned) => Brian Murray (brian-murray)

** Changed in: update-notifier (Ubuntu Artful)
     Assignee: (unassigned) => Brian Murray (brian-murray)

-- 
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/1765485

Title:
  update-notifier-release notification is not shown

Status in update-notifier package in Ubuntu:
  In Progress
Status in update-notifier source package in Artful:
  In Progress

Bug description:
  [Impact]
  Come to find out that the desktop's graphical-session.target is not working in Bionic nor in Ubuntu 17.10. The update-notifier-release check (.path and .service files) are part of that and subsequently are not working. These raise a dialog letting the user know of the availability of a new release of Ubuntu. They should be fixed for both releases.

  [Test Case]
  1) Run 'systemctl --user status update-notifier-release.path and observe that is dead

  With the version of update-notifier from -proposed that service should
  be active.  A complete test of the job involves:

  1) Ensure /etc/update-manager/release-upgrades has Prompt=normal
  2) Modify /usr/lib/systemd/user/update-notifier-release.service so that '-d' is passed to check-new-release-gtk (because bionic is still in development)
  3) Run 'sudo touch /var/lib/ubuntu-release-upgrader/release-upgrade-available'
  4) Observe a dialog regarding Ubuntu 18.04 being available

  [Regression Potential]
  The job is already broken and users won't get the check-new-release-gtk dialog about the next release. Its possible that since we are switching the .path job from graphical-session.target that check-new-release-gtk will be called when a user is not logged in and it will crash. However, that seems like an acceptable risk.

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



More information about the foundations-bugs mailing list