Project

General

Profile

Actions

Bug #6129

open

TvHeadend will not start if Google DNS is not reachable

Added by Gergely Cs. about 3 years ago. Updated about 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2022-01-28
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-1991~g3ed76138a
Affected Versions:

Description

This is a huge issue, I think.
If tvhe cannot reach 8.8.8.8, then it will just stay there waiting, and not starting up, not logging anything at all.
I have pinned it down by using strace:
getuid() = 107
socket(AF_INET, SOCK_STREAM, IPPROTO_IP) = 7
fcntl(7, F_GETFD) = 0
fcntl(7, F_SETFD, FD_CLOEXEC) = 0
connect(7, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("8.8.8.8")}, 16

This should be avoided at all.
Steps to reproduce:
- Block 8.8.8.8 in firewall
- Start TvHeadend

Actions

Also available in: Atom PDF