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

Brian Murray brian at ubuntu.com
Fri Apr 20 00:00:36 UTC 2018


** Description changed:

  [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.
+ 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. It will be fixed by restoring update-notifier's old behavior running check-new-release-gtk every couple of days which is sad!
  
  [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
+ 2) Modify /usr/lib/ubuntu-release-upgrader/check-new-release-gtk and set the --devel-release option to a default of "True" this is needed since bionic is still in development
+ 3) Use dconf-editor modify com.ubuntu.update-notifier.release-check-time and set the value to 0
+ 4) kill update-notifier
+ 5) run update-notifier --debug-new-release check
+ 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.
+ The job is already broken and users won't get the check-new-release-gtk dialog about the next release.

** Description changed:

  [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. It will be fixed by restoring update-notifier's old behavior running check-new-release-gtk every couple of days which is sad!
  
  [Test Case]
  1) Ensure /etc/update-manager/release-upgrades has Prompt=normal
  2) Modify /usr/lib/ubuntu-release-upgrader/check-new-release-gtk and set the --devel-release option to a default of "True" this is needed since bionic is still in development
  3) Use dconf-editor modify com.ubuntu.update-notifier.release-check-time and set the value to 0
  4) kill update-notifier
  5) run update-notifier --debug-new-release check
  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.
+ The job is already broken and users won't get the check-new-release-gtk dialog about the next release so this'll be an improvement although check-new-release-gtk will be run regularly.

-- 
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. It will be fixed by restoring update-notifier's old behavior running check-new-release-gtk every couple of days which is sad!

  [Test Case]
  1) Ensure /etc/update-manager/release-upgrades has Prompt=normal
  2) Modify /usr/lib/ubuntu-release-upgrader/check-new-release-gtk and set the --devel-release option to a default of "True" this is needed since bionic is still in development
  3) Use dconf-editor modify com.ubuntu.update-notifier.release-check-time and set the value to 0
  4) kill update-notifier
  5) run update-notifier --debug-new-release check
  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 so this'll be an improvement although check-new-release-gtk will be run regularly.

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