On Sat, 09 Jul 2011 14:31:38 -0300 =?utf-8?q?Fernando_Tarl=C3=A1_Cardoso_Lemos?= <fernandotcl@gmail.com> wrote:
> Package: ecryptfs-utils
> Version: 87-1
> Severity: critical
> Justification: breaks unrelated software
>
> Hi,
>
> I apologize if this bug should have filed against xdm instead.
>
> When ecrypfs-utils is set up to automount, xdm seems to work fine, but the
> window managers launched by it won't allow keyboard input.
>
> Steps to reproduce:
>
> * Install ecryptfs-utils and xdm (configure it as your DM, of course)
> * Set up an automounted ecryptfs with ecryptfs-setup-private
> * Reboot
>
> After those steps, you can log in and verify that keyboard input doesn't
> work. If you go to a VT and remove ~/.ecryptfs/auto-mount then reboot, it's
> fixed.
>
> It looks like the problem is in Ubuntu too [1]. According to [2], it doesn't
> happen with gdm. I think it could be related to PAM, maybe. It also looks
> WM-agnostic [3], although I didn't try a different WM.
>
> Please let me know if there's anything else I should test.
>
> [1]: https://bugs.launchpad.net/ubuntu/+source/xdm/+bug/783050
> [2]: http://cmeerw.org/blog/698.html
> [3]: http://www.mail-archive.com/dev@suckless.org/msg06229.html
>
> Thanks in advance,
>
>
> -- System Information:
> Debian Release: wheezy/sid
> APT prefers unstable
> APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.39-2-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages ecryptfs-utils depends on:
> ii gettext-base 0.18.1.1-3 GNU Internationalization utilities
> ii keyutils 1.4-5 Linux Key Management Utilities
> ii libc6 2.13-10 Embedded GNU C Library: Shared lib
> ii libecryptfs0 87-1 ecryptfs cryptographic filesystem
> ii libgpg-error0 1.10-0.3 library for common error values an
> ii libgpgme11 1.2.0-1.4 GPGME - GnuPG Made Easy
> ii libkeyutils1 1.4-5 Linux Key Management Utilities (li
> ii libnss3-1d 3.12.10-2 Network Security Service libraries
> ii libpam-runtime 1.1.3-2 Runtime support for the PAM librar
> ii libpam0g 1.1.3-2 Pluggable Authentication Modules l
>
> ecryptfs-utils recommends no packages.
>
> Versions of packages ecryptfs-utils suggests:
Hi,
This bug has been tagged moreinfo since 2011 and the 2014 ping got no
reply, and I could not find an xdm-side cause: xdm writes ~/.Xauthority
only after pam_open_session(), so after pam_ecryptfs has mounted the
home directory. xdm has since been updated from 1.1.10 to 1.1.17, and
1:1.1.17-3 now also sets up a fresh session keyring with pam_keyinit
before the common-session modules run.
I'm closing this report. If you (or anyone) still see missing keyboard
input after logging in through xdm with an ecryptfs-encrypted home on a
current system, please reopen it and include /var/log/xdm.log,
~/.xsession-errors and your /etc/pam.d/common-{auth,session}.
Best,
Boyuan Yang