Bug#478028: gdm: startup script fails
John A. Martin
jam at jamux.com
Sat Apr 26 13:10:12 UTC 2008
Package: gdm
Version: 2.20.5-1
Severity: normal
/etc/init.d/gdm fails with all arguments as follows with no action:
,----
athene:/home/jam# /etc/init.d/gdm restart
Stopping GNOME Display Manager: gdmathene:/home/jam#
`----
,----[ cat /etc/init.d/gdm ]
#! /bin/sh
### BEGIN INIT INFO
# Provides: x-display-manager gdm
# Should-Start: console-screen acpid dbus hal network-manager
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: GNOME Display Manager
# Description: Debian init script for the GNOME Display Manager
### END INIT INFO
#
# Author: Ryan Murray <rmurray at debian.org>
#
set -e
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/gdm
test -x $DAEMON || exit 0
if [ -r /etc/default/locale ]; then
. /etc/default/locale
export LANG LANGUAGE
fi
. /lib/lsb/init-functions
# To start gdm even if it is not the default display manager, change
# HEED_DEFAULT_DISPLAY_MANAGER to "false."
HEED_DEFAULT_DISPLAY_MANAGER=true
DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
case "$1" in
start)
CONFIGURED_DAEMON=$(basename "$(cat $DEFAULT_DISPLAY_MANAGER_FILE 2> /dev/null)")
if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ] && \
[ "$HEED_DEFAULT_DISPLAY_MANAGER" = "true" ] && \
[ "$CONFIGURED_DAEMON" != gdm ] ; then
log_action_msg "Not starting GNOME Display Manager; it is not the default display manager"
else
log_daemon_msg "Starting GNOME Display Manager" "gdm"
start_daemon $DAEMON
log_end_msg $?
fi
;;
stop)
log_daemon_msg "Stopping GNOME Display Manager" "gdm"
set +e
start-stop-daemon --stop --quiet --pidfile /var/run/gdm.pid \
--name gdm --retry 5
set -e
log_end_msg $?
;;
reload)
log_daemon_msg "Scheduling reload of GNOME Display Manager configuration" "gdm"
set +e
start-stop-daemon --stop --signal USR1 --quiet --pidfile \
/var/run/gdm.pid --name gdm
set -e
log_end_msg $?
;;
restart|force-reload)
$0 stop
$0 start
;;
*)
echo "Usage: /etc/init.d/gdm {start|stop|restart|reload|force-reload}"
exit 1
;;
esac
exit 0
`----
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gdm depends on:
ii adduser 3.107 add and remove users and groups
ii debconf [debconf-2.0] 1.5.21 Debian configuration management sy
ii gksu 2.0.0-5 graphical frontend to su
ii gnome-session 2.22.0-2 The GNOME 2 Session Manager
ii gnome-terminal [x-term 2.22.1-1 The GNOME 2 terminal emulator appl
ii libart-2.0-2 2.3.20-1 Library of functions for 2D graphi
ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit
ii libattr1 1:2.4.41-1 Extended attribute shared library
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libcairo2 1.6.4-1+b1 The Cairo 2D vector graphics libra
ii libdbus-1-3 1.2.1-1 simple interprocess messaging syst
ii libdbus-glib-1-2 0.74-2 simple interprocess messaging syst
ii libdmx1 1:1.0.2-2 X11 Distributed Multihead extensio
ii libfontconfig1 2.5.0-2 generic font configuration library
ii libfreetype6 2.3.5-1+b1 FreeType 2 font engine, shared lib
ii libglade2-0 1:2.6.2-1 library to load .glade files at ru
ii libglib2.0-0 2.16.3-2 The GLib library of C routines
ii libgnomecanvas2-0 2.20.1.1-1 A powerful object-oriented display
ii libgtk2.0-0 2.12.9-3 The GTK+ graphical user interface
ii libpam-modules 0.99.7.1-6 Pluggable Authentication Modules f
ii libpam-runtime 0.99.7.1-6 Runtime support for the PAM librar
ii libpam0g 0.99.7.1-6 Pluggable Authentication Modules l
ii libpango1.0-0 1.20.2-2 Layout and rendering of internatio
ii librsvg2-2 2.22.2-2 SAX-based renderer library for SVG
ii librsvg2-common 2.22.2-2 SAX-based renderer library for SVG
ii libselinux1 2.0.59-1 SELinux shared libraries
ii libwrap0 7.6.q-15 Wietse Venema's TCP wrappers libra
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxau6 1:1.0.3-2 X11 authorisation library
ii libxdmcp6 1:1.0.2-2 X11 Display Manager Control Protoc
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
ii libxi6 2:1.1.3-1 X11 Input extension library
ii libxinerama1 2:1.0.3-1 X11 Xinerama extension library
ii libxml2 2.6.32.dfsg-2 GNOME XML library
ii lsb-base 3.2-10 Linux Standard Base 3.2 init scrip
ii metacity [x-window-man 1:2.22.0-1 A lightweight GTK2 based Window Ma
ii sawfish [x-window-mana 1:1.3.3-1 a window manager for X11
ii xterm [x-terminal-emul 235-1 X terminal emulator
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
Versions of packages gdm recommends:
ii dialog 1.1-20080316-1 Displays user-friendly dialog boxe
ii gdm-themes 0.5.1 Themes for the GNOME Display Manag
ii whiptail 0.52.2-11.2 Displays user-friendly dialog boxe
ii xnest 2:1.4.1~git20080131-3 Nested X server
ii xserver-xephyr 2:1.4.1~git20080131-3 nested X server
ii xserver-xorg 1:7.3+10 the X.Org X server
ii zenity 2.22.1-1 Display graphical dialog boxes fro
-- debconf information:
gdm/daemon_name: /usr/bin/gdm
* shared/default-x-display-manager: gdm
More information about the pkg-gnome-maintainers
mailing list