Bug#876058: xvfb-run does not use /bin/bash in shebang line
Package: xvfb
Version: 2:1.19.3-2
Severity: normal
xvfb-run uses "#!/bin/sh" as its shebang line. This is wrong because
it uses bash-specific features like "trap on_cleanup EXIT". This is
especially broken when "#/bin/sh" links to "dash" (now the default
shell on debian systems).
This causes the Xvfb process to stick around when the child X client finishes.
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages xvfb depends on:
ii libaudit1 1:2.5.2-1
ii libbsd0 0.8.3-1
ii libc6 2.24-17
ii libgcrypt20 1.7.0-2
ii libgl1-mesa-glx [libgl1] 11.1.2-1
ii libpixman-1-0 0.33.6-1
ii libselinux1 2.6-3+b1
ii libsystemd0 234-2.3
ii libxau6 1:1.0.8-1
ii libxdmcp6 1:1.1.2-1.1
ii libxfont2 1:2.0.1-3
ii libxshmfence1 1.2-1
ii xserver-common 2:1.19.3-2
Versions of packages xvfb recommends:
ii xauth 1:1.0.9-1
xvfb suggests no packages.
-- no debconf information
Reply to: