![]() This is the output of brew services list: $ brew services listĭnsmasq started root /Library/LaunchDaemons/Īnd the output of ps, $ ps -e | grep -v grep | grep dnsmasq: 65 ? 0:02.31 /usr/local/opt/dnsmasq/sbin/dnsmasq -keep-in-foreground -C /usr/local/etc/nfįinally I made a test with dscacheutil: $ dscacheutil -q host -a name fullpipeumbrella. I set it up following some tutorials, this is my settings. Jun 11 10:45:33 MacBook-Pro (): Service only ran for 0 seconds. This is the log: Jun 11 10:45:33 MacBook-Pro (): Service exited with abnormal code: 2 Unfortunately it constantly crash and is resumed by launchd through brew services launch script. May immediately restart the job if launchd finds any criteria The expected use of this sub-Ĭommand is for debugging and testing so that one can manually Though start and stop subcommands are described as development test commands and not production commands and they are legacy subcommands too. ![]() ![]() Īnother hack to launch the dnsmasq job can be this one (taken from Using Dnsmasq for local development on OS X). Subcommands from the previous implementation of launchd are generallyĪvailable, though some may be unimplemented. We don't know when Apple will decide to deprecate them and what to give as a replacement. They are still there though from many years. flags: qr aa rd ra QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0Īnyway this should be considered an hack (at least this is my guess), in fact: first of all, there is brew services utility and the software is supposed to be launched by it second, launchctl man page states clearly that load and unload subcommands are legacy commands. >HEADER<<- opcode: QUERY, status: NOERROR, id: 10930 $ dscacheutil -q host -a name fullpipeumbrella.loc Now you can test dnsmasq response both with dig and dscacheutil. I found this solution in this article Brew install dnsmasq in macOS Sierra. Ok I’ll download it overnight and check tomorrow morning. ![]() $ sudo launchctl load -w /Library/LaunchDaemons/ According to Xcode Releases, Xcode 9.2 is the latest version that runs on Sierra. $ sudo launchctl unload -w /Library/LaunchDaemons/ I am running macOS 10.12.6 and I upgraded XCode 8.3.3 to XCode 9. Then you should first unload the launchd configuration file and then reload it. Currently have iMac 5k 2015, looking to build a hackintosh for gaming and iOS. A quick workaround is to stop the job through brew services stop dnsmasq. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |