kdelibs point updates should suggest reboot

Bug #553182 reported by Harald Sitter on 2010-04-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kde4libs (Ubuntu)
Low
Harald Sitter
kubuntu-notification-helper (Ubuntu)
Low
Harald Sitter

Bug Description

On kdelibs point or minor version updates, a reboot noticfication should be triggered, so that the user hopefully reboots.

When upgrading kdelibs it is also indicating that all of the KDE SC is being upgraded, thus it is important the user at the very least logs out and back in again, to prevent runtime issues caused by a version mismatch of say a kded module and an application using that module. Also, without relogin not all fixes get applied.

Therfore upon upgrades kdelibs should trigger a reboot notification (or possibly one should introduce a new relogin notification type?).

This can be archived via maintainer scripts, by stripping the revision part of the versions (i.e. only get the source version) and then compare the old and new version using dpkg. There is however the problem that the maintainer scripts do not get called with both versions at the same time, so it is probably necessary to write the old version, via the old prerm script, to some file in /tmp, then read this file in the new postinst and depending on the comparision of old and new version either touch the reboot trigger file or not.

Changed in kde4libs (Ubuntu):
assignee: nobody → Harald Sitter (apachelogger)
importance: Undecided → Low
status: New → Triaged
Jonathan Thomas (echidnaman) wrote :

Probably what bug 848132 & friends is all about.

Changed in kubuntu-notification-helper (Ubuntu):
importance: Undecided → Low
assignee: nobody → Harald Sitter (apachelogger)
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kubuntu-notification-helper - 13.04ubuntu1

---------------
kubuntu-notification-helper (13.04ubuntu1) raring; urgency=low

  * Implement reboot on kdelibs upstream version changes (LP: #553182)
    kdelibs-bin is supposed to create /var/run/reboot-required-kdelibs in
    its postinst, containing the installed upstream version. If the version
    is different from the one the module was started with a reboot event
    is shown.
 -- Harald Sitter <email address hidden> Sun, 11 Nov 2012 17:17:31 +0100

Changed in kubuntu-notification-helper (Ubuntu):
status: Fix Committed → Fix Released
Changed in kde4libs (Ubuntu):
status: Triaged → In Progress
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kde4libs - 4:4.9.3-0ubuntu2

---------------
kde4libs (4:4.9.3-0ubuntu2) raring; urgency=low

  * Add kdelibs-bin.postrm to create a reboot notification trigger for
    kubuntu-notification-helper. Displaying of the notification is dependening
    on whether installed and running version are different (LP: #553182)
 -- Harald Sitter <email address hidden> Sun, 11 Nov 2012 17:30:55 +0100

Changed in kde4libs (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers