Bug#303392: kdm: records each login twice in utmp/wtmp
Package: kdm
Version: 4:3.4.0-0pre2
Severity: normal
Each time a user logs in via kdm, the event is recorded twice in utmp
and wtmp. For example, here users carey and andrex are logged in on
VT7 and VT8:
$ w
09:29:38 up 1 day, 21:45, 4 users, load average: 0.19, 0.20, 0.20
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
carey :0 - Mon16 ?xdm? 1:54m 0.02s /bin/sh /usr/bi
carey :0 - Mon16 ?xdm? 1:54m 0.02s /bin/sh /usr/bi
andrex :1 - Mon20 ?xdm? 1:54m 0.04s /bin/sh /usr/bi
andrex :1 - Mon20 ?xdm? 1:54m 0.04s /bin/sh /usr/bi
$ last | head -4
andrex :1 Mon Apr 4 20:09 still logged in
andrex :1 Mon Apr 4 20:09 - 20:09 (00:00)
carey :0 Mon Apr 4 16:53 still logged in
carey :0 Mon Apr 4 16:53 - 16:53 (00:00)
carey and andrex didn't log in twice, just once each. last shows them
logging in, out, and back in again, while w shows them still logged in
twice.
Logins via ssh or login don't show this behavior.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages kdm depends on:
ii debconf 1.4.47 Debian configuration management sy
ii kdebase-bin 4:3.4.0-0pre2 core binaries for the KDE base mod
ii kdelibs4 4:3.4.0-0pre2 core libraries for all KDE applica
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.3-12 GCC support library
ii libpam-runtime 0.76-22 Runtime support for the PAM librar
ii libpam0g 0.76-22 Pluggable Authentication Modules l
ii libqt3c102-mt 3:3.3.3-8 Qt GUI Library (Threaded runtime v
ii libstdc++5 1:3.3.5-8 The GNU Standard C++ Library v3
ii libx11-6 4.3.0.dfsg.1-12.0.1 X Window System protocol client li
ii libxtst6 4.3.0.dfsg.1-12.0.1 X Window System event recording an
ii xbase-clients 4.3.0.dfsg.1-12.0.1 miscellaneous X clients
ii xlibs 4.3.0.dfsg.1-12 X Keyboard Extension (XKB) configu
-- debconf information:
kdm/stop_running_server_with_children: false
* shared/default-x-display-manager: kdm
kdm/daemon_name: /usr/bin/kdm
Reply to: