-
Notifications
You must be signed in to change notification settings - Fork 253
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
Gas mask output A wrong hosts file #57
Comments
I reproduce it again, the following is the log, it only happend when it restore the /etc/hosts file.
|
I encountered the same issue, as described in this bug: #15, I have a combined hosts file activated which is combined with a local and remote file. |
Happens here too, after updating the remote file:
Repairable by setting the output (checkmark) to another file and then back again. |
I'm encountering the same issue. Is this how Gas Mask is supposed to work or a bug? Note that things appear to work fine when the hosts file is a list of of my list names; however, when I ping 'localhost' it points to somewhere else. 'Refreshing' the hosts file through Gas Mask manually fixes the hosts file and localhost correctly points to 127.0.0.1. |
I have the same problem here. It happens whenever Gas Mask changes the hosts file without user interaction. Namely when external hosts files are being updated or when the hosts file has been modified by some other application and Gas Mask restores the file. |
I helped myself for now by running this script so I am at least informed whenever the hosts file is damaged.
which is run every time the hosts file changes and every 5 minutes by a LaunchAgent. The script needs "terminal-notifier" from brew. |
Same issue here. (When using a combined hosts file) each time the remote hosts file is updated automatically in /etc, the new hosts file just reads: Remote/someonewhocares.org I can confirm that while the remote file in the Gas Mask folder (someonewhocares.org.hst) shows the latest update from someonewhocares.org/hosts/hosts, the one in /etc (above) has no apparent effect in blocking out sites, after some tests. Only by activating another hosts file in Gas Mask and then switching back again does the hosts file in /etc finally update properly (as someone has mentioned earlier). |
Does anyone NOT have this issue with the current version (0.8.5) and external hosts files? I'm wondering if it can be fixed with a complete reinstall or something like that. |
Try unchecking the "Override external modifications" checkbox. That resolved the problem for me. |
@fmera |
@PikachuEXE |
Thanks |
I used the Combined Hosts functionality, but sometimes it output the following pictures.
The text was updated successfully, but these errors were encountered: