This bug was fixed in the package gnome-remote-desktop - 46.3-0ubuntu1
---------------
gnome-remote-desktop (46.3-0ubuntu1) noble; urgency=medium
* New upstream release (LP: #2072771)
* Use custom postinst to fix long delay when first installing 46
(Closes: #1070119) (LP: #2072596)
* Manually depend on systemd-sysusers & systemd-tmpfiles
* Refresh patch
-- Jeremy Bícha <[email protected]> Thu, 11 Jul 2024 11:32:56 -0400
** Changed in: gnome-remote-desktop (Ubuntu Noble)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-remote-desktop in Ubuntu.
https://bugs.launchpad.net/bugs/2072596
Title:
long delay when first installing version 46
Status in gnome-remote-desktop package in Ubuntu:
Fix Released
Status in gnome-remote-desktop source package in Noble:
Fix Released
Status in gnome-remote-desktop package in Debian:
Fix Released
Bug description:
Impact
------
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-sysusers,
systemd | 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 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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-remote-desktop/+bug/2072596/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp