-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PAM integration and loginuid #2476
Comments
@vad Your workaround is accurate. At the moment Teleport does not support the This means if you are using auditd, this means the We're investigating how we can fix this. |
It would be good to add a hint about |
@vad @jkendzorra This should be fixed in Teleport 4.2. I tested it in 4.2.0-rc.1 and it appears to work. Can you give it a shot and tell me what you find? |
@russjones tested with 4.2.0-rc.2, can confirm it works for me, too. |
We pushed 4.2.0 yesterday, I'm going to close the issue now it's GA. |
I had random failure while deploying with capistrano and applying this workaround seem to have solve the issue and I'm running I will continue deploying many times and let you know. |
@zedtux I've also seen that issue with capistrano (and normal SSH) on all the 4.2 releases, though never able to reliably reproduce. Removing It think it's more noticeable with capistrano because each command opens a new ssh/teleport exec session, so if there's a 5% chance on every session and you run 20 commands via capistrano, there's a ~100% likelihood of the error occurring (I know probability is more complicated than that, but it illustrates the point :) ) |
@awly I created Zendesk ZD#1751 last month about this, with logs and setup config. |
Found it. |
Best: 3 |
@zedtux @sskousen I'm having a hard time reproducing this. Could you provide a few more details:
Also, if you could run |
|
Thanks! # client
$ for i in (seq 1000); tsh ssh [email protected] true || date; end
Failed to launch: Cannot make/remove an entry for the specified session.
error: Process exited with status 255
Thu 16 Jul 2020 02:56:52 PM PDT
Failed to launch: Cannot make/remove an entry for the specified session.
error: Process exited with status 255
Thu 16 Jul 2020 02:56:54 PM PDT
Failed to launch: Cannot make/remove an entry for the specified session.
error: Process exited with status 255
Thu 16 Jul 2020 02:57:08 PM PDT # server
$ tail -f /var/log/syslog | grep repeated
Jul 16 21:56:52 ubuntu systemd-resolved[505]: message repeated 143 times: [ Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.]
Jul 16 21:56:53 ubuntu systemd-resolved[505]: message repeated 107 times: [ Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.]
Jul 16 21:57:08 ubuntu systemd-resolved[505]: message repeated 863 times: [ Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.] A quick search suggests it has something to do with I'll keep digging. |
That's definitely a suspicious correlation. Systemd isn't on 14.04, and my company disables |
It's something memory related even. I'm starting to suspect it's a bug in |
Actually, I instrumented it wrong 🤦♂️ |
@webvictim yeah, found that one too. I'll try a few more things to localize the problem:
|
This was fixed. |
Thank you, I'll give it a try as soon as it is released! |
What happened:
Cannot open a teleport session with PAM enabled and loginuid.
Tsh output:
Teleport logs:
How to reproduce it (as minimally and precisely as possible):
Relevant teleport.yml:
A simple workaround is to comment out the
loginuid
line.Environment:
teleport version
):Teleport v3.0.1 git:v3.0.1-0-g4ff9a7b0
tsh version
):Teleport v3.0.1 git:v3.0.1-0-g4ff9a7b0
Ubuntu 18.04.1 LTS
The text was updated successfully, but these errors were encountered: