Homebrew / homebrew-core

🍻 Default formulae for the missing package manager for macOS (or Linux)
https://brew.sh
BSD 2-Clause "Simplified" License
13.8k stars 12.47k forks source link

Knot Resolver 3.2.1 cannot start #35915

Closed camachat closed 5 years ago

camachat commented 5 years ago

Got this error: > cat /usr/local/var/log/kresd.log [system] error: standard input is not a terminal or pipe; use '-f 1' if you want non-interactive mode. Commands can be simply added to your configuration file or sent over the tty/$PID control socket. I think '-f 1' is needed to be added into "ProgramArguments".

camachat commented 5 years ago

Here is the patch to fix the problem. knot-resolver.diff.txt

fxcoudert commented 5 years ago

Can you please open a pull request?

crystalneth commented 5 years ago

Had same issue - found same resolution. Must add -f 1 to executable options.

camachat commented 5 years ago

Pull request has been created: https://github.com/Homebrew/homebrew-core/pull/36020

fxcoudert commented 5 years ago

Thanks!