** Description changed: Impact ------ - There is a 90 second delay during the upgrade to gnome-remote-desktop (as in the upgrade from Ubuntu Desktop 22.04 LTS or 23.10 to 24.04 LTS) + There is a 90 second timeout delay during the upgrade to gnome-remote-desktop (as in the upgrade from Ubuntu Desktop 22.04 LTS or 23.10 to 24.04 LTS) + + More Details + ------------ + This SRU replaces the "automatic" postinst rules from dh_installsysusers and dh_installtmpfiles with custom postint rules that ensure that the sysusers and tmpfiles commands are run before dbus is reloaded. This is similar to what polkitd.postinst does but the new gnome-remote-desktop postinst is much simpler than what polkitd does. + + dh_installsysusers also adds + Depends: systemd | systemd-standalone-sysusers | systemd-sysusers. + (It appears like dh_installtmpfiles does not add similar dependencies). + + Because we only support systemd, I have manually added: + Depends: systemd | systemd-standalone-sysusers | systemd-sysusers, + systemd | systemd-standalone-sysusers | systemd-tmpfiles Test Case --------- + From Ubuntu Desktop 24.04 LTS: + 1. sudo apt remove gnome-remote-desktop + 2. sudo systemctl stop gnome-remote-desktop + 3. sudo deluser gnome-remote-desktop + 4. sudo rm -fr /etc/gnome-remote-desktop /var/lib/gnome-remote-desktop + + Those steps will undo adding the user that systemd-sysusers is + configured to add and undo adding the directories that systemd-tmpfiles + adds. + + Then install the update. Verify that the update happens at normal speed + without a long delay before completion. + + Alternate Test Case (Not Required) + ----------------------------------- + You could do an upgrade from 23.10 to 24.04 LTS but it requires much more time and attention to verify that there isn't an arbitrary delay while apt configures gnome-remote-desktop. Therefore, the other test case is recommended. What Could Go Wrong ------------------- + If a postinst command fails, then the system can be unable to finish installing gnome-remote-desktop. This can be a pain to clean up. In this case, the commands are protected by " || true". Other Info ---------- - This issue is a folllow-up for LP: #2063333 In that bug, gnome-remote-desktop wouldn't work at all for upgraders. + This issue is a follow-up for LP: #2063333 In that bug, gnome-remote-desktop wouldn't work at all for upgraders. + + This bugfix is being bundled with a new upstream release with more + testing LP: #2072771
** Changed in: gnome-remote-desktop (Ubuntu) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2072596 Title: long delay when first installing version 46 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-remote-desktop/+bug/2072596/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs