Am 17.07.2017 um 20:54 schrieb Robert Luberda: > 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@.service. > Downgrading systemd to 233-10 solves the bug for me (even though > getty@.service still contains the empty LC_ variables, but fortunatelly they > are not propagated to my terminals).
I'm not sure how the LC_*/LANG setting in getty@.service are relevant. Can you please elaborate? From what I understand, gpg-agent is started as a user service nowadays. What does systemctl --user show-environment systemctl --user status gpg-agent.service say? -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature