Package: xdm
Version: 1:1.0.1-6
Severity: normal
Tags: patch
When /etc/init.d/xdm reload is run, it runs start-stop-daemon --stop --signal
1 --quiet $SSD_STOP_ARGS, which contain the command to send TERM signal to xdm
if it does not stop. This means that instead of reloading with new
configuration, xdm gets HUP signal and is killed immediately.
The solution would be to remove the --retry TERM/5/TERM/5 from the
start-stop-daemon's arguments, like this:
SSD_RELOAD_ARGS="--signal 1 --pidfile $PIDFILE --name $(basename $DAEMON)"
and later:
reload)
echo -n "Reloading X display manager configuration..."
- if start-stop-daemon --stop --signal 1 --quiet $SSD_STOP_ARGS; then
+ if start-stop-daemon --stop --quiet $SSD_RELOAD_ARGS; then
echo "done."
else
echo "xdm not running."
fi
;;
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=C, LC_CTYPE=cs_CZ.ISO-8859-2 (charmap=ISO-8859-2)
Versions of packages xdm depends on:
ii cpp 4:4.0.2-2 The GNU C preprocessor (cpp)
ii debconf [debconf-2.0] 1.4.72 Debian configuration management sy
ii libc6 2.3.6-7 GNU C Library: Shared libraries
ii libice6 6.9.0.dfsg.1-6 Inter-Client Exchange library
ii libpam0g 0.79-3.1 Pluggable Authentication Modules l
ii libselinux1 1.30-1 SELinux shared libraries
ii libsm6 6.9.0.dfsg.1-6 X Window System Session Management
ii libx11-6 6.9.0.dfsg.1-6 X Window System protocol client li
ii libxau6 6.9.0.dfsg.1-6 X Authentication library
ii libxaw7 6.9.0.dfsg.1-6 X Athena widget set library
ii libxdmcp6 6.9.0.dfsg.1-6 X Display Manager Control Protocol
ii libxext6 6.9.0.dfsg.1-6 X Window System miscellaneous exte
ii libxinerama1 6.9.0.dfsg.1-6 X Window System multi-head display
ii libxmu6 6.9.0.dfsg.1-6 X Window System miscellaneous util
ii libxpm4 6.9.0.dfsg.1-6 X pixmap library
ii libxt6 6.9.0.dfsg.1-6 X Toolkit Intrinsics
ii x11-common 6.9.0.dfsg.1-6 X Window System (X.Org) infrastruc
ii xbase-clients 6.9.0.dfsg.1-6 miscellaneous X clients
xdm recommends no packages.
-- debconf information:
* shared/default-x-display-manager: xdm
xdm/stop_running_server_with_children: false
xdm/daemon_name: /usr/bin/X11/xdm
Attachment:
signature.asc
Description: Digital signature