[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#369686: kdm login impossible with /bin/zsh shell



Package: kdm
Version: 4:3.5.2-2+b1
Severity: important


If I create a new user having /bin/zsh as shell, or if an existing
user has /bin/zsh as shell, then login is impossible for them with
kdm: once the login prompt disappears after password has been entered
(normal), we get back into kdm again after a couple of seconds
(anormal). I don't know if it is a kdm or a bash issue. The only fix I
could find for this is to chsh to /bin/bash the users who used zsh. I
don't know whether the problem appears with other shells as well...

Actually, the log message in the /var/log/kdm.log shows something like
a bash error ("shell-init" string found in /bin/bash):
------------------------------
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
------------------------------

Here are my shell versions:
ii  bash     3.1-4                               The GNU Bourne Again SHell
ii zsh 4.3.2-9 A shell with lots of features


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.2-adeos
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages kdm depends on:
ii debconf [debconf-2.0] 1.5.1 Debian configuration management sy ii kdebase-bin 4:3.5.2-2+b1 core binaries for the KDE base mod ii kdebase-data 4:3.5.2-2 shared data files for the KDE base ii kdelibs4c2a 4:3.5.2-2+b1 core libraries for all KDE applica
ii  libc6                     2.3.6-7        GNU C Library: Shared libraries
ii  libgcc1                   1:4.1.0-4      GCC support library
ii libpam-runtime 0.79-3.1 Runtime support for the PAM librar ii libpam0g 0.79-3.1 Pluggable Authentication Modules l ii libqt3-mt 3:3.3.6-2 Qt GUI Library (Threaded runtime v
ii  libstdc++6                4.1.0-4        The GNU Standard C++ Library v3
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 libxdmcp6 6.9.0.dfsg.1-6 X Display Manager Control Protocol ii libxtst6 6.9.0.dfsg.1-6 X Window System event recording an
ii  xbase-clients             6.9.0.dfsg.1-6 miscellaneous X clients

Versions of packages kdm recommends:
ii  logrotate                     3.7.1-3    Log rotation utility

-- debconf information:
  kdm/stop_running_server_with_children: false
* shared/default-x-display-manager: kdm
  kdm/daemon_name: /usr/bin/kdm


--
David Decotigny -- http://david.decotigny.free.fr



Reply to: