Package: xscreensaver-data
Version: 5.30-1+b1
Severity: normal

Dear Maintainer,

on a system with the barcode package installed, and the default set
of xscreensaver packages,

ii  barcode               0.98+debian-9.1
ii  xscreensaver          5.30-1+b1
ii  xscreensaver-data     5.30-1+b1
un  xscreensaver-gl       <none>
un  xscreensaver-gnome    <none>
un  xscreensaver-nognome  <none>

% which barcode
/usr/bin/barcode

xscreensaver ends up running /usr/bin/barcode rather than
the screensaver in /usr/lib/xscreensaver .

This is because the commands are named without absolute paths in
/etc/X11/app-defaults/XScreenSaver-nogl,

% grep -C3 barcode /etc/X11/app-defaults/XScreenSaver-nogl
- GL:                           antspotlight -root                          \n\
                                apple2 -root                                \n\
- GL:                           atunnel -root                               \n\
                                barcode -root                               \n\
- GL:                           blinkbox -root                              \n\
- GL:                           blocktube -root                             \n\
- GL:                           bouncingcow -root                           \n\

and the barcode saver is in xscreensaver-data-extra but is mentioned in the
app-defaults file from xscreensaver-data, so while it is not found in
/usr/lib/xscreensaver it is found later in $PATH.  As a result, my laptop
frequently ends up showing the usage message from /usr/bin/barcode rather than
a pleasing graphical screensaver.

Perhaps xscreensaver should only consider /usr/lib/xscreensaver when executing
the screensavers rather than falling back to $PATH, since there may be other
commands that are less benign when executed erroneously.  But I don't know
what the downsides of that approach might be ...

thanks,
-andy

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages xscreensaver-data depends on:
ii  libc6               2.19-19
ii  libgdk-pixbuf2.0-0  2.31.5-1
ii  libglib2.0-0        2.44.1-1.1
ii  libice6             2:1.0.9-1+b1
ii  libjpeg62-turbo     1:1.4.1-1
ii  libsm6              2:1.2.2-1+b1
ii  libwww-perl         6.13-1
ii  libx11-6            2:1.6.3-1
ii  libxext6            2:1.3.3-1
ii  libxmu6             2:1.1.2-1
ii  libxpm4             1:3.5.11-1+b1
ii  libxt6              1:1.1.4-1+b1

xscreensaver-data recommends no packages.

Versions of packages xscreensaver-data suggests:
ii  xscreensaver  5.30-1+b1

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to