forked from rpms/openssh
Disable forking of ssh-agent on startup
Resoves: rhbz#2148555
This commit is contained in:
parent
ec2f61e2cf
commit
f4f5944e31
@ -746,6 +746,7 @@ test -f %{sysconfig_anaconda} && \
|
|||||||
%changelog
|
%changelog
|
||||||
* Thu Aug 03 2023 Dmitry Belyavskiy <dbelyavs@redhat.com> - 9.3p1-8
|
* Thu Aug 03 2023 Dmitry Belyavskiy <dbelyavs@redhat.com> - 9.3p1-8
|
||||||
- Split including crypto-policies to a separate config (rhbz#1970566)
|
- Split including crypto-policies to a separate config (rhbz#1970566)
|
||||||
|
- Disable forking of ssh-agent on startup (rhbz#2148555)
|
||||||
|
|
||||||
* Tue Aug 01 2023 Dmitry Belyavskiy <dbelyavs@redhat.com> - 9.3p1-7
|
* Tue Aug 01 2023 Dmitry Belyavskiy <dbelyavs@redhat.com> - 9.3p1-7
|
||||||
- Relax checks of OpenSSL version
|
- Relax checks of OpenSSL version
|
||||||
|
@ -10,10 +10,10 @@ Requires=ssh-agent.socket
|
|||||||
[Service]
|
[Service]
|
||||||
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
|
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
|
||||||
ExecStartPre=/usr/bin/rm -f $SSH_AUTH_SOCK
|
ExecStartPre=/usr/bin/rm -f $SSH_AUTH_SOCK
|
||||||
ExecStart=/usr/bin/ssh-agent -a $SSH_AUTH_SOCK
|
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
|
||||||
PassEnvironment=SSH_AGENT_PID
|
PassEnvironment=SSH_AGENT_PID
|
||||||
SuccessExitStatus=2
|
SuccessExitStatus=2
|
||||||
Type=forking
|
Type=simple
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
Also=ssh-agent.socket
|
Also=ssh-agent.socket
|
||||||
|
Loading…
Reference in New Issue
Block a user