Repository navigation
docs: say where the daemon names a taken DNS port, and list UDP on Linux - #108
Open
loan-talvat wants to merge 1 commit into
Open
loan-talvat wants to merge 1 commit into
loan-talvat wants to merge 1 commit into
Conversation
Since 1.9.1 the daemon refuses to start when another program holds its DNS port, and its log names the port. The troubleshooting section now points to localify logs and quotes that line. On Linux, ss -tlnp lists TCP only, while the DNS port is UDP as well, so a program holding UDP 1053 did not show up: the 1053 check now uses ss -tulnp.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
1.9.1 made the daemon refuse to start when another program holds its DNS port, and name the port. The user guide didn't say where that message shows up, and the Linux check for port 1053 missed the case.
localify logs -n 20and quotes the line the daemon writes (Failed to open the DNS port 127.0.0.1:1053. Another program may hold it).localify startitself only says the daemon did not answer.ss -tlnplists TCP only. The DNS server binds UDP first, so a program holding UDP 1053 didn't show up. The 1053 line now usesss -tulnp.Checked
With the 1.9.1 Linux binary started the way systemd starts it (socket activation, ports moved to 18080/18443/11053 in a throwaway home) and a program holding UDP 11053:
localify logs -n 3showedFailed to open the DNS port 127.0.0.1:11053. Another program may hold it: check with lsof -nP -i :11053: Address already in use (os error 98);ss -tlnp | grep ':11053\b'printed nothing,ss -tulnpandlsof -i :11053showed the holder.