Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Tetonne opened this issue Aug 31, 2024 · 3 comments

Comments

@Tetonne
Copy link

Tetonne commented Aug 31, 2024

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
Copy link

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.

@DNSCrypt DNSCrypt deleted a comment Aug 31, 2024
@DNSCrypt DNSCrypt deleted a comment Aug 31, 2024
@lifenjoiner
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@Tetonne @lifenjoiner and others