Bug#868695: systemd: leaves empty LC_CTYPE what breaks X11 ssh password prompt

Robert Luberda robert at debian.org
Mon Jul 17 19:54:08 BST 2017


Package: systemd
Version: 234-1
Severity: critical
Justification: breaks unrelated software

I usually login on tty1 via getty and then switch to X via startx.
After recent upgrade of systemd  I can no longer ssh to any 
host in  X11, because gpg-agent (which is used instead of ssh-agent) 
fails to prompt for password, and the following error is shown instead:

 sign_and_send_pubkey: signing failed: agent refused operation
 Permission denied (publickey).

strace -f on gpg-agent process showed me this:

[pid  1794] <... read resumed> "OPTION lc-ctype=", 1002) = 16
[pid  1792] write(12, "\n", 1 <unfinished ...>
[pid  1794] read(6,  <unfinished ...>
[pid  1792] <... write resumed> )       = 1
[pid  1794] <... read resumed> "\n", 986) = 1
[pid  1792] read(9,  <unfinished ...>
[pid  1794] write(10, "ERR 536871188 IPC syntax error <"..., 81) = 81
[pid  1792] <... read resumed> "ERR 536871188 IPC syntax error <"..., 1002) = 81


Yes, LC_CTYPE and other LC_ variables are empty, because they are set
like this in /lib/systemd/system/getty at .service.
Downgrading systemd to 233-10 solves the bug for me (even though
getty at .service still contains the empty LC_ variables, but fortunatelly they 
are not propagated to my terminals).

Regards,
robert

-- Package-specific info:

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (990, 'unstable-debug'), (990, 'unstable'), (990, 'testing'), (990, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.11.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE= (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages systemd depends on:
ii  adduser         3.115
ii  libacl1         2.2.52-3+b1
ii  libapparmor1    2.11.0-6
ii  libaudit1       1:2.7.7-1+b1
ii  libblkid1       2.29.2-2
ii  libc6           2.24-12
ii  libcap2         1:2.25-1
ii  libcryptsetup4  2:1.7.3-4
ii  libgcrypt20     1.7.8-2
ii  libgpg-error0   1.27-3
ii  libidn11        1.33-1
ii  libip4tc0       1.6.1-2
ii  libkmod2        24-1
ii  liblz4-1        0.0~r131-2+b1
ii  liblzma5        5.2.2-1.3
ii  libmount1       2.29.2-2
ii  libpam0g        1.1.8-3.6
ii  libseccomp2     2.3.1-2.1
ii  libselinux1     2.6-3+b2
ii  libsystemd0     234-1
ii  mount           2.29.2-2
ii  procps          2:3.3.12-3
ii  util-linux      2.29.2-2

Versions of packages systemd recommends:
ii  dbus            1.10.20-1
ii  libpam-systemd  234-1

Versions of packages systemd suggests:
ii  policykit-1        0.105-18
pn  systemd-container  <none>

Versions of packages systemd is related to:
pn  dracut           <none>
ii  initramfs-tools  0.130
ii  udev             234-1

-- no debconf information



More information about the Pkg-systemd-maintainers mailing list