[Pkg-shadow-devel] Bug#605329: login on console creates duplicate wtmp entry

Mark Hedges hedges at scriptdolphin.com
Sun Nov 28 22:26:24 UTC 2010


Package: login
Version: 1:4.1.4.2+svn3283-2
Severity: normal


My apologies if this is not the right package for this bug.
Please help figure out if this belongs in util-linux (for getty)
or consolekit.

Logging in on the console produces a duplicate wtmp entry:

maggie:~# last | grep root | head -n2
root     tty1                          Sun Nov 28 14:23   still logged in   
root     tty1                          Sun Nov 28 14:23 - 14:23  (00:00)    
maggie:~# ps axuw | grep tty1
root     30681  0.0  0.0   3032  1676 tty1     Ss   14:14   0:00 /bin/login --     
root     31297  0.0  0.1   5888  3072 tty1     S+   14:23   0:00 -bash
root     31317  0.0  0.0   3300   756 pts/5    S+   14:23   0:00 grep tty1

This is not the case for logins via X in a gksu gnome-terminal
on pts/*.  Those seem to work fine.

Thanks.

Mark


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
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 login depends on:
ii  libc6                         2.11.2-7   Embedded GNU C Library: Shared lib
ii  libpam-modules                1.1.1-6.1  Pluggable Authentication Modules f
ii  libpam-runtime                1.1.1-6.1  Runtime support for the PAM librar
ii  libpam0g                      1.1.1-6.1  Pluggable Authentication Modules l

login recommends no packages.

login suggests no packages.

-- no debconf information





More information about the Pkg-shadow-devel mailing list