Package: ukui-screensaver
Version: 4.20.0.0-2
Severity: normal
Tags: patch pending

Dear Maintainer,

ukui-screensaver currently installs the following LightDM configuration
file:

  /usr/share/lightdm/lightdm.conf.d/95-ukui-greeter.conf

The same path is also provided by the ukui-greeter package. To work
around this conflict, ukui-screensaver uses preinst and postinst
maintainer scripts to add and remove dpkg-divert entries.

This handling is unnecessary and makes ownership of the LightDM
configuration unclear. The package also installs a generic
ukui-greeter.desktop session name even though this session is provided
by ukui-screensaver for its X11 greeter mode.

The proposed fix:

  * uses 96-ukui-greeter.conf for the screensaver-provided configuration;
  * changes greeter-session to ukui-greeter-x11;
  * installs ukui-greeter-x11.desktop as the corresponding xgreeter
    session;
  * stops installing the obsolete lightdm-session-setup.sh script; and
  * removes the associated dpkg-divert handling from the preinst and
    postinst scripts.

The fix has been committed here:

https://gitee.com/openkylin/ukui-screensaver/commit/c429c956b644efb141355fdeddce336b5270689a

The issue was originally reported in Ubuntu:

https://bugs.launchpad.net/ubuntu/+source/ukui-screensaver/+bug/2150253

The fix is planned for ukui-screensaver 4.20.0.1-1.

Regards,
Pan

Reply via email to