Comment 8 for bug 1998254

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote (last edit ):

Well, verification is done, but with caveats.

Enabled Proposed and installed sddm 0.19.0-2ubuntu2.2 in Kubuntu jammy and upgraded via Plasma Discover, which uses PackageKit as a backend. Issue was not solved. Upon inspection, it looks like /usr/share/sddm/scripts/Xsetup was not patched or not applied. Inspected the package and the correct version existed, which meant the patch was applied. Further investigation via "sudo apt install --reinstall sddm" showed the following:

Configuration file '/usr/share/sddm/scripts/Xsetup'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ? Your options are:
    Y or I : install the package maintainer's version
    N or O : keep your currently-installed version
      D : show the differences between the versions
      Z : start a shell to examine the situation
 The default action is to keep your current version.
*** Xsetup (Y/I/N/O/D/Z) [default=N] ?

This means that PackageKit automatically uses the default (N) when updating via the Plasma Discover GUI. This points to a much larger (and possibly dangerous) situation where a package maintainer might need to update a more critical configuration file, such as something as security-sensitive as GRUB.

Enabled Proposed and installed sddm 0.19.0-3ubuntu1.1 in Ubuntu Studio kinetic and upgraded via "sudo apt install sddm". Got the above prompt, answered "Y", no issues.

The Lubuntu team tested upgrading using their lubuntu-update-notifier in Lunar and ran into an issue of their own in that their own (LP: #1998937) in that lubuntu-update-notifier cannot handle prompts for updating configs or scripts. This is being actively worked-on.

Neither the issue with Plasma Discover/PackageKit nor lubuntu-update-notifier point to a regression in this sddm patch. Furthermore, new users that install this are less likely to have an issue than those that are upgrading, so, for instance, users of Lubuntu, Kubuntu, and Ubuntu Studio 22.04.2 will greatly benefit from this patch as will users of 23.04.

Since the patch does indeed fix the issue as intended and that the issues raised indicate existing problems within those packages and not a regression caused by the sddm package, I'm marking this as "verification-done".