Bug #14247
Increase systemd timeout for unresponsive DNS systems
Difficulty:
Triaged:
No
Description
During proxy startup, there is some DNS communication behind the scenes apparently. On a system with misconfigured DNS (e.g. "nameserver" in resolv.conf points to non-responding system) smart proxy startup times out and systemd kills the process. But when started without systemd it works just fine.
We need to set TimeoutSec to "infinity" to disable this behavior.
I was searching the codebase and I am unable to tell which line is causing the DNS communication.
Related issues
Associated revisions
History
#1
Updated by The Foreman Bot about 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-packaging/pull/1065 added
#2
Updated by The Foreman Bot about 7 years ago
- Pull request https://github.com/theforeman/foreman-packaging/pull/1066 added
#3
Updated by Dominic Cleal about 7 years ago
- Project changed from Smart Proxy to Packaging
- Category deleted (
Packaging)
#4
Updated by Lukas Zapletal about 7 years ago
- Project changed from Packaging to Discovery
- Category set to Image
- Status changed from Ready For Testing to New
- Pull request deleted (
https://github.com/theforeman/foreman-packaging/pull/1066, https://github.com/theforeman/foreman-packaging/pull/1065)
#5
Updated by The Foreman Bot about 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-discovery-image/pull/69 added
#6
Updated by Lukas Zapletal about 7 years ago
- Status changed from Ready For Testing to Rejected
This was a misconfiguration on the fdi.
#7
Updated by Lukas Zapletal over 6 years ago
- Is duplicate of Bug #16087: Foreman-proxy not started on discovery image 3.1.2 added
Fixes #14247 - prevents proxy from timing out during startup