https://bugs.kde.org/show_bug.cgi?id=522064
Bug ID: 522064
Summary: ssh-agent doesn't start after update to neon 6.7
(wayland)
Classification: KDE Neon
Product: neon
Version First unspecified
Reported In:
Platform: Neon
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Packages User Edition
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Target Milestone: ---
DESCRIPTION
I am using the classic ssh-agent instead of gpg-agent (cf. bug 506243). This
worked until I updated from KDE neon 6.6 to 6.7.
I am actually not sure how I made it work in the first place since that's a
long time ago. But probably similar to this guide
https://docs.krita.org/en/untranslatable_pages/setting_up_ssh_agent_on_kde_neon.html
STEPS TO REPRODUCE
1. systemctl --user status ssh-agent (is stopped)
2. systemctl --user start ssh-agent (doesn't complain)
3. pgrep ssh-agent (no ssh-agent running)
OBSERVED RESULT
ssh-agent doesn't start anymore after the update.
EXPECTED RESULT
ssh-agent should still work.
SOFTWARE/OS VERSIONS
Operating System: KDE neon User Edition
KDE Plasma Version: 6.7.0
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
Kernel Version: 6.17.0-35-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6300U CPU @ 2.40GHz
Memory: 20 GiB of RAM (19.4 GiB usable)
Graphics Processor: Intel® HD Graphics 520
ADDITIONAL INFORMATION
The package neon-settings-2 added the file
/etc/profile.d/org.kde.neon.ksshaskpass_auth_sock.sh which sets the env
variable SSH_AUTH_SOCK=/run/user/1000/ssh-agent.socket
The existing systemd units calls the script /usr/lib/openssh/agent-launch which
checks if that environment variable is already set and exits with a zero status
code in that case.
As a workaround I created the override file
$HOME/.config/systemd/user/ssh-agent.service.d/override.conf with the
following content:
```
[Service]
Environment=SSH_AUTH_SOCK=
ExecStartPost=ln -s openssh_agent /run/user/1000/ssh-agent.socket
```
Now I can start the agent again via systemctl --user start ssh-agent.
But since the file in profile.d was added there must be some other solution how
the agent should be started in KDE neon which is broken in my case.
--
You are receiving this mail because:
You are watching all bug changes.