Updating tdnf to version 3.5.13-3.ph5 causes issue with SSH
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 692
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
After we had installed photon-hw15-5.0-dde71ec57.x86_64.ova we ran tdnf update to get the OS updated, after that we had issues connecting using SSH or SFTP.
When we try to connect you enter username and password, and the nothing happens for around 30 minutes when you finally get the standard prompt indicating that you have been logged in. This is an issue as most systems will timeout well before that time.
After going through and installing each package one by one, we figured out that the issue happens after the update to tdnf 3.5.13-3.ph5 is installed.
If we edit /etc/nsswitch.conf and remove dns from hosts we are able to login directly, but then it wont be able to lookup any host names unless we add them to /etc/hosts.
Reproduction steps
- Install photon-hw15-5.0-dde71ec57.x86_64.ova
- Run: tdnf update tdnf --assumeyes
- Reboot
- SSH to server
...
Expected behavior
No delay when after entering password to connect using SSH
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the photon-hw15-5.0-dde71ec57.x86_64.ova reproduction steps and compare SSH/SFTP behavior before and after running tdnf update tdnf --assumeyes. Inspect /etc/nsswitch.conf and the effect of removing dns from hosts, while checking the 30-minute login delay. Done means SSH connects promptly without losing hostname lookup.
Written by the indexing model from the issue text.
Assessment
- Domain
- networking, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100