Bug#213076: xdm: not checking for stale pid files
Package: xdm
Version: 4.2.1-6
Severity: normal
i just was entering single user mode from a running kde session started from
xdm. This worked fine, but after that, xdm did not start again. The reason
for this was, that xdm failed to delete the pid file on termination, and it
also failed to check the pid in the file for stale data.
X connection to :0.0 broken (explicit kill or server shutdown).
Sun Sep 28 09:13:28 2003 xdm info (pid 7293): shutting down
Sun Sep 28 09:13:29 2003 xdm info (pid 7293): shutting down
Sun Sep 28 09:13:30 2003 xdm error (pid 7293): display :0 (pid 2816) exited with unexpected status 7296
Sun Sep 28 09:13:30 2003 xdm info (pid 7293): shutting down
Sun Sep 28 09:13:31 2003 xdm info (pid 7293): shutting down
Sun Sep 28 09:13:33 2003 xdm info (pid 7293): shutting down
Sun Sep 28 09:13:35 2003 xdm info (pid 7293): exiting
Sun Sep 28 09:14:26 2003 xdm error (pid 6159): process-id file /var/run/xdm.pid indicates another xdm is running (pid 7293); exiting
As you can see, the xdm was logging the exiting, but did not removed the
pid. And after that it found the pid, but failed to notice that it was
stale.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux calista 2.4.20-xfs #15 Sat Jun 7 01:56:27 CEST 2003 i686
Locale: LANG=C, LC_CTYPE=en_US.ISO-8859-15
Versions of packages xdm depends on:
ii cpp 4:3.3.1-2 The GNU C preprocessor.
ii debconf 1.3.14 Debian configuration management sy
ii libc6 2.3.2-7 GNU C Library: Shared libraries an
ii libpam0g 0.76-14 Pluggable Authentication Modules l
ii libxaw7 4.2.1-6 X Athena widget set library
ii xbase-clients 4.2.1-6 miscellaneous X clients
ii xlibs 4.2.1-6 X Window System client libraries
-- debconf information:
shared/default-x-display-manager: xdm
xdm/stop_running_server_with_children: false
xdm/daemon_name: /usr/bin/X11/xdm
Reply to: