[Pkg-xfce-devel] Bug#870207: light-locker-command --lock returns 0 without locking (breaks slock)

Daniel Shahaf danielsh at apache.org
Sun Jul 30 22:54:01 UTC 2017

Package: light-locker
Version: 1.7.0-3
Severity: serious
Justification: breaks unrelated software

Dear Maintainer,

On my system, 'light-locker-command --lock' returns 0 without doing
anything.  I presume that is because there no 'light-locker' process is
running (due to #858445).  In case it's relevant, I don't use lightdm
either; I login by running 'startx' in a vt.

That breaks the Ctrl+Alt+Del (lock screen) combination in xfce4, which
defaults to running xflock4.  xflock4 invokes a number of screen lockers
and exits whenever any one of them returns true:

    % sh -x /usr/bin/xflock4
    + PATH=/bin:/usr/bin
    + export PATH
    + xscreensaver-command -lock
    + light-locker-command --lock
    + exit
    (the screen did not lock)

Could the --lock option please learn to return non-zero when it did not
lock the screen.   This way, xflock4 would start working again.



P.S. My /usr/bin/xflock4 comes from xfce4-session/4.12.1-5.

-- System Information:
Debian Release: 9.0
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable'), (250, 'testing'), (200, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages light-locker depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.26.0-2+b1
ii  libc6                                        2.24-11+deb9u1
ii  libcairo2                                    1.14.8-1
ii  libdbus-1-3                                  1.10.18-1
ii  libdbus-glib-1-2                             0.108-2
ii  libglib2.0-0                                 2.50.3-2
ii  libgtk-3-0                                   3.22.11-1
ii  libpango-1.0-0                               1.40.5-1
ii  libpangocairo-1.0-0                          1.40.5-1
ii  libsystemd0                                  232-25
ii  libx11-6                                     2:1.6.4-3
ii  libxext6                                     2:1.3.3-1+b2
ii  libxss1                                      1:1.2.2-1
ii  lightdm                                      1.18.3-1

light-locker recommends no packages.

light-locker suggests no packages.

-- debconf-show failed

More information about the Pkg-xfce-devel mailing list