DNSCrypt / dnscrypt-proxy

dnscrypt-proxy 2 - A flexible DNS proxy, with support for encrypted DNS protocols.
https://dnscrypt.info
ISC License
11.33k stars 1.01k forks source link

**Failure while executing; `/bin/launchctl bootstrap system /Library/LaunchDaemons/homebrew.mxcl.dnscrypt-proxy.plist` exited with 5.** #2687

Closed Tetonne closed 4 weeks ago

Tetonne commented 4 weeks ago

THE TRACKER IS DEDICATED TO KEEPING TRACK OF BUGS, preferably after they have been already discussed and confirmed to be reproducible.

FOR ASSISTANCE, PLEASE CLOSE THIS FORM AND USE THE DISCUSSIONS SECTION INSTEAD: https://github.com/DNSCrypt/dnscrypt-proxy/discussions/categories/q-a



Reported bugs must reproducible in the context described in the "Context" section.
MACOS Monterey with last dnscrypt-proxy (installed with brew, update and upgrade today)
brew services list are :
dnscrypt-proxy error  65280 root  ~/Library/LaunchAgents/homebrew.mxcl.dnscrypt-proxy.plist
dnsmasq        error  512   root  ~/Library/LaunchAgents/homebrew.mxcl.dnsmasq.plist
nginx          started      tetonne ~/Library/LaunchAgents/homebrew.mxcl.nginx.plist
privoxy        started      tetonne ~/Library/LaunchAgents/homebrew.mxcl.privoxy.plist
tor            started      tetonne ~/Library/LaunchAgents/homebrew.mxcl.tor.plist
unbound        none         root  

Installation and configuration issues are not bugs, but individual assistance request.

Context: the LATEST version of `dnscrypt-proxy` (precompiled binaries downloaded from this repository) is correctly installed and configured on your system, but something doesn't seem to produce the expected result.

If the bug is not trivial to reproduce on any platform, please include ALL the steps required to reliably duplicate it, on a vanilla, generic install of macOS, Windows, OpenBSD or Ubuntu Linux system, in their most current version.

If you don't have any clear understanding of the issue or can't enumerate the steps to reproduce it, open a discussion instead:
https://github.com/DNSCrypt/dnscrypt-proxy/discussions

## Output of the following commands:

./dnscrypt-proxy -version
2.1.5
./dnscrypt-proxy -check
[FATAL] Unable to load the configuration file [dnscrypt-proxy.toml] -- Maybe use the -config command-line switch?

./dnscrypt-proxy -resolve google.com
[FATAL] Unable to load the configuration file [dnscrypt-proxy.toml] -- Maybe use the -config command-line switch?

sudo brew services start dnscrypt-proxy
Warning: Taking root:admin ownership of some dnscrypt-proxy paths:
  /usr/local/Cellar/dnscrypt-proxy/2.1.5/sbin
  /usr/local/Cellar/dnscrypt-proxy/2.1.5/sbin/dnscrypt-proxy
  /usr/local/opt/dnscrypt-proxy
  /usr/local/opt/dnscrypt-proxy/sbin
  /usr/local/var/homebrew/linked/dnscrypt-proxy
This will require manual removal of these paths using `sudo rm` on
brew upgrade/reinstall/uninstall.
Bootstrap failed: 5: Input/output error
Error: **Failure while executing; `/bin/launchctl bootstrap system /Library/LaunchDaemons/homebrew.mxcl.dnscrypt-proxy.plist` exited with 5.**

here is the file.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>KeepAlive</key>
    <true/>
    <key>Label</key>
    <string>homebrew.mxcl.dnscrypt-proxy</string>
    <key>LimitLoadToSessionType</key>
    <array>
        <string>Aqua</string>
        <string>Background</string>
        <string>LoginWindow</string>
        <string>StandardIO</string>
        <string>System</string>
    </array>
    <key>ProcessType</key>
    <string>Background</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/local/opt/dnscrypt-proxy/sbin/dnscrypt-proxy</string>
        <string>-config</string>
        <string>/usr/local/etc/dnscrypt-proxy.toml</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
</dict>
</plist>

dnscrypt-proxy -config /usr/local/etc/dnscrypt-proxy.toml -check give 
[2024-08-31 09:17:36] [NOTICE] dnscrypt-proxy 2.1.5
[2024-08-31 09:17:36] [NOTICE] Source [relays] loaded
[2024-08-31 09:17:36] [NOTICE] Source [public-resolvers] loaded
[2024-08-31 09:17:36] [NOTICE] Configuration successfully checked
github-actions[bot] commented 4 weeks ago

This issue was automatically closed because it did not follow the issue template. We use the issue tracker exclusively for bug reports and feature additions that have been previously discussed. However, this issue appears to be a support request. Please use the discussion forums for support requests.

lifenjoiner commented 4 weeks ago

@KrissV2 Virus infected. Do NOT run any file from the link!